Changes

Template / Type Formula

532 bytes added, 13:51, 8 October 2013
Using Object Syntax
==Using Object Syntax==
Object syntax can be used in template formulas to loop through the level below and to assign a value or values based on some defined criteria.
 
The syntax differs from the basic [[Web_Page_View_Field_Variables#To_Display_a_List_of_Activities.2C_Notes.2C_Transactions.2C_Contacts.2C_Companies.2C_Consumers.2C_Providers|object syntax]] in that the template formula must use double colons (i.e. '''::''') rather than a semi-colon to separate the criteria from the object.
An example of the syntax for this is shown below:
:<font size="3">'''@level1.name@="@level1.[#(?object=activity::criteria=eventtype=3123) ~eventtypesubject~ #]@""'''</font> This will extract the value in the Subject standard field for all level 2 records with an eventtype of 3123 that sit under the current level one. and store this list into the level one Name standard field.
==UTA Provider syntax==
Smartstaff, administrator
4,478
edits