Dynamics CRM Online version 8.2. This is happening in all browsers, Firefox, Chrome, Edge and IE for multipe users.
In the last few days this script has stopped working. It is on the opportunity form and runs on change of the account lookup field, which populates the quickview form. On the quickview is a subgrid of records that I need to refresh. The quickViewControl variable is returning a null. In the console, I can access it via frames[0].Xrm.Page.ui.quickForms.get("accountlicenceinformation")
function refreshSubGrid() { writeToConsole("refreshSubGrid"); var quickViewControl = Xrm.Page.ui.quickForms.get("accountlicenceinformation"); if (quickViewControl === null) quickViewControl = parent.Xrm.Page.ui.quickForms.get("accountlicenceinformation"); if (quickViewControl !== undefined) { if (quickViewControl.isLoaded()) {//getting error "Cannot read property 'isLoaded' of null" setTimeout(function () { //quickViewControl.refresh(); var emailsGrid = quickViewControl.getControl("licenceallocations"); emailsGrid.refresh(); }, 500); } } }
*This post is locked for comments