Hi!
I'm populating a lookup with default values and team name gets passed. However, the default icons does not.Any advice?
var idval = data.value["0"]._ownerid_value;
var tval = data.value["0"]["_ownerid_value@OData.Community.Display.V1.FormattedValue"];
var towner = new Array();
towner[0] = new Object();
towner[0].id = idval;
towner[0].name = tval;
towner[0].entitytype = 'team';
Xrm.Page.getAttribute("ownerid").setValue(towner);
Xrm.Page.getAttribute("ownerid").setRequiredLevel("none");
then I get:
The team icon does not gets set
*This post is locked for comments