Reference Local Assets in Adobe Experience Manager (Managed Package)

For the managed package runtime, asset references must be made manually while building an Omniscript. Learn how to add local asset references to radio or multi-select elements.

See

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

Use Images for Buttons in Omniscript (Managed Package).

Note
Note Due to an issue with tinyMCE, these instructions don’t work on elements powered by tinyMCE. Instead, use the absolute path by adding your publish environment's Host URL before the relative URL. Entered this information directly on the tinyMCE image options context menu.
  1. In your Salesforce Org's Omniscript Designer, either open or Create the Omniscript you want to reference the local asset in.
  2. In AEM, open the Navigation Panel, click Assets, and navigate to your desired asset.
  3. Record the asset path in the URL after assetdetails.html. For example, /content/dam/geometrixx/icons/diamond.png
  4. Return to your script in the Omniscript Designer. From the radio or multi-select element, create one or more options and type in value and label.
  5. Click Edit as JSON link and scroll down to "imgId".
  6. Paste the asset path into the entry for imgId.
  7. Make sure to activate your Omniscript.
  8. After opening the script in your AEM instance, the local asset is visible.