
Hi,
In one of the Classic JS Buttons in our system, couple of session Id variables are being used:
1) !User.Session_ID
2) GETSESSIONID().
When converting these ones to lightning quick actions, what can I use as equivalents for these Session Id variables as these global variables are not available in lightning component framework. Can I use UserInfo.getSessionId() in apex and return the result to lightning component. Are the session Id values going to be same as the ones being generated in the classic JS buttons using the global variables.
9 comentarios
I am also facing this issue in my org, as these two attributes are not available in lightning. Please suggest on this how to proceed.