Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the publishing status to the specified value.
Syntax
public boolean trySetPublishingStatus(ProcureCatalogPublishingStatus _newStatus)
Run On
ClientOrServer
Parameters
- _newStatus
Type: ProcureCatalogPublishingStatus Enumeration
The new status.
Return Value
Type: boolean
true if new status was set and persisted to database successfully; otherwise, false.
Remarks
This method calls the canSetPublishingStatus method first, and, if true, calls the setPublishingStatus method.
An informational message will be shown if true is to be returned; otherwise, a warning message will be shown.