top of page
OmniStudioFactBg.png
Search

Retrieving the data from the URL in a FlexCard and an Omniscript

Writer: Palem Ravi Kiran Reddy
Palem Ravi Kiran Reddy
May 9, 2023
1 min read

1. To retrieve the parameters from the URL the URL parameters have to be in the form of c__Parameter and followed by its values.

For example:

https://salesforce.lightning.force.com/lightning/cmp/vlocity_ins__vlocityLWCWrapper?c__target=c%3AcfFlexCardName&c__tabIcon=custom%3Acustom18&c__tabLabel=Details%20Page&c__label=Hello&c__Type=Insurance&c__clickedFrom=Community


2. From the FlexCard, we can retrieve the value as {Params.c__Parameter}


3. From the Omniscript we can retrieve the value as %Parameter%

So, as per the above example, we can retrieve the values as %label%, %Type%, and %clickedFrom%


 
 
 

Recent Posts

See All
OmniscriptBaseMixin Methods

Enable a custom Lightning web component to interact with OmniScript by extending the OmniScriptBaseMixin component. The...

 
 
 

3 Comments


in999
Jun 16

Great explained shared here .Got something very helpful articles from your blog. in999

Like

yaarwin
Jun 14

Great explained shared here .Got something very helpful articles from your blog.yaarwin

Like

yearwin
May 13

Nicely explained topic and it was so good and i feel very interested in it yearwin

Like
OmniStudioFactFooterBg.png
logo.png

OmniStudiofacts helps us to build a Vlocity/OmniStudio Tech Community which focuses on sharing technical skills and experience across the globe.

© 2023 by OmniStudioFacts.

bottom of page