Question: in model driven apps, when retrieving records this gives me the value, Xrm . WebApi.retrieveRecord ( arb _ smartauditcustomers, customerId, ? $select =
in model driven apps, when retrieving records this gives me the value,
XrmWebApi.retrieveRecordarbsmartauditcustomers", customerId, $selectarbcustomerid"
but this doesn't work for ownerid. Is there any workaround.
XrmWebApi.retrieveRecordarbsmartauditcustomers", customerId, $selectownerid"
i tried ownerid.id
As I want to compare visit's owner to customer's owner.
If they match only then can edit a field.
i can get
Get the current user's ID
var currentUserId XrmUtility.getGlobalContextuserSettings.userId.replacereplace;
Get the record owner's ID
var recordOwner formContext.getAttributeowneridgetValue;
I want to Retrieve an Owner Lookup.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
