Hi, I am trying to get associated accountid from a case through JS, is this below the correct way? I also tried OData, but it returned null,
Xrm.Page.getAttribute("accountid")
*This post is locked for comments
Hi, I am trying to get associated accountid from a case through JS, is this below the correct way? I also tried OData, but it returned null,
Xrm.Page.getAttribute("accountid")
*This post is locked for comments
it seems like I found it
var CustomerId = Xrm.Page.data.entity.attributes.get("customerid").getValue()[0].id;
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156