top of page
OmniStudioFactBg.png
Writer's pictureRevathi Vangapandu

Embedding Omniscript into Visualforce Page

Updated: Nov 15, 2023

1) To launch an Omniscript from VF Page, we have to create a controller class with a method. And we need to call this method from an action in VF Page as below.

2) Get the parameters from the VF Page URL to pass it to Omniscript as below:

3) Omniscript URL preparation:

Onclick the How to launch activated script button on Omniscript, and we will see the below popup. Get the Omniscript URL from there

4) Frame the omniscript URL in the apex class and pass the URL parameters:

5) We can pass URL parameters by prepending the parameter key with c__ as highlighted below:




1,330 views3 comments

Recent Posts

See All

3 Comments


Guest
Nov 08, 2023

could you at least bother to put proper screenshots that are readable? whats a point of htis blog if we cant even figure out whats in a screenshot?

Like
Sathiyaraja Kannan
Sathiyaraja Kannan
Nov 15, 2023
Replying to

Thanks for the feedback. We have udpated the screenshots with better quality.

Like

Guest
Oct 26, 2023

Hey, can you expand upon this? I need to embed an OS an a page and use the URL parameters to pass in a context ID

Like
bottom of page