I am trying to fetch selected record js in customer datatype field
*This post is locked for comments
I am trying to fetch selected record js in customer datatype field
*This post is locked for comments
I think you are asking how to determine the entity logical name for a customer lookup field?
If so - you can use:
var customerField = Xrm.Page.getAttribute("customerid").getValue();
var customerType = customerField [0].entityType;
Hope this helps
Using addPreSearch ,you can filter records for your lookup .
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156