AgileApps Support Wiki Pre Release

Difference between revisions of "Template Variables in Email Templates"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 1: Line 1:
==Response Messages==
==Response Messages==
This variables are available in Email Templates attached to a [[Case]] that has a record of the message that caused the Case to be created:
This variables are available in Email Templates attached to a Case that has a record of the message that caused the Case to be created:
:;$__email_to_: The "to" line from the message.
:;$__email_to_: The "to" line from the message.
:;$__email_from_: The "from" address from the message.
:;$__email_from_: The "from" address from the message.

Revision as of 23:17, 26 March 2013

Response Messages

This variables are available in Email Templates attached to a Case that has a record of the message that caused the Case to be created:

$__email_to_
The "to" line from the message.
$__email_from_
The "from" address from the message.
$__email_cc_
The "cc" (carbon copy) line from the message.
$__email_subject_
The subject line from the message
$__email_body_
The body of the message
$__email_reply_to_
The "replyTo" address from the message.
$__email_size_
The size of the message
$__email_headers_
The message headers (generally only used for error messages, or for debugging by programmers)

Task Messages

New/Edit Task Email

$due_date
Due date
$related_to
A record in the Related Object
$subject
Subject of the message
$description
Task Description
$user_time_zone
Time zone of the user who created the task
$view_details_url
URL to view details of the task
$created_by
Record Creator, the User that created the record

Task Completed Mail

$related_to
A record in the Related Object
$subject
Subject of the message
$description
Task Description
$created_by
Record Creator, the User that created the record
$status_change_date
Date that the task status changed to Completed
$new_status
New Status of the task
$old_status
Previous status of the task
$view_details_url
URL to view details of the task

Task Reminder Email

$view_details_url
URL to view details of the task
$mark_as_attempted_url
URL to mark the task as attempted
$mark_as_completed_url
URL to mark the task as completed
$due_date
Due date
$subject
Subject of the message
$action_type
Action type
$priority
Priority, Default: Normal, High, Low
$reference_name
Name of the object associated with this task
$contact_name
Name of contact associated with this task
$contact_phone
Phone number of the contact associated with this task
$contact_email
Email address of the contact associated with this task
$created_by
Record Creator, the User that created the record
$description
Description

Project Task Reminder Email

$view_details_link
URL to view details of the project task
$mark_as_completed_url
URL to mark project task as completed
$start_date
Start date
$subject
Subject of the message
$priority
Priority, Default: Normal, High, Low
$reference_name
Name of the project associated with this task
$created_by
Record Creator, the User that created the record
$description
Description

Send Note Email

$subject
Subject of the message
$description
Description
$Note
Body of the message
$reference_type
Name of the Related Object
$related_to
A record in the Related Object
$completed_date
Completion date
$view_details_url
URL to view details of the task/appoitment/activity

Appointment Messages

New/Edit Appointment Email

$start_date
Start date
$related_to
A record in the Related Object
$subject
Subject of the email message
$description
Description of the Appointment
$user_time_zone
Time zone of the user who created the appointment
$created_by
Record Creator, the User that created the record
$duration
Duration, in hours and minutes
$creator_email_id
Email address of the Record Creator
$reference_type
Name of the Related Object
$location
Location
$add_appointment_to_outlook_url
URL to add this appointment to Outlook

Appointment Reminder Email

$view_details_url
URL to view details of this appointment
$mark_as_attempted_url
URL to mark this appointment as attempted
$due_date
Due date
$subject
Subject of the message
$action_type
Action type associated with this appointment
$priority
Priority, Default: Normal, High, Low
$reference_name
Name of the object associated with this appointment
$contact_name
Name of contact associated with this appointment
$contact_phone
Phone number of the contact associated with this appointment
$contact_email
Email address of the contact associated with this appointment
$created_by
Record Creator, the User that created the record
$description
Description

Status Messages

Export Status Email

$backup_file_name
Name of backup file
$download_url
URL to download the backup file
$date_processing_started
Start date
$date_processing_completed
Completion date

Mass Operation Status Email

$secured_web_link
URL to Mass Operation status page
$operation
Name of operation
$object_name
Name of the object
$view_name
Name of the View
$status
Status
$date_processing_started
Start date
$date_processing_completed
Completion date
$total_processed_records
Count (number) of processed records
$ignored_records
Count (number) of ignored records
$is_ignore_reason_available
Is TRUE, if the reason is known
$ignore_reason
Reason that records were ignored (not processed)

Import Status Email

$file_name
Name of file to import
$total_records
Count (number) of records in the file
$processed_records
Count (number) of processed records
$added_records
Count (number) of new records added
$merged_records
Count (number) of records merged
$ignored_records
Count (number) of records ignored
$deleted_records
Count (number) of records deleted
$reject_reason
Reason for rejecting records
$status
Status
$date_created
Date created
$view_details_url
URL to view details of this import task

Report Status Email

$message
Body of the message
$subject
Subject of the message

Translation Export Status Email

$translation_file_name
Name of file that contains the translations
$download_url
URL to download the file
$date_processing_started
Start date
$date_processing_completed
Completion date

Other Messages

Ownership Change Mail

$object_name
Name of the Object Type that of which ownership was changed
$reference_name
Name of the record to which ownership change was applied
$notes
Notes, if processed, at time of ownership ownership change
$creator_name
Name of the user who initiated the ownership change
$view_details_url
URL to view the details of the ownership change