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...

 
 
 

Comments


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