function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anushka Bansal 4Anushka Bansal 4 

application event and URL event together

I have 2 different community pages p1 and p2. each have a lightning component on them 
c1 on p1
c2 on p2
I want to navigate from p1 to p2 and also pass few attributes from c1 to c2 
how do I manage that because when i try using url event and application event only url event works and the page p2 is rendered but the attributes are not passed from c1 to c2.
 
Naval Sharma4Naval Sharma4
Can you not just set the parameters in URL using the urlEvent and then can use those parameters in the c2 component? 
Check the following link for some help.

https://salesforce.stackexchange.com/questions/165650/getting-the-url-parameter-into-lightning-component-using-the-paramname-exp