[ExtensionOf(formstr(CredManTable))] final class VKCredManTableFrm_Extension { public void init() { this.GetFormRunPersonalizationSettings().EnableSavedViewQueryPriority(); next init(); }}
[ExtensionOf(classStr(FormRun))] final class VKFormRunCls_Extension { public void init() { if (this.form().name() == formstr(CredManTable)) { // per specific form }// global this.GetFormRunPersonalizationSettings().EnableSavedViewQueryPriority(); next init(); }}
/// <summary> /// Extension point used as a fallback method when saved view's was unable to apply query personalizations due /// to conflicts with the form's query. /// </summary> /// <param name = "_sourceQuery">Query object with saved view query personalizations</param> /// <param name = "_targetQuery">Query object to be executed</param> /// <returns>Method has performed any modifications to the form's query</returns> [Replaceable] public boolean OnFailureQueryPersonalizationApply(Query _sourceQuery, Query _targetQuery) { return false; }
If you found value in what I share, I've set up a Buy Me a Coffee page as a way to show your support.
Buy Me a CoffeeNo comments. Be the first one to comment on this post.
DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics AX.
Authors are allowed to set their own "buy me a coffee" link.
Join us.