You need to sign in to do that
Don't have an account?
Nithin Sinkaran
Access Current page Header, URL and Query string from Apex
Deal All,
Is there a way we can access current page URL, its query string and current request heards from Apex? I am looking to use it across LWC and screen flows to gather these information for furthe validations.
Thanks
Is there a way we can access current page URL, its query string and current request heards from Apex? I am looking to use it across LWC and screen flows to gather these information for furthe validations.
Thanks
suppose your URL is https://www.website.com?queryparam1=param1&queryparam2=param2
You can use the following code in LWC to get the values of the queryparam1 and then pass it to your apex method for further processing-