CRM 2011 To Refresh or Reload The Page or Form

0 comments


Im using javascript to reload my page and form.

window.location.reload(true);

it will reload the page but not the parent page. The particular form or page u are at.

CRM 2011 Set Owner Field or ownerid to readonly or disabled

0 comments


If u set the owner field to readonly using form layout, for sure it wont work.


The way that im using is to call javascript function during onload.

Xrm.Page.ui.controls.get("ownerid").setDisabled(true);
//setDisabled is boolen value

It work with the javascript function.