Comparing version 2.2.0 to 2.3.0
{ | ||
"name": "xrm-ex", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "Xrm-Ex is a JavaScript 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": [ |
@@ -544,2 +544,3 @@ /// <reference types="xrm" /> | ||
protected _customFilters: any; | ||
private viewId; | ||
constructor(attribute: string); | ||
@@ -608,2 +609,3 @@ getIsPartyList(): boolean; | ||
/** | ||
* @deprecated Use {@link LookupField.addCustomView} instead, which provides more flexible filtering capabilities and better performance | ||
* Adds an additional custom filter to the lookup, with the "AND" filter operator. | ||
@@ -625,2 +627,17 @@ * @param entityLogicalName (Optional) The logical name of the entity. | ||
/** | ||
* Adds a custom view to filter the lookup using FetchXML | ||
* Only works for one table at a time, cannot add views for multiple tables at the same time | ||
* @param fetchXml The complete FetchXML query including filtering conditions | ||
* @returns The LookupField instance for method chaining | ||
*/ | ||
addCustomView(fetchXml: string): this; | ||
/** | ||
* Extracts entity name from fetchXml | ||
*/ | ||
private extractEntityFromFetchXml; | ||
/** | ||
* Generates layoutXml based on fetchXml attributes | ||
*/ | ||
private generateLayoutXml; | ||
/** | ||
* Removes all filters set on the current lookup attribute by using addPreFilterToLookup or addPreFilterToLookupAdvanced | ||
@@ -627,0 +644,0 @@ */ |
Sorry, the diff of this file is too big to display
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
290683
2513