Retrieving the data from the URL in a FlexCard and an Omniscript
- 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%
Comments