Dialogue Script supports the embedding of merge tags in page templates.
EditExamples of Using Merge Tags
Hello {!Profile.FirstName} {!Profile.LastName}.
The configuration setting for website URL is {!Configuration.WEB_SITE_URL}.
<script>
if( '{!Profile.HasPortalAccess__c}' == 'false' )
window.location = 'AccessRestricted.aspx'
</script>
EditMerge Tag Format
Merge tags are used in the format
{!Entity.Property}The following entity names are supported.
Profile, Lead, Contact: Refers to the current user logged in. All names are synonymous. Valid properties include any native or custom field associated with the Lead or Contact record.
Object, Record: Refers to the current object in context. These are usually defined by object ID parameters in the URL. Supported ID parameters are {!oid} for i-Dialogue portal IDs and {!id} for Salesforce objects. Valid properties include any native or custom field associated with the record type.
Configuration, Config, Settings: Refers to a configuration setting in the
Portal Registry or web.config file. Valid properties include any key defined in the configuration registry or web.config file (the key property is replaced with the actual configuration value when the page is rendered).