編輯

共用方式為


Xrm.WebApi.online (Client API reference)

Provides methods to use Web API to create and manage records and execute Web API actions and functions in model-driven apps when connected to the model-driven apps server (online mode).

var onlineWebApi = Xrm.WebApi.online;

The onlineWebApi object provides the following methods:

Xrm.WebApi.offline
Xrm.WebApi