Saturday, July 1, 2017

Firing Event from Lightning Component and Passing Parameter to VF Page

In this blog, I am going to explain the way through which you can pass parameter from Lightning component by firing event from it and handling it in VF page and display the passed parameter in VF page.

If you want to understand how you can fire event from VF page and handle it in Lightning component, then refer below blog:

How to Fire Lightning Events from VF Page in Lightning

I have created a VF page which contains input text which will display Account Id which will be passed from Lightning component. This VF page also contains div container which will display lightning app which contains our lightning component.



Below is complete code for above example:

Note:
  • If you don't have namespace in your org then on VF page use "c:" instead of "skforce:" like c:SK_AccListViewApp
Hope this will help!!!

Looking forward for your comments and suggestions...

More Blogs>>: 
PASSING LIGHTNING COMPONENT ATTRIBUTE VALUE FROM VF PAGE    
FIRE LIGHTNING EVENTS 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    

14 comments:

  1. This website is really a walk-by way of for all of the information you wished about this and didn’t know who to ask. Glimpse right here, and also you’ll undoubtedly uncover it.

    Best Salesforce Training Institute in Hyderabad
    Salesforce Admin Training in Hyderabad
    Salesforce Developer Training in Hyderabad
    Salesforce Lightning Training in Hyderabad
    Salesforce Integration Training in Hyderabad

    ReplyDelete
  2. We as a team of real-time industrial experience with a lot of knowledge in developing applications in python programming (7+ years) will ensure that we will deliver our best in python training in vijayawada. , and we believe that no one matches us in this context.

    ReplyDelete
  3. There has been Bitcoin ATM's springing up in urban areas, for example, Vancouver, Ottawa, and a Bratislava Slovakia shopping center. As of late, the New York City Bitcoin ATM was required to be postponed until a formal proceeding under the locale of the New York State Department of Financial Services can be held. bitcoin mixer

    ReplyDelete
  4. Super site! I am Loving it!! Will return once more, Im taking your food additionally, Thanks. Event Business

    ReplyDelete
  5. Thank you for sharing such a nice and interesting blog with us. I have seen that all will say the same thing repeatedly. But in your blog, I had a chance to get some useful and unique information.

    Data Science Training in Gurgaon
    Bigdata Hadoop Training in Gurgaon
    Spark Training in Gurgaon
    Machine Learning Training in Gurgaon
    Deeplearning Training in Gurgaon

    ReplyDelete
  6. Never purchase table cloths with SERGED HEMS:... except if you need to convey an iron down the passageway... serged trims will twist up and look terrible, and they will shred when washed, and I for one think they look modest, ALWAYS purchase table cloths with "collapsed and sewed" fixes.
    royal chairs for wedding

    ReplyDelete
  7. I propose merely very good along with reputable data, consequently visualize it: Shisha Hire London

    ReplyDelete
  8. A charming conversation is worth remark. I believe that you should distribute more on this topic, it probably won't be an untouchable issue yet for the most part individuals don't examine these issues. To the following! Kind respects!! best interiors

    ReplyDelete
  9. I even recall Mike turning out to be immaturely curious when he was opening his birthday presents. Comedy Events

    ReplyDelete
  10. Looking forward to reading more. Great blog post. Really Great.
    event company

    ReplyDelete
  11. Passing would end his affliction, at all events. His was a high level type of mind disease. Working to crush the cancers would be well near incomprehensible - they were housed in the most fundamental pieces of his mind. Deep Etiching Service

    ReplyDelete
  12. Tamiloneindia is not your typical news outlet, but still well deserving of being on this list. Formed in 2012, Tamiloneindia is “for business people in the new global economy.” Their website works well on a browser but was specially designed for mobile usage. With cutting-edge technology and a passion for digital media, Tamil One India is sure to be able to help satisfy your online news needs.

    ReplyDelete