Javascript for MS CRM 2011
var value = new Array();
value[0] = new Object();
value[0].id = id;
value[0].name = textvalue;
value[0].entityType = typevalue;
Xrm.Page.getAttribute("fieldname").setValue(value);
Javascript for MS CRM 4
var value = new Array();
value[0] = new Object();
value[0].id = id;
value[0].name = textvalue;
value[0].typename = typevalue;
crmForm.all.fieldname.DataValue = value;
var value = new Array();
value[0] = new Object();
value[0].id = id;
value[0].name = textvalue;
value[0].entityType = typevalue;
Xrm.Page.getAttribute("fieldname").setValue(value);
Javascript for MS CRM 4
var value = new Array();
value[0] = new Object();
value[0].id = id;
value[0].name = textvalue;
value[0].typename = typevalue;
crmForm.all.fieldname.DataValue = value;
Hiç yorum yok:
Yorum Gönder