Difference between revisions of "Template Variable Contexts"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
Template variables have slightly different syntax in different contexts. The template variable tools gives you the possible variables in the correct syntax for each context:  
Template variables have slightly different syntax in different contexts. In addition, the available variables can differ between contexts. The template variable tool gives you the possible variables, in the correct syntax for each context:
:* Print: '''Designer > Data > Objects > {object} > Print Templates > {template}'''
:{| border="1" cellpadding="5" cellspacing="1"
:* Component: '''Designer > Logic > Components > {component}'''
:* JavaScript actions: '''Designer > Data > Objects > {object} > Actions > Execute JavaScript'''
:* Workflow: '''Designer > Data > Objects > {object} > Workflows > {workflow} > Notification Templates'''
:* : ''' '''
:* : ''' '''
:* : ''' '''


And, in the Sales Force Automation application:
! align="left"|Context
:* Email: '''Workspace > All Items > Templates > [New Template]'''
! align="left"|Available Variables
 
|-
|
* [[Email Templates]] and Letterheads
* [[Web Form]] notifications and auto-response email messages
|
* [[Template Variables in Email Templates]]
* [[Template Variables in Service Provider Email Messages]]
* [[Global Template Variables]] (custom variables)
* Record, User, Company, and Date/Time fields
* History fields (last comment and recent notes)
|-
|
* [[Document Templates]]
|
* [[Global Template Variables]]
* Record, User, Company, and Date/Time fields
* History fields (last comment and recent notes)
 
|-
|
* [[Custom Form Actions]]
|
* [[Template Variables for Actions Using Execute JavaScript]]
* User fields
|-
|
* [[Rules and Rule Sets]]
|
* Record fields
 
|-
|
* [[Web Tabs]]
|
* User Fields, Company Fields
|}
 
'''For Service Provider emails:'''
:* From the {{Service Provider URL}}
:* Go to '''Settings > Service Provider Settings > Manage Email Templates'''

Latest revision as of 23:54, 18 March 2015

Template variables have slightly different syntax in different contexts. In addition, the available variables can differ between contexts. The template variable tool gives you the possible variables, in the correct syntax for each context:

Context Available Variables
  • Record fields
  • User Fields, Company Fields

For Service Provider emails: