AgileApps Support Wiki Pre Release

Difference between revisions of "Template Variable Contexts"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
 
(39 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:
:{|
:{| border="1" cellpadding="5" cellspacing="1"
| Print || '''Designer > Data > Objects > {object} > Print Templates > {template}'''
 
! align="left"|Context
! align="left"|Available Variables
 
|-
|-
| JavaScript actions || '''Designer > Data > Objects > {object} > Actions > Execute JavaScript'''
|  
* [[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)
|-
|-
| Workflow || '''Designer > Data > Objects > {object} > Workflows > {workflow} > Notification Templates'''
|  
* [[Document Templates]]
|
* [[Global Template Variables]]
* Record, User, Company, and Date/Time fields
* History fields (last comment and recent notes)
 
|-
|-
| Component || '''Designer > Logic > Components > {component}'''
|  
{{#if: {{ShowIsvInfo}} |
* [[Custom Form Actions]]
|
* [[Template Variables for Actions Using Execute JavaScript]]
* User fields
|-
|
* [[Rules and Rule Sets]]
|
* Record fields
 
|-
|-
| Service Provider emails || '''Settings > Service Provider Settings > Manage Email Templates'''
|  
}}
* [[Web Tabs]]
|
* User Fields, Company Fields
|}
|}


And, in the Sales Force Automation application:
'''For Service Provider emails:'''
:* Email: '''Workspace > All Items > Templates > [New Template]'''
:* 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: