top of page
OmniStudioFactBg.png
Writer's picturePalem Ravi Kiran Reddy

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

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%


690 views0 comments

Recent Posts

See All

OmniscriptBaseMixin Methods

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

Comments


bottom of page