Hi Anil, Below is my onload code. var URL = window.location.protocol + "//" + location.host + "/" + Xrm.Page.context.getOrgUniqueName(); if (Xrm.Page.ui.getFormType() != 1) { if (Xrm.Page.getAttribute("esl_url").getValue() == null) { Xrm.Page.getAttribute("esl_url").setValue(URL); Xrm.Page.data.entity.save(); } }
↧