FindDocsToPublish As Long - Integration - Update 46 - Help - Hexagon

SmartPlant Integration .NET Help

Language
English
Product
Integration
Search by Category
Help
SmartPlant Foundation / SDx Version
10
Smart P&ID Version
9 (2019)
Smart Engineering Manager Version
10 (2019)

The Find Documents to Publish command on the design tool menu implements FindDocsToPublish to find if there are any documents to publish since the last publish in the current plant context. The method displays the Find Documents To Publish dialog box.

Some tools (Smart P&ID, for instance) keep track of documents published and documents modified since the last publish. In this scenario, SPCLCommonUI communicates with ISPAdapter to get a list of documents to publish from the tool. If the tool does not support this feature, then SPCLCommonUI performs a comparison of document XMLs in SmartPlant Foundation with the XMLs generated by the tool, to come up with a list documents to publish. This comparison is done asynchronously.

Arguments

None.

Return Value

  • 0 if method is successful.

  • A negative number if method fails (check the LastErrorMessage property for error message).

Comments

None.