Client Center supports launching the contact forms with different layouts and pre-populated data through URL so that you can deeplink into Tier1 from other applications or from Salesforce. The articles covers the expected URL format and the supporting parameters.
Please note that there is a maximum URL length limit applicable in browsers.
It’s essential to avoid using special or reserved characters in parameter values to prevent parsing errors.
URL FORMAT
The general URL format for launching contact form is as follows:
<Namespace Org Domain>/apex/T1C_Base__ACEQuickAddEntity?layoutPath=<layoutPath>&<parameter1=parmeter1Value>&<parameter2=parmeter2Value>NEW CONTACT
Example to launch a new contact form with a specific layout:
<Namespace Org Domain>/apex/T1C_Base__ACEQuickAddEntity?layoutPath=ACE.Core.QuickAdd.Layouts.QAC&quickAddType=ContactURL PARAMETERS
LayoutPath (string)
The subfeature path which contains the layout of the new contact form.
Sample value: layoutPath=ACE.Core.QuickAdd.Layouts.QAC
quickAddType (string)
Must be Contact
accountId (string)
Prepopulate the account in the new contact form. Must be the Salesforce account Id, use either the 18 character or 15 character account Id.
Sample value accountId=001a50000095Ejj
EDIT CONTACT
Example to launch edit contact form with a specific layout:
<Namespace Org Domain>/apex/T1C_Base__ACEQuickAddEntity?layoutPath=ACE.Core.QuickAdd.Layouts.QEC&quickAddType=Contact&entityId=003a5000001FyE1URL PARAMETERS
LayoutPath (string)
The subfeature path which contains the layout of the edit contact form.
Sample value: layoutPath=ACE.Core.QuickAdd.Layouts.QEC
entityId (string)
entityId - Salesforce contact Id, use either the 18 character or 15 character contact Id.
Sample value: entityId=003a5000001FyE1
quickAddType (string)
Must be Contact
viewOnly (string)
When retrieving an existing contact, appending this parameter viewOnly=true in the URL enables the read only mode.
In read only mode, the save buttons of the contact form are disabled. Users can interact with the form, but cannot save the changes.