+ Start a Discussion
SENTHILKUMAR R 23SENTHILKUMAR 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.

User-added image
Best Answer chosen by SENTHILKUMAR R 23
brahmaji tammanabrahmaji tammana
Events are used to communicate between components. As you might know, we have 2 types of events - COMPONENT and APPLICATION. 
  • 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.htm

Thanks
Brahma

All Answers

brahmaji tammanabrahmaji tammana
Please share your code.
SENTHILKUMAR R 23SENTHILKUMAR R 23
Hi Brahmaji,
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
brahmaji tammanabrahmaji tammana
Events are used to communicate between components. As you might know, we have 2 types of events - COMPONENT and APPLICATION. 
  • 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.htm

Thanks
Brahma
This was selected as the best answer
SENTHILKUMAR R 23SENTHILKUMAR R 23
Thanks, It working like chram now