link
- Last Updated: May 13, 2026
- 1 minute read
- Semaphore
- Documentation
The template link attribute is used to generate a Link rule and its Label attribute.
A Link rulebase rule allows scoring to be passed from within a single concept, or from one concept to other concepts.
Like the template label attribute, the link attribute typically uses variables that are then used to generate actual values in the generated rulebases.
Variables are used in the template link attribute so that unique labels can be generated in rulebases. Unique labels are desired so that the scores from the correct concepts are passed. In the template, if actual values were ‘hardcoded’, then multiple concepts would have the exact same label generated in the rulebases.
Depending on the template rule the link attribute is used on, it will use one or the other of the two variable formats. For the True rule, it is referencing rules within the current concept. Therefore, the format of the variables are the Current Concept Context variables.
For the True rule, it is referencing rules in other concepts. Therefore, the format of the variables are the Related Concept Context variables.
Applies to
Examples
This example from True shows the variable format:
<pathlist class="${rulebaseClass}_PATH" link="link.${rulebaseClass}.${resource.label}.${language.iso_code}.${resource.guid}_FINAL" />
For full examples, see classnotelist and pathlist template rules.