Parameter issue in GetURL() with #
Question
Application Type
Reactive
Service Studio Version
11.11.10 (Build 46355)

Hi all,

I have a URL and I need to get the value from this URL I tried using GetURL () from HttpRequestHandler extension, but if the # character is present it doesn't work.


Ex.

https://domain/screenpage#test

GetURL() =  https://domain/screenpage

https://domain/screenpage#id=test

GetURL() =  https://domain/screenpage

https://domain/screenpage?#id=test

GetURL()=  https://domain/screenpage

https://domain/screenpage?id=#test

GetURL() =  https://domain/screenpage?id=

https://domain/screenpage?id=test

GetURL() =  https://domain/screenpage?id=test


How can get the value after the char #?

Can you not get the URL and then you use the substr to get what is after the "#"?

Like this 

https://marcio-carvalho4.outsystemscloud.com/getWhatIsAfterThe_/screen?_ts=637623983296916021

Kind regards,

Márcio

Hello Pier,

can you check with this 

GetBookmarkableURL()

May be this will helps you.

Thanks and Regards,

Akshay Deshpande

Hi,


GetBookMarkable() also drops everything from the # character. Has this issues already been solved? I am having the same issue.

Hi Pier,

Please check my previous post. It may help you.

https://www.outsystems.com/forums/discussion/73432/how-to-get-id-token-from-the-redirect-url/#Post300687


Best regards,

Necmettin

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.