UpdateEvalState()

Syntax:

UpdateEvalState()

Remarks:

This function will update the current evaluation state of the publication. This function is primarily useful when working for the time-based evaluation expiry.

Note:
Updating the evaluation state will not automatically cause the publication to expire or go to any expiry page. It simply updates the PUBLICATION_EVALUATION system variable with the correct information. You can then script actions based on the value in that variable or run an update to the evaluation state.

 

image\Script_Button.jpgExamples