Notifications
Announcements
No record found.
I need to get the current session id in my web resources. I do not see it in XRM documentations. can we catch hold of current session id in web resource files by any means?
Hi,I am not sure about business need but i tried below logic to find session idThanks,Pradeep Rai.Please mark this as VERIFIED if it helps.
Hello, you can try this line:
var id = Xrm.Page.data.entity.getId();
It should work!
Thanks!
Community Support Team - Esteban
If this Post helps, then please consider Accept as solution to help the other members find it more quickly.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 70 Super User 2025 Season 2
Gerardo RenterÃa Ga... 33 Most Valuable Professional
Daniyal Khaleel 32 Most Valuable Professional