Comparing version 1.0.15 to 1.0.16
{ | ||
"name": "xrm-ex", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "Xrm-Ex is a TypeScript framework that simplifies the usage of Dynamics 365 Client API. It provides intuitive wrappers for formContext and Xrm Object, helping developers reduce the amount of code, increase maintainability, and decrease errors. Ideal for developers looking to leverage the power of Dynamics 365 Client API within the TypeScript ecosystem.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -30,15 +30,19 @@ # Xrm-Ex: Dynamics 365 Xrm Extensions | ||
- [With XrmEx:](#with-xrmex-3) | ||
- [5. Alert Dialogs in Dynamics 365](#5-alert-dialogs-in-dynamics-365) | ||
- [Without XrmEx:](#without-xrmex-4) | ||
- [With XrmEx:](#with-xrmex-4) | ||
- [Advanced Features](#advanced-features) | ||
- [1. Lookup Filters](#1-lookup-filters) | ||
- [Without XrmEx:](#without-xrmex-4) | ||
- [With XrmEx:](#with-xrmex-4) | ||
- [Without XrmEx:](#without-xrmex-5) | ||
- [With XrmEx:](#with-xrmex-5) | ||
- [2. Advanced Lookup Filter](#2-advanced-lookup-filter) | ||
- [Special with XrmEx: Supports entire FetchXml including Link-Entity!](#special-with-xrmex-supports-entire-fetchxml-including-link-entity) | ||
- [3. Execute Bound Action](#3-execute-bound-action) | ||
- [Without XrmEx:](#without-xrmex-5) | ||
- [With XrmEx:](#with-xrmex-5) | ||
- [4. Retrieve EnvironmentVariableValue](#4-retrieve-environmentvariablevalue) | ||
- [Without XrmEx:](#without-xrmex-6) | ||
- [With XrmEx:](#with-xrmex-6) | ||
- [4. Retrieve EnvironmentVariableValue](#4-retrieve-environmentvariablevalue) | ||
- [Without XrmEx:](#without-xrmex-7) | ||
- [With XrmEx:](#with-xrmex-7) | ||
## Installation | ||
@@ -238,2 +242,20 @@ XrmEx can be easily installed via npm: | ||
5\. Alert Dialogs in Dynamics 365 | ||
----------------------------- | ||
### Without XrmEx: | ||
```js | ||
await Xrm.Navigation.openAlertDialog({ text: `Error in ${XrmEx.getMethodName()}\n` + error.message, title: "Error" }, { height: 120, width: 260 }); | ||
``` | ||
This method requires manual sizing and is more verbose, making it less efficient for dynamic content. | ||
### With XrmEx: | ||
```js | ||
await XrmEx.openAlertDialog("Error", `Error in ${XrmEx.getMethodName()}\n` + error.message); | ||
``` | ||
The XrmEx approach **automatically sizes the dialog based on content** to avoid scrolling, offering a simplified and concise method. | ||
Advanced Features | ||
@@ -240,0 +262,0 @@ ----------------- |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
204752
419