In this article , I am going to explain how to retrieve form all controls
Retrieve all controls
Xrm.Page.ui.controls.forEach(function (control, index) {
var attribute = control.getAttribute();
if (attribute != null) {
var attributeName = attribute.getName();
}
});
Retrieve all controls
Xrm.Page.ui.controls.forEach(function (control, index) {
var attribute = control.getAttribute();
if (attribute != null) {
var attributeName = attribute.getName();
}
});
No comments:
Post a Comment
Note: only a member of this blog may post a comment.