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

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}

No alt text provided for this image


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%

Adamya Shrivastava

Senior Associate Vlocity Consultant @ Infosys || Ex-Accenture || 5x Certified (3x-SF & 2X Vlocity)

7 个月

Can we hide the values from url for user so that it will not show in url what we are passing

要查看或添加评论,请登录

Silverline in India的更多文章

社区洞察

其他会员也浏览了