+ Start a Discussion
Dhitendra ReddyDhitendra Reddy 

How to communicate between two different VF pages/Lightining components which are completely independent to each other?

Hi All
Is there any way I can pass data between two vf pages of lightining components which are independent to each other?
sindhura (Heptarc)sindhura (Heptarc)
Hi
Dhitendra Reddy,
Communicating between Lightning Components and Visualforce Pages:
https://developer.salesforce.com/blogs/developer-relations/2017/01/lightning-visualforce-communication.html.
https://developer.salesforce.com/blogs/developer-relations/2017/04/lightning-inter-component-communication-patterns.html.
Hope this will help you.
Thank you.
Miayami vertyMiayami verty
I am trying to use lightningStylesheets="true" and communicate from my LC. This doc exactly shows the steps on how to communicate between 
LC --> VF. When I embed the VF page as iframe in Lightning component I see the following error: I assume this is due to the browser policy but when I alert/console.log on the VF page, the message is never getting posted from the LC --> VF. What am I messing up? Is it because of the --c, I am trying this POC from my winter 18 dev org tellthebell (https://tellthebell.us).
Karen JimenezKaren Jimenez
Since the two components CMP_1, CMP_2 belongs to the same level in the containment hierarchy, you need to use the Application event for inter-component communication.
The link over here discusses the same use-case and I believe this cvsmyhr (https://my-hrcvslogin.com) will help you out.
Pamela Riley 19Pamela Riley 19
Even I have tried it with MyAARPMedicare Login (https://myaarpmedicare.space).

As I already told you that the AARP is an abbreviation of the American Association of Retired Persons. It is a group based on the United States.
Their mission is to empower the people and their lifestyles as they become older. According to the reports of 2018, it had 38 million members in the organization.

Ethel Percy Andrus and the Leonard Davis founded it in 1958. They work for social changes, provide help, services, and information to all the members of the group. It is one of the known and valuable group in the United States.

In May 2013, AARP launched Life Reimagined. The official name American Association of Retired Persons was given in 1999, but after that, the name changed into My AARP Medicare. All the publications published in English and Spanish language. Under its various programs, people get the benefit of health insurance with drug coverage and Medigap.
Henny GoelHenny Goel
Thanks for sharing amazing article, but I will suggest to check https://mybslhr.info/
the customerthe customer
Even I have tried it with MyAARPMedicare Login (https://thecustomerssurvey.com/).

As I already told you that the AARP is an abbreviation of the American Association of Retired Persons. It is a group based on the United States.
Their mission is to empower the people and their lifestyles as they become older. According to the reports of 2018, it had 38 million members in the organization.

Ethel Percy Andrus and the Leonard Davis founded it in 1958. They work for social changes, provide help, services, and information to all the members of the group. It is one of the known and valuable group in the United States.

In May 2013, AARP launched Life Reimagined. The official name American Association of Retired Persons was given in 1999, but after that, the name changed into accessmcd.info (https://accessmcd.info/). All the publications published in English and Spanish language. Under its various programs, people get the benefit of health insurance with drug coverage and Medigap.