Preparing the schema load file - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

A new base SmartPlant schema file needs generating to replace the delivered one in the Product Directory \Models\SPF\Core folder to support the writing of customization code. If the published schema was modeled in the CMF file directly then this file is also used for loading the published schema into the SmartPlant Foundation database.

  • Use the Launch CMF File Manager (xml) command from the shortcut menu of the CMF document in SmartPlant Foundation to generate the schema xml file. For more information, see Extending the Integration Schema.

  • Accept the defaults in the dialog box and make a note of where the schema file is generated.

    • This adds the following SmartPlant Foundation interfaces to the published schema tag class definition:

      ISPFClaimableItem - Not needed.

      ISPFClaimedItem - Not needed.

      ISPFTEFClaimedItem - Not needed; may be used in the future.

      ISPFTEFClaimableItem - Not needed; may be used in the future.

      ISPFMergableItem - Not needed.

      ISPFMergedItem - Not needed.

      ISPFTEFPublishedItem (also added to the published document)

    • It also sets SPFIsConfigurationControlled="True" on all the class definitions.

  • This creates a file called SCHEMA_EFSchema-Gen.xml from the CMF file and additional files for any pseudo files used.

  • These files need to be moved to replace the delivered files in the Product Directory \Models\SPF\Core

Now the EFSchema-Gen.xml schema file and exported pseudo files can be loaded into SmartPlant Foundation.