ProcessPublishData - 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)

Description

This method is called by EFServiceManager and needs to be implemented to modify, add, or remove information from the data to be published before transmitting to SmartPlant Foundation. This implementation can also validate the published data and raise messages during the publish process. It can also update the publish progress bar with the status of each step.

By implementing this method, you can achieve the following:

  • Modify or add information to the published data that cannot be handled by the tool adapters.

  • Filter and limit information from the data being published.

  • Calculate additional information based on the publishing application data, such as finding the beginning P&ID number for a pipeline.

  • Manipulate data to represent special business rules.

  • Validate data and raise an "invalid" state to EFClient to stop the publish process.

    • To log messages, make sure MessageIContainer is set, and add the messages to MessageIContainer. The messages are saved to a log file.

    • To display progress steps in the publish progress bar, implement ListOfProgressSteps(). For each step, call StepProgressBegin(stepName) before, and StepProgressEnd(stepName) after. Use the member variable of type IEFCustomPublishEventHandler with SetEventHandlerObj().

    • For a sample implementation, see Sample Implementation (IEFCustomPublish).

Arguments

Name

Data type

Input/output

Description

oDocumentIObject

IObject

Input

IObject interface on the document object.

oDocIContainer

IContainer

Input/Output

Document container.

oDocMetalContainer

IContainer

Input/Output

Document meta-data container.

oMapSchContlContainer

IContainer

Input

Optional. Maps the schema container.