共用方式為


Sample: OData endpoint jQuery contact editor

 

Applies To: Dynamics CRM 2013

This sample code is for Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online. Download the Microsoft Dynamics CRM SDK package. It can be found in the following location in the download package:

SDK/SampleCode/JS/RESTEndpoint/RESTJQueryContactEditor

Note

If you just want to see how this sample works you can install (import) the RESTJQueryContactEditor_1_0_0_2_managed.zip managed solution included in the download files. If you install this managed solution and want to create the web resources using the names in the Readme.docx file, your solution publisher customization prefix can’t be “sample” unless you uninstall (delete) the managed solution.

Requirements

Use the instructions in the Readme.docx to create web resources using the files identified in the Visual Studio solution.

Demonstrates

This sample shows how to use of the REST endpoint in a basic application that provides interactive user interface using HTML, JScript, and JQuery.

This screenshot shows the user interface for the REST Endpoint JQuery Contact Editor.

REST JQuery Contact Editor sample

See Also

Use the OData endpoint with web resources
Use the OData endpoint with Ajax and JScript web resources
Perform basic data operations using the OData endpoint
Use web service data in web resources (OData and Modern app SOAP endpoint)
Technical Article: Using Option Set Options with the REST Endpoint - JScript