Extensions

The Kipon Solid platform is offering som convinient extensions related to writing plugins. The section is documented by its namespace. To get the method mentioned here, add the "using [namespace]" in the top of your class code.

Kipon.Xrm.Extensions.QueryExpression

QuickFindFilter: public static string QuickFindFilter(this Microsoft.Xrm.Sdk.Query.QueryExpression query)

Returns the quick find string of a queryexpresssion if present, otherwise null

GetAttributeFilter: public static T[] GetAttributeFilter(this Microsoft.Xrm.Sdk.Query.QueryExpression query, string attributeLogicalName)

Returns an array of value T by extracting values that has been aplied to a filter on the column attributeLogicalName. If no filter found on the column, null will be returned

GetIdFilter: public static Guid? GetIdFilter(this Microsoft.Xrm.Sdk.Query.QueryExpression query, string logicalName)

Returns the id of the primary entity, if a filter has been applied on the entity primary id, otherwise null

© Kipon ApS 2020, 2021, 2022, 2023, 2024. All content on the page is the property of Kipon ApS. Any republish or copy of this content is a violation. The content of this site is NOT open source, and cannot be copied, republished or used in any context without explcit permission from the owner.