When set to Interactive Mode (or the Submission step of the timeline), the Salesforce connector will populate aliases for use in server side formulas, such as the Thank You page displayed when respondents complete a form.
The Object Alias can also be useful if you would like to pass an ID value to a redirect link in order to pass that ID on to another form.
SFA_OBJECT AliasThe format of these aliases is %%SFA_OBJECT%% where OBJECT should be replaced with the record type being created in Salesforce, and will contain the Salesforce object's RecordId.
For example, assuming the creation of a Lead object in the Salesforce connector, the alias would be named %%SFA_LEAD%%.
This alias could be included in a Thank You URL, such as:
and would direct the respondent on response completion to:
For custom objects, use all caps and a double underscore after the object name and before the "c." It will look something like %%SFA_SURVEY__C%%.
Why is my Object Alias not working?
Here are a few things to check for:
- The connector must be in Interactive or Submission Mode.
- If it is for a custom object, be sure there are two underscores before the "c," i.e., %%SURVEY__C%%.
- Make sure it is for an Update or Create. If it is on a Lookup, change it to an Update and do not map any fields.