CRM 2011 *Note Error Message Prompt When Form Save

0 comments

I came out with these kind of error once i save my record.

To solve this problem. Open your form script and direct to the line where the problems occur.

1. I notice that when u are using retrieve function from CRM Restkit to retrieve lookup value you will not get null object. I retrieve one lookup value and the value is object (Eg Exam is lookup but in form field it is empty. If i need to validate the form i need to define which object in exam is null (Eg Exam.Id == null).

2. When u are using variable make sure u define it well with validate on the value. Some field cant accept string, some cant accept number and more. For my case i forgot to define it as variable and i use it. Once there are no value attached to the variable the error came out when i update.