Hello,
We are using Dynamic CRM 365 on-premises version: 9.0.24.8.
I have encountered that getcontrol in javascript on UCI returns null in some fields, which doesn't occur in classic.
In this case it's about "customerId" lookup field in incident entity.
Example in UCI:
FormOnLoad: function (executionContext) {
var formContext = executionContext.getFormContext();
var customerIdControl = formContext.getControl("customerid"); // returns null
var customerIdAttribute = formContext.getAttribute("customerid"); // returns an object
}
I have tried to use getControl to see if i can find it in the array.
example just formContext.getControl() and it returns a array. I couldn't find customerid in that array in UCI, but when i did it on classic customerid was there.
Is this a intended behaviour or do I have to do something to make customerid available in UCI?