For the managed package runtime, load your custom styling resources into your Adobe Experience Manager application by setting the correct resource paths.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
Before You Begin
-
Ensure you have run OmniOut in development mode. See Run OmniOut in Development Mode (Managed Package).
-
Create a Salesforce connection in AEM. Integrate Salesforce Cloud Services into Adobe Experience Manager (Managed Package).
-
In VisualStudio, locate and open OmniOut's
./src/index.jsfile. -
In the
./src/index.jsfile, uncomment this line:import { setSldsResourcesUrl, setNewportResourcesUrl } from 'c/salesforceUtils' -
In the same
./src/index.jsfile, locate thesetSldsResourcesUrlfunction and thesetNewportResourcesUrlfunction and uncomment each function. - Save your file.