Hi,
try these
var lookup =Xrm.Page.getAttribute(Lookup filed name).getValue();
lookup[0].entityType
"Entity Name"
lookup[0].id
"Entity ID"
lookup[0].name
"Record Name"
Hi,
try these
var lookup =Xrm.Page.getAttribute(Lookup filed name).getValue();
lookup[0].entityType
"Entity Name"
lookup[0].id
"Entity ID"
lookup[0].name
"Record Name"
How to get and set value for different datatypes in Dynamic 365 CRM
[View:https://vjcity.blogspot.com/2019/07/how-to-get-and-set-value-for-different.html:750:50]
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,214 Most Valuable Professional
nmaenpaa 101,156