Hi,
Is it possible to pass a personalized value flowing in from a workflow to a landing page in ACC.
For a cross sell campaign we have a requirement to pass product name on landing page and this value will depend upon the campaign use case so we want to pass this value from workflow. Is there a way to do this? If not what could be the best possible way to achieve the same.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
@Malarrajan_Sundarraj Can you please share the syntax to get the parameter value in the webapp using js?
Views
Replies
Total Likes
Hi @ratika ,
Include jQuery Library in the landing page.
<script> $(document).ready(function () { var productName = GetParameterValues('productName'); function GetParameterValues(param) { var url = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for (var i = 0; i < url.length; i++) { var urlparam = url[i].split('='); if (urlparam[0] == param) { return urlparam[1]; } } } $("ID or Class").text(productName); // display the product }); </script>
- Malarrajan Sundarraj
@Malarrajan_Sundarraj Thanks
Views
Replies
Total Likes