You need to sign in to do that
Don't have an account?
Adam Dillman
Is it possible to pass URL parameters into a lightning service console app?
Hey everyone, this is something I've been struggled with and I can't find a concrete answer. I have a lightning component that accepts a URL parameter. For example if I navigate to the following link:
https://myorg.lightning.force.com/lightning/cmp/testcomponent?testparameter=4082545672
It works, and my testparameter field is automatically initialized with the parameter value as I had hoped.
However, when I move this lightning component to a lightning console app, this functionality no longer works. Instead, the console seems to accept only a single URL parameter, "uid" (?). So my link actually redirects automatically to:
https://myorg.lightning.force.com/lightning/cmp/testcomponent?uid=1654451398147
So my questions is, is it not possible to pass URL parameters into a lightning console app? If not, can you please point me to Salesforce documentation stating this? Thanks.
https://myorg.lightning.force.com/lightning/cmp/testcomponent?testparameter=4082545672
It works, and my testparameter field is automatically initialized with the parameter value as I had hoped.
However, when I move this lightning component to a lightning console app, this functionality no longer works. Instead, the console seems to accept only a single URL parameter, "uid" (?). So my link actually redirects automatically to:
https://myorg.lightning.force.com/lightning/cmp/testcomponent?uid=1654451398147
So my questions is, is it not possible to pass URL parameters into a lightning console app? If not, can you please point me to Salesforce documentation stating this? Thanks.