![]() |
Previous | Next |
The ValidatePublishPresentation method determines whether the presentation can be published with the current settings. This method returns a value indicating whether the presentation can be published without overwriting a presentation of the same name that already exists in the chosen publish destination.
Syntax
Application.Publisher.ValidatePublishPresentation()
Parameters
This method takes no parameters.
Return Values
This method returns a Boolean.
Remarks
A call to this method should be placed within a JScript try/catch block. If the presentation cannot be published with the current settings, an error will be generated, and the Error object can be used to display a message indicating the problem.
If the presentation is valid, on the other hand, the method returns a value indicating whether an existing presentation with the same name will be overwritten if the new presentation is published.
See Also
Previous | Next |