Methods to Delete a Published Document - Integration - Update 44 - Help - Hexagon

SmartPlant Integration COM 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 methods GetDocumentListContainerForDocumentDelete, DeleteDocuments, and ReleaseDeleteDocumentListContainer are added for tools to call when a published document is deleted in the tool environment. When one or more tool documents are deleted in the tool database, it should be possible to delete/terminate the same documents in SmartPlant Foundation.

These three methods should be called in the order they are listed. The first method, GetDocumentListContainerForDocumentDelete creates the necessary Schema Component container structure. The tool will add the deleted document objects to the container and will call the DeleteDocuments method for documents to be deleted/terminated in SmartPlant Foundation. Then the third method, ReleaseDeleteDocumentListContainer must be called to release the Schema Component containers created in the GetDocumentListContainerForDocumentDelete method.