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    

33 comments:

  1. very usefull informatation.and iam looking for more posts like this please keep updating us........

    ReplyDelete
  2. The article provided by you is very nice and it is very helpful to know the more information.keep update with your blogs .I found a article related to you..once you can check it out.

    SalesForce online training

    ReplyDelete
  3. 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
  4. 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
  5. 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
  6. Super site! I am Loving it!! Will return once more, Im taking your food additionally, Thanks. Event Business

    ReplyDelete
  7. 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
  8. 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
  9. Kardinal Stick Siam - relx a great promotion. Express delivery in 3 hours.

    ufa football betting, casino, slots, lottery, direct website 1688, stable financial, 100% UFABET168.

    Online Baccarat FOXZ24 Easy to apply, fast, บาคาร่า deposit-withdraw 10 seconds with the system.

    Watch movies online sa-movie.com, watch new movies, series Netflix HD 4K ดูหนังออนไลน์, watch free movies on your mobile phone, Tablet, watch movies on the web.

    SEE4K Watch movies, watch movies, free series, load without interruption, sharp images in HD FullHD 4k, ดูหนังใหม่ all matters, all tastes, see anywhere, anytime, on mobile phones, tablets, computers.

    GangManga read manga, read manga, read manga online for free, fast loading, clear images in HD quality, อ่านการ์ตูน all titles, anywhere, anytime, on mobile, tablet, computer.

    Watch live football ผลบอลสด, watch football online, link to watch live football, watch football for free.

    ReplyDelete