Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Error OnSave Get Object CRM 2011

$
0
0

Hi all,

 

I’m new to the forum and CRM so hoping you experts can help solve a minor irritation

 

Recently we’ve started to get an error message when we click on ‘Save’ or ‘Save & Close’ in Opportunity records.

 

“There was an error with this field's customised event.

 

Field:crmForm

 

Event:onsave

 

Error:Unable to get property 'getObject' of undefined or null reference”

 

We're not 100% what triggered this as we have done a few changes to the Opportunity form, moved, added and removed superfluous fields, so could be anyone of these.

 

The script in question is:

 

//call the saveMultiSelect function of the Multiselect html web resource on save of the form.

 

function multiSelectOnSave(executionObject) {

 

   Xrm.Page.getControl(executionObject).getObject().contentWindow.window.saveMultiSelect();

 

}

 

I’ve searched high and low to try and solve this question, looked in books and scoured the internet but without success, what I need to know is:

 

a)      Is it safe to just delete this event?

b)      If not can anyone help or point me in the right direction to correct it?

 

Any help would be greatly appreciated.

 

Many thanks

 

 

Nick


Viewing all articles
Browse latest Browse all 82002

Trending Articles



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