TeamcenterKnowledge

Configuring Systems Engineering > Customizing Word export templates

Content rule for specification templates and object templates

You can specify a rule in the specification export template documents and object templates. This rule determines which objects are exported.

Rule: Export dynamic structure using transfer mode

Purpose: Processes the specified transfer mode to obtain a list of secondary linked objects when a selected object is processed for export. Secondary objects are exported as children of the selected object.

Rule format: {%Rule:Selection.Export.TM.My-Transfer-Mode}

You can add the text of a property of a referenced object with a rule of pattern: {%Rule:Selection.Export.TM.My-Transfer-Mode.<property_of_found_item>}

If more related objects are found, the line with the rule is repeated completely for every found object.

Example: If the template contains a line such as Prefix {%Rule:Selection.export.TM.Req_default_TM.item_id} tail., the output for an object with two related objects is two lines:

Prefix 0001234 tail
Prefix 0000345 tail

This duplication also occurs if the phrase is in a table cell.

Syntax rules for content rules

  • Do not include spaces.
  • Multiple content rules are allowed in a template.
  • Only the transfer mode name is case sensitive; other parts of the rule are not.
  • Ensure the transfer mode name and other parts of the rule are spelled correctly — the transfer mode name must exist.
  • Text following the rule on the same line is not exported.
  • If specifying multiple rules, put each rule on a separate line.
  • If content rules are created in a table, only one content rule is allowed per cell.
  • If a rule is entered twice in the same template, it is executed only once (the second occurrence is ignored).
  • If a rule is specified in both the specification template and the object template, it is executed twice.

Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.plm00038/spec_export_temp_content_rules · retrieved Fri Jul 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time)