Notifications
Announcements
No record found.
I'm using an external JS for a custom button on my form and when I want to get fields data I use this - parent.window.Xrm.Page.getAttribute() what can I use if I want to get the current record guid ?
Hello,
You can use something like
parent.window.Xrm.Page.data.entity.getId()
If what you are actually trying to get the id of a lookup attribute then add .getValue()[0].id
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 74 Super User 2025 Season 2
Daniyal Khaleel 32 Most Valuable Professional
Gerardo RenterÃa Ga... 31 Most Valuable Professional