Site-Based Functions

Overview AMPscript includes several functions for working with website or ‘site-based’ content in Marketing Cloud. See the table below for a few different options for creating site-based content in Marketing Cloud: Application Feature Description Email...

IsCHTMLBrowser

IsCHTMLBrowser This function checks whether a given user agent value is a C-HTML browser. C-HTML, or Compact HTML, is a subset of the HTML markup language that was developed for small information devices, such as first-generation smart phones and PDAs. The language...

RetrieveMSCRMRecords

RetrieveMSCRMRecords This function retrieves rows from the specified Microsoft Dynamics CRM entity. Arguments RetrieveMSCRMRecords(1,2,3,4,5) Ordinal Type Required Description 1 String True The entity from which to retrieve attributes 2 String True Comma-separated...

AuthenticatedEmployeeID

AuthenticatedEmployeeID This function returns the numeric identifier of the authenticated Marketing Cloud account user who is accessing the page. This is useful when creating customized pages for child Business Units (a feature available in earlier Enterprise 2.0...

RedirectTo

RedirectTo This function is required when using the HTML hyperlink tag in emails when the hypertext reference (href) attribute is either an attribute or a variable and the hyperlink is a tracked email link. If link tracking in an email is not enabled when the email is...

RetrieveMSCRMRecordsFetchXML

RetrieveMSCRMRecordsFetchXML This function accepts a Fetch XML string and returns the specified Microsoft Dynamics CRM entity attributes. Argument RetrieveMSCRMRecordsFetchXML(1) Ordinal Type Required Description 1 String True Fetch XML string Example %%[ var @i var...