Recreate one thumbnail only
See Scripts and page thumbnails.
Recreate thumbnails by option
To recreate more thumbnails, consider the possibility to delete them and then to allow directory style to recreate them automatically (the below example shows how to delete thumbnails created by 'Default' option):
cmd4 spike –conditions gn4:pagePreview[@optionsName=’Default’] -userName xxxx -password yyyy
where xxxx is the name of a GN4 user who can logon to system with sufficient permissions to perform this operation and yyyy is the password.
Note: the above connects to the default connection: should you want to specify the connection or server name, see cmd4 examples.
Should you have more options in use (e.g. in work state - dependent thumbnails), issue one command for each option.
Recreate all thumbnails
To recreate all thumbnails, delete them and then to allow directory style to recreate them automatically:
cmd4 spike –conditions gn4:pagePreview -userName xxxx -password yyyy
where xxxx is the name of a GN4 user who can logon to system with sufficient permissions to perform this operation and yyyy is the password.
Note: the above connects to the default connection: should you want to specify the connection or server name, see cmd4 examples.
See also
Configuring page thumbnails in 1.5 or newer