getQueryStringParameter() returns empty an value. Is there some place in the New Form URL that the query parameter should be placed?
Solved! Go to Solution.
It works as shown below :
You can place it since you follow the syntax : ...?param1=value1¶m2=value2&....
Using the function getQueryStringParameter("Message"), you get the value.
Keep in mind that the URL should be encoded.
Did you updated the NewFormUrl to add the query parameter ? If so, you have to encode the url value just like below :
$_.NewFormUrl = $_.NewFormUrl + "&Message=Welcome"
Hope that helps,
Thanks a ton for just verifying it should work.
Based on your guidance, I ran some tests and it seems to behave differently per browser. New Edge (Chromium) works while Chrome does not.
Per the attached image.
Thanks for the reply!
Hey @FormsMagic ,
I just checked on Chrome now. It works.
Investigating the url and it seems parameters are encoded 2 times because url inside url (given as parameters).
But if I change the email exactly with what you tested and with the encoded removed, it works.
Which version of Chrome do you use ?
I use that one :
Is there any extension changing the behavior ?
If you open the developer tools, do you see console errors ?
I also have the last version of Nintex for Office 365. I
I am curious to know what is making it not working on your environment.
Because a cookie's
SameSite attribute was not set or is invalid, it defaults to
SameSite=Lax, which prevents the cookie from being set in a cross-site context. This behavior protects user data from accidentally leaking to third parties and cross-site request forgery.
Secureif the cookie is intended to be set in cross-site contexts. Note that only cookies sent over HTTPS may use the
SameSite=Laxif the cookie should not be set by cross-site requests
Same issue shows up in new Edge but can get query string parameter.
I don't think the problem come from the cookie issue.
Could you check you full url parameters ? I guess there is maybe an invalid parameter that make the parsing parameters from Chrome failing.
Thanks for the reply.
I'm copying the URL from Chrome and pasting it into New Edge. I've checked both URLs side by side and they are identical. We're going to open a support ticket with Nintex.