You need to sign in to do that
Don't have an account?
SENTHILKUMAR R 23
Error ID: 1971768664-19968 (827702864)"
Hi Team,
Please help me out to resolve following issue "An internal server error has occurred Error ID: 1971768664-19968 (827702864)". Thanks in advance.
Please help me out to resolve following issue "An internal server error has occurred Error ID: 1971768664-19968 (827702864)". Thanks in advance.
- Create a lightning event and specifty the event type. [File > Lightning Event ]
- Create an attribute in event resource. This attribute holds the value which needs to be passed to other components.
- Register the event
- Pass the value to that attribute when you are firing event from a component.
- Get the value of the attribute in your handler component.
You can check tralhead or https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_intro.htmThanks
Brahma
All Answers
Thanks for response, Actually salesforce events causing above mentioned problem. Could you please explain me how to share the data from one component to another component and want to keep data in one place like signleton class
- Create a lightning event and specifty the event type. [File > Lightning Event ]
- Create an attribute in event resource. This attribute holds the value which needs to be passed to other components.
- Register the event
- Pass the value to that attribute when you are firing event from a component.
- Get the value of the attribute in your handler component.
You can check tralhead or https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_intro.htmThanks
Brahma