Load the updated schema file into SmartPlant Foundation - Integration - Update 44 - Help - Hexagon

Integration Help

Language
English
Product
Integration
Search by Category
Help
Smart 3D Version
12.1 (2019)
Smart Construction Version
2019(7.0)
SmartPlant Foundation / SDx Version
10
Smart Electrical Version
2019 (9.0)
Smart Materials/Smart Reference Data Version
2020 (10.0)
Smart P&ID Version
9 (2019)
Smart Review Version
2020 (15.0)
Smart Engineering Manager Version
10 (2019)
Smart Interop Publisher Version
13.1 (2019 R1)
Smart Isometrics Version
7.0(2019)
Spoolgen Version
9.0(2019)

Before you can see the custom properties on a published drawing, you must load the updated schema files into SmartPlant Foundation, which involves the following high-level tasks:

  • Check in the EFSchema.cmf file into SmartPlant Foundation Desktop Client.

  • Extract the changes to the SmartPlant schema file into an XML file for loading using the Launch CMF File Manager (XML) feature.

  • Load the SmartPlant Schema changes into the SmartPlant Foundation database using the Schema Import Wizard.

  • Load the contents of the Schema_EFCustom file into the database using the Schema Import Wizard.

  • Regenerate the component schemas.

Check in the updated CMF file

  1. Open the SmartPlant Foundation Desktop Client.

  2. Click Find > Integration > Schema Documents.

  3. Click OK on the Find Schema Documents dialog box to find the CMF file.

  4. Right-click the checked-out CMF file, and click Edit > Check In.

  5. Click OK to close the Check in dialog box and store the updated CMF file in the database.

Extract the schema file to load

  1. Right-click the newest version of the CMF_Ver document, and click Launch CMF File Manager (XML).

  2. Select the CMF file from the Input files list.

  3. Verify that the latest configuration is selected in the CMF list under Available configurations.

  4. Click Export to create an XML file with the schema information for the selected configuration.

    SHARED Tip By default, the output directory is the My Documents folder for the current user.

Load SmartPlant schema changes into the database

  1. In the Desktop Client, click Administration > Schema Import Wizard.

  2. In the Schema Import Wizard dialog box, under Select compare context, click Compare content of selected files against all database items with a matching container ID.

    SPF_SchemaEditor_DLG_ImportWizard

  3. Click Browse beside Select external schema file, and browse to the schema file in the output folder defined in the Output path box in the Build Support dialog box.

  4. Click Next.

  5. In the Select changes to load table, select the schema changes you want to load into the SmartPlant Foundation database, and then click Next.

    SPF_SchemaEditor_DLG_ImportWizard2

  6. Under Review Changes, review the schema changes, and then click Finish.

    SPF_SchemaEditor_DLG_ImportWizard3

    If you want to see your new schema information in the Desktop Client, it must be available in a view definition. You should create the view definition in the Schema Editor prior to importing.

Load the Schema_EFCustom file into the database

  1. Click Administration > Schema Import Wizard.

  2. Under Select compare content, click Compare content of selected files with the database.

  3. Click Browse beside Selected external schema file, and locate the Schema_EFCustom file.

  4. Click Next.

  5. In the Selected changes to load table, select the schema changes you want to load into the database, and click Next.

  6. Under Review Changes, review the schema changes, and click Finish.

Regenerate the component schemas

  1. Right-click the latest version of the CMF file.

  2. On the shortcut menu, click Regenerate Schema Files.

    This command creates a scheduler task that regenerates the component schema files based on the information in the current version of the CMF.

  3. Verify the Published File Scheduler is started so that the component schema files can be generated.

This command generates the SmartPlant component schemas in the location defined for your site in Server Manager.

This process can run in the background while you proceed with other operations; however, it must be completed before you attempt to publish or retrieve from an authoring tool.

View the results of a publish

After you publish a Smart P&ID drawing with the newly added custom properties, you can see them in the Properties window in SmartPlant Foundation Desktop Client.

CustomPropertiesDTC