This procedure generates an XML file that creates the custom PBS components in the authoring schema and a new PBS authoring tool map schema. In addition, this step creates new PBS methods, forms, and menu items.
-
Find the CMF you modified in the Desktop Client (Find > Integration > Schema Documents).
-
Right-click the CMF file version (CMF_Ver), and click Launch CMF File manager (PBS).
The component schema and prefix are populated from the associated method.
-
Select the Combined Authoring and DW database option.
-
Click Load.
One node should appear in the tree view.
-
Expand the PBSComponent node.
-
Make sure the Inherit Clicked Item option is selected.
-
Select PBSComponent to select all items.
You can unselect items that are not needed for export, but always include PBSComponent and PBSDocument. For example, if you are implementing a new structure of plant/unit/system/subsystem, you should find and clear the check box beside FunctionalArea to ensure that menu items and forms for creating and managing areas are not added back to the Desktop Client user interface.
-
Click Export.
-
Close the CMF File Manager dialog box.
This operation generates the schema, some basic SmartPlant Foundation administration objects, and a tool map schema file with mappings to the SmartPlant schema. This information is contained within seven files in the output directory.
File name |
Description |
Comments |
---|---|---|
SPF_01_AuthoringSchema.xml |
SmartPlant Foundation PBS authoring schema |
This contains the sub-schema for the new PBS hierarchy. |
SPF_02_AuthAdminData.xml |
New PBS Methods and Menus |
This file holds the methods and menus configuration (used to display your new item in the authoring environment). |
SPF_03_AuthFormInstruction.xml |
PBS Form Instructions |
The instructions to generate forms for newly generated objects. |
SPF_04_DWAdminData.xml |
Data Warehouse Methods and Menus |
Optional - only required if you want to see the data as it is loaded in the data warehouse. |
SPF_05_DWFormInstruction.xml |
Data Warehouse Form Instructions |
Optional - only required if you want to see the data as it is loaded in the data warehouse. |
SPF_SelectedItems.xml |
Copy of Selected Items |
Do not load - contains the classes selected that form the new hierarchy. You can use this file to see what classes were selected when the export was done. |
ToolMapSchema_SPF.xml |
New PBS Tool Map Schema |
Do not load - contains an updated version of the map filed used by the SmartPlant Foundation Desktop Client to publish the PBS document, based on the PBS schema information in the CMF file. |