Parameter issue in GetBookmarkableURL()

Parameter issue in GetBookmarkableURL()

  

Hi,

I am facing one strange issue in GetBookmarkableURL() function.
When I am using parameter like "LanguageId=1" in the url, its giving me proper value in GetBookmarkableURL() funciton.
But when I am using parameter "lang=ar" in the url, its giving me url without parameter using GetBookmarkableURL() funciton.

Example 1:
MyURL:
www.palak.outsystemscloud.com/test1/default.aspx?LanguageId=1
GetBookmarkableURL() response :
www.palak.outsystemscloud.com/test1/default.aspx?LanguageId=1


Example 2:

MyURL:
www.palak.outsystemscloud.com/test1/default.aspx?lang=ar
GetBookmarkableURL() response :
www.palak.outsystemscloud.com/test1/default.aspx


I don't understand why in example 2 its not giving me correct URL.

Regards,
Palak Patel


Solution

Hi,
I got the solution by adding an input variable with name 'lang' in my default page.

If we don't add it as input parameter in page, it will remove that from GetBookmarkableURL() response.

So after adding it, it solved my issue.

Regards,
Palak Patel

Solution

Palak Patel wrote:

Hi,
I got the solution by adding an input variable with name 'lang' in my default page.

If we don't add it as input parameter in page, it will remove that from GetBookmarkableURL() response.

So after adding it, it solved my issue.

Regards,
Palak Patel

Right.. Input parameter is must bro.. Cheerssssssssss