Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Except for Polaris forms all classic forms have null Xrm.Page.data and Xrm.Page.ui

$
0
0

Hi,

No matter what I try I can't get Xrm.Page.data from forms other than Proccess Forms. When I change to classic forms Xrm.Page.data is always null.

Other forms have the same problem. Like my Product Form. Here is a simple code that isn't working:

function DisableVendor() {
Xrm.Page.getControl(“VendorName”).setDisabled(true);
}
I get an undefined error right from getControl function.

I'm working on CRM Online with rollup 13.

Thank you for any help!


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>