var control = Xrm.Page.getAttribute("parentcustomerid"); var value = control.getValue(); control.setValue(null); control.setValue(value);