Text templates may contain link templates. Link templates are Knowledge formulas containing strings which are used to specify that part of the text should be replaced by a feature's attribute value when instantiating the text template. Link template formulas are made up of a Type name, as well as the Attribute name of this Type. Thus, for an object which supports a given type, you can replace the link template by an attribute link to the parameter returned as the feature's attribute value. Text templates may also be texts without links (for example, a work instruction), or may contain simple attribute links (which will not be re-routed when instantiating the text template). Refer to Adding Attribute Links to Text for more information on this particular topic. You can create texts using text templates: this is also known as "instantiating". In the case of text templates containing link templates, each link template is replaced in the annotation by an instantiated link to the feature indicated during the instantiation. Structure of a text template containing a link template:
Text: <Type.Attribute> Example of a text template containing a link template:
Part number: <Product.PartNumber> Example of an instantiated text template containing a link template:
Part number: Part1
|