Note
ამ გვერდზე წვდომა ავტორიზაციას მოითხოვს. შეგიძლიათ სცადოთ შესვლა ან დირექტორიების შეცვლა.
ამ გვერდზე წვდომა ავტორიზაციას მოითხოვს. შეგიძლიათ სცადოთ დირექტორიების შეცვლა.
The Client API object model for model-driven apps provides objects and methods that you can use to apply custom business logic in model-driven apps by using JavaScript, such as:
- Get or set column values.
- Show and hide user interface elements.
- Reference multiple controls per column.
- Access multiple forms per table.
- Manipulate form navigation items.
- Interact with the business process flow control.
It's important that you understand the model-driven apps Client API object model to effectively write and use your JavaScript code.
Root objects in the Client API object model
At the root of the Client API object model are the following contexts and the Xrm object:
| Object | Description |
|---|---|
| execution context | Represents the execution context for an event in model-driven apps forms and grids. |
| form context | Provides a reference to a form or an item on the form against which the current code executes. To get the form context object, use the execution context getFormContext method. |
| grid context | Provides a reference to a grid or a subgrid on a form against which the current code executes. |
| Xrm | Provides a global object for performing operations that don't directly impact the data and UI in forms, grids, subgrids, controls, or columns. For example, use it to navigate forms, and create and manage records by using Web API. |