Omar S
52 posts
Registered:
04 Jul 2019
24 Mar 2021
in reply to
Kripesh C K
Link to this post
Hi Kripesh,
You can add a custom query string via Javasript api's on the browser. See https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams
e.g.,
var searchParams = new URLSearchParams(window.location.search)
searchParams.set("foo", "bar");
var newRelativePathQuery = window.location.pathname + '?' + searchParams.toString();
history.pushState(null, '', newRelativePathQuery);
If you want the query string to be passed as a value to your CRM, I suggest you look at our Query String widget.
https://www.crmportalconnector.com/developer-network/documentation/portal-connector-widgets/tpc-form-widgets/mvc-based-examples/querystring/querystring---setting-up-and-using-the-crm-querystring-widget
For your second question, i suggest you attend one of our daily Q+A and ask it.
https://www.crmportalconnector.com/support/training/daily-q-a-registration
Thanks
Omar
Last modified on 24 Mar 2021 16:03 by Omar S