CRM 2011 JQuery OData REST Endpoints Create Record
In CRM 2011, we can create record easily using JQuery and OData. This will get triggered asynchronously using the ajax functionality.
Create Record function from the SDK:
To create new record, you just need to instantiate your object and call the function. The tricky part is when you want to assign Lookup field or OptionSetValue. You can get more info on this from the SDK itself. Here is an example:
Create Record function from the SDK:
To create new record, you just need to instantiate your object and call the function. The tricky part is when you want to assign Lookup field or OptionSetValue. You can get more info on this from the SDK itself. Here is an example:
Did you know how does the same thing with the close incident request? I would like to know how to write the sentences to create incident resolution record.
ReplyDeleteHello
ReplyDeleteNice example.
I want to know what is successCallback parameter? From where would I get these function references?
Regards,
Bhavika Patel
Hi Bhavika,
DeletesuccessCallback is basically a normal javascript function you want to call after the request has been processed. You just need to create that function and pass that function name into that parameter list :)
Regards,
Andreas