Wednesday, July 23, 2014

Bind look up field text to a attribute

function addtitle() {
    var issuetype = Xrm.Page.getAttribute("ccs_requesttype").getValue();
    if (issuetype == null) {
        return false;
    }
    var issuetypename = issuetype[0].name;
    Xrm.Page.getAttribute("title").setValue(issuetypename);
}

No comments:

Post a Comment