For the managed package runtime, after ceating the Adobe Experience Manager (AEM) page, add the Omniscript component to the page.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- From the AEM page, change the mode from Design back to Edit.
- Once in Edit mode, click on Drag Components Here, and click the + icon.
- Connect the page to Salesforce by selecting the Salesforce Cloud Services Authentication component.
- Configure the new component by selecting the component, and clicking on the configuration icon.
- In the Edit Dialog modal, click the Configuration field, select the name of your Connected App, enter a Salesforce Namespace Override, and click Save.
- (Optional) Add a proxy in the Proxy URL field.
- To add an Omniscript component, click on Drag Components Here, click the + icon, and select Omniscript Universal.
- Configure the Omniscript Universal component by selecting the component, and clicking on the configuration icon.
-
For the path, enter the query and path you use for your active Omniscript with the following exception:
If merge indicators are included, e.g.,
{0}, remove them or replace them with hardcoded values. - (Optional) Apply Newport styling by adding the parameter layout=Newport to the path.
- Save the configuration and view the Omniscript in the component to ensure the connection was successful.