ISPAdapter7 Interface - 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)

This interface is for delta publish, which is concealed from the user and applies only to Smart Review documents. In delta publish, only the first publish for a document publishes the entire document. After the first publish, only changes in the document need to be published, though additional full publishes are allowed. The first publish may be done in a single piece or in several pieces. The published document has a new version and is retrievable after the changes are merged with the previous version of the document, if one exists.

If the tool SmartPlant adapter has implemented ISPAdapter7, the ISPCLCommonUIApplicationUI.ShowPublishDialog dialog box allows the user to choose a publish type of All or Changes Only. After you choose the publish type and select one or more documents to publish, ISPCLServiceManager checks whether the tool's ISAdapter has implemented ISPAdapter7. If the tool has implemented ISPAdapter7, ISPCLServiceManager calls the ISPAdapter7.PublishDocument method for each document the number of times specified by ISPAdapter7.GetPublishCount.

ISPCLServiceManager gets the IObject, IDocument, IIssueRecordComposition, and IDocVersionComposition interfaces and populates the properties on the IObject and IDocument interfaces before calling this method. ISPCLServiceManager calls the new object validation rather than the old document validation for delta publish and SmartShare.

If ISPAdapter7.PublishDocument returns ePublishTypes.Full as the publish type and ISPAdapter7.GetPublishCount returns 1 as the quantity of publishes and ePublishTypes.Full as the publish type, this interface also allows the tool to specify tombstones (instructions) to be published for non-delta publishing.