returns the schema name of the field1
Xrm.Page.getAttribute("new_customAttribute").getValue[0].values[0].name
returns the value of the field1
Xrm.Page.getAttribute("new_customAttribute").getValue[0].values[0].value
returns the schema name of field2
Xrm.Page.getAttribute("new_customAttribute").getValue[0].values[1].name
returns the value of the field2
Xrm.Page.getAttribute("new_customAttribute").getValue[0].values[1].value
No comments:
Post a Comment