You need to sign in to do that
Don't have an account?
Tulasiram Chippala
How to pass parameters to the lightning component app
Hi All,
I am using lightning component form. I am using below url for opening Lightning component as an URL with parameters using isURLAddressable interface
https://instance.lightning.force.com/lightning/cmp/c__candidateApplicationForm?c__recordId=a0p8A000000R74PQAS
If I am using URL for opening component as an app like below
https://instance.lightning.force.com/c/c__candidateApplicationFormApp.app?c__recordId=a0p8A000000R74PQAS
I am getting an error like state is not defined in pagereference or url not found error.
Please advise how to use an URL for opening lightning component app with parameters.
I am using lightning component form. I am using below url for opening Lightning component as an URL with parameters using isURLAddressable interface
https://instance.lightning.force.com/lightning/cmp/c__candidateApplicationForm?c__recordId=a0p8A000000R74PQAS
If I am using URL for opening component as an app like below
https://instance.lightning.force.com/c/c__candidateApplicationFormApp.app?c__recordId=a0p8A000000R74PQAS
I am getting an error like state is not defined in pagereference or url not found error.
Please advise how to use an URL for opening lightning component app with parameters.