For the managed package runtime, add your AEM credentials to OmniOut and deploy it to your AEM server. The deployment adds a Vlocity LWC OmniOut component to AEM. The Vlocity LWC OmniOut component allows you to add your Omniscripts to an AEM page.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
Before You Begin
-
Create a Connected App. See Create a Connected App for OmniOut (Managed Package)
-
Create a Salesforce Connection in AEM. See Integrate Salesforce Cloud Services into Adobe Experience Manager (Managed Package).
-
Set your CSS resources path. See Set the OmniOut Resource Path (Managed Package).
-
Locate and copy your AEM server username, password, host, and port.
-
In VisualStudio, open the OmniOut resource and locate the
./aem.ui.apps/pom.xmlfile. -
In the
./aem.ui.apps/pom.xmlfile, enter your AEM server username, password, host, and port in these tags:-
<crx.host></crx.host>: Enter your AEM server host. -
<crx.port></crx.port>: Enter your AEM server port. -
<crx.username></crx.username>: Enter your AEM server username. -
<crx.password></crx.password>: Enter your AEM server password. -
<publish.crx.host></publish.crx.host>: Enter your AEM server host. -
<publsh.crx.port></publish.crx.port>: Enter your AEM server port. -
<publish.crx.username></publish.crx.username>: Enter your AEM server username. -
<publish.crx.password></publish.crx.password>: Enter your AEM server password.
Example Syntax:
<crx.port>4502</crx.port> -
-
Deploy the application by running this command:
npm run deploy:aem:clean:full