|
|
|
|
|
BlueCielo Web Parts 2012 Administrator's Guide | BlueCielo ECM Solutions |
Called when the function configured for the CanPublishDocument setting does not return False and a BlueCielo Web Parts user selects the Publish command in a SharePoint library. The name of the function is configured in the SharePoint site web.config file as described in Configuring the Publish function names.
PublishDocument (DocumentID)
| Name | Description |
|---|---|
|
DocumentID |
The ID of a document to be published. |
This function should, at a minimum, set the property configured for the PublishStatusProperty setting described in Configuring the Publish function names to 1 to indicate that the document is published.
Function PublishDocument()
Document.Property("Custom.PublishStatus") = 1
Document.Log("Published")
Set PublishDocument = Nothing
End Function
|
Copyright © 2000-2012 BlueCielo ECM Solutions |