Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
how_to:understanding_data_references [2019/10/10 11:34]
tatewise [Contextual Data References]
how_to:understanding_data_references [2019/10/10 11:43] (current)
tatewise [Sentence Template Data References]
Line 136: Line 136:
 Typically the data reference is enclosed in curly brackets and its context is the current fact, e.g. **{%FACT.PHON%}** refers to the fact phone number.  ​ Typically the data reference is enclosed in curly brackets and its context is the current fact, e.g. **{%FACT.PHON%}** refers to the fact phone number.  ​
  
-To refer to witness details from a witness sentence template requires the use of the **=GetContextItem()** function, and its context codes: +To refer to witness details from a witness sentence template requires the use of the **%CUR~WITN%** contextual data reference shown above.\\ 
-^ WITNESS ​      | Refers to the Witness Individual record ​   | +^ {%CUR~WITN>NAME:​GIVEN%} ​ | Returns the Witness record forename ​ | 
-^ WITNESS_LINK ​ | Refers to the link to the current Witness ​ | +^ {%CUR~WITN.NOTE2%} ​      ​| Returns the Witness role local Note  |
-e.g+
-^ {=GetFieldText(GetContextItem(WITNESS),"​%~.NAME:GIVEN%")}  | Returns the Witness record forename ​ | +
-^ {=GetFieldText(GetContextItem(WITNESS_LINK),"​%~.NOTE2%") | Returns the Witness ​link role Note   ​|+
  
 ===== Related Pages ===== ===== Related Pages =====