I am trying to convert a public (no-login) sites page to a public (no-login) Lightning Community with a context-sensitive LWC in it (requiring parameters).
One of the nice things about public sites pages is you could pass URL parameters like this in a link that you provide (for example) in an email:
[site URL]?param1=value1¶m2=value2¶m3=value3.
The parameters above are available to your apex/visualforce code.
Is there a way to do this with a public Lightning Community that contains an LWC that needs the passed in parameters? It seems like the parameters are wiped out whenever I click on a community link where I am trying to pass parameters.....
(I was able to pass GET/URL parameters to a public REST API community. That works fine as the parameters are available in the REST request object.)
Thanks in advance for your help!