Monday, June 26, 2017

How to Fire Lightning Events from VF Page in Lightning

Salesforce provide an option to include lightning components in VF page by adding it to Lightning app and referencing that in VF page.

In this blog, I am going to show an example to fire lightning events from VF page. here I will be passing account billing country from VF page by firing component event and displaying its value in component through event handler.




Below is complete code for firing event from VF page.  Below code also contain sample code to pass component attribute value from VF page.

Hope this will help!!
Looking forward for everyone's comment and suggestions..


More Blogs>>: 
PASSING LIGHTNING COMPONENT ATTRIBUTE VALUE FROM VF PAGE    
DYNAMICALLY CREATING AND DESTROYING LIGHTNING COMPONENTS    
RAISING AND HANDLING CUSTOM EVENTS IN sALESFORCE lIGHTNING    
WHY TO USE DESIGN RESOURCE AND HOW TO ADD DYNAMIC OPTION TO DATASOURCE    
PASSING LIGHTNING COMPONENT ATTRIBUTE VALUE FROM VF PAGE    
PASSING INNER WRAPPER CLASS TO LIGHTNING COMPONENT    
LIGHTNING COMPONENT FOR RECORDTYPE SELECTION FOR ANY SOBJECT    
CUSTOM COMPONENT TO SHOW/HIDE SPINNER IMAGE    

4 comments: