Create the publish schema for the items and document to be published. See How to Configure SmartPlant Foundation Authoring.
-
Make sure the objects being published have a unique interface.
-
Re-use as much of the EF Schema interfaces as possible, as this makes mapping much easier.
-
The object class definition must realize the interfaces ISPFTEFPublishedItem and INonDrawingItem.
-
The model definition for the object class definition should be PlannedMaterialModel.
-
If the published data is to be correlated with data published from other tools, then the class definition needs to be related to a shared object definition (for example, SharedEquipment_PM).
-
The published document class definition should realize the IDocument, IDocumentVersion, IDocumentRevision, IDocVersionComposition, INonDrawingItem and ISPFTEFPublishedItem interfaces.
-
The model definition for the document class definition should be WorkBreakDownModel.
-
The objects are related to the published document via the NonDrawingItemCollection relationship definition using the INonDrawingItem interface.