Map view definitions to the Microsoft Word document - 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)

An XML control file is used to link the content controls in the Microsoft Word document to the view definitions in SmartPlant Foundation.

As seen in the following example, the XML file has four basic sections, which are described in the table below.

1

The <ViewDef> nodes allow you to list all the view definitions that can provide data to the report. For each of these nodes, you will provide the name of one view definition using the syntax in this example, ViewDef Name = "ExternalXmtlReportViewDef".

You can configure one or more view definitions.

2

Each <Controls> node represents one content control in the Microsoft Word document, not displayed in a table, and links it to a specific view definitions using the following syntax: <Controls source="ViewDefinitionName.ViewDefinitionPropertyName" target="TagName"/> where TagName is the Tag property of the control in the Microsoft Word template file.

3

If the Microsoft Word document includes data to be displayed inside a table, use the <Tables> node to group all table information together inside specific <Table> nodes for each table in the template.

The <ViewDef> attribute value can be configured to populate the control in a table of the Microsoft Word file with the view definition and the <source> attribute with names of both properties.

If you have added additional parameters in the Document Naming System module, then you need to manually add them to the Microsoft Word template and also to the XML control file.