Forum Discussion
Hi phani
I believe that the URL fragment is not sent to the server so I am afraid that would not be possible. You can access it via javascript inside a custom component if that helps.
Thanks,
Hi PaoloT,
Thanks for your quick response.
We are able to get the value by using http.client.response FreeMarker context object, if the parameter passed with '&'
E.X.: /plugins/custom/community_name/community_name/your_endpoint?data=test&token=1234
Code Snippet: <#assign token = http.request.parameters.name.get("token","")/>
In our requirement we are calling the endpoint with hash value. For us Javascript is not preferable option.
E.X.: /plugins/custom/community_name/community_name/your_endpoint#token=1234
Could you please provide more description on your statement "URL fragment is not sent to the server", it might helpful for us to try some workaround?
Regards,
Phani
Related Content
- 4 years ago
- 13 years agoInactive User
- 6 years ago