Xrm.WebApi (Client API reference)
Provides properties and methods to use Web API to create and manage records and execute Web API actions and functions in model-driven apps.
Properties
Property | Description |
---|---|
online | 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). |
offline | Provides methods to create and manage records in model-driven apps in mobile clients while working in the offline mode. |
Methods
With mobile offline configured, the source for these records depends on the current client state. In offline mode, the source is the offline data store. In online mode, the source is the server. If the client is offline-first, the methods in online can be used to access tables and records that aren't part of the offline profile, as long as the client has network connectivity.
Method | Description |
---|---|
createRecord | Creates a table record. |
deleteRecord | Deletes a table record. |
retrieveRecord | Retrieves a table record. |
retrieveMultipleRecords | Retrieves a collection of table records. |
updateRecord | Updates a table record. |
isAvailableOffline | Returns a boolean value indicating whether an entity is present in user’s profile and is currently available for use in offline mode. |
execute | Execute a single action, function, or CRUD operation. |
executeMultiple | Execute a collection of action, function, or CRUD operations. |
Related articles
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기