You are here:
Display Saved Omniscript Instances on ObjectRecord Pages (Managed Package)
For the managed package runtime, display saved Omniscript instances on an object record page by creating a Visualforce page and adding the component to the object's layout.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- Create a new Visualforce page.
-
Copy and paste the following code into a new Visualforce page.
<apex:page standardStylesheets="false" showHeader="true" standardController="ObjectName" extensions="NS.VFPageControllerBase" sidebar="true" docType="html-5.0" > <NS:OmniScriptInstanceComponent standardController="{!stdController}"/> </apex:page> -
Replace these variables in the code with the appropriate values:
-
ObjectName Enter the API name of the standard or custom object.
-
NS : Enter the Namespace of the package. See Viewing the Namespace and Package Version of Omnistudio for Managed Packages (Managed Package).
-
