Notifications
Announcements
No record found.
I want to check if the record selected in the lookup is an active record or inactive record. I am able to retrieve the ID of that record but not able to get the fields available on that record. please help me with the query.
don't create a new thread on the same topic.
You need to retrieve the record using Xrm.WebApi (or another method to query the Web API endpoint) in order to retrieve the statuscode field.
The other thread contains some code you can start with.
Hi Manth,
You can retrieve the record to get status field through the ID.
The Dataverse REST Builder tool can help you build code easily:
https://github.com/GuidoPreite/DRB
https://www.theblueflamelabs.com/lets-utilize-dataverse-rest-builder-to-create-a-web-api-for-dynamics-365-ce/
You can copy these code, then use dynamic value to replace static id value in your js code.
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.
Martin Dráb 47 Most Valuable Professional
André Arnaud de Cal... 38 Super User 2025 Season 2
Pallavi Phade 32