Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

RetrieveMultiple SavedQuery plugin does not trigger on UCI

Posted on by 102

I have a plugin for filtering Views based on security roles or teams. It works on CRM classic ui but does not work on UCI only in advance find can see the filtering result.
I have set Tracing at the start of the plugin and found the UCI can not trigger the plugin at the beginning of the plugin.
I referenced some articles dealing with this issue,
e.g.
community.dynamics.com/.../retrievemultiple-not-trigger-on-account-view-but-trigger-on-advance-find
and
stackoverflow.com/.../is-it-possible-to-filter-savedqueries-using-plugins-in-uci

I check the QueryExpression and FetchExpression like below


if(context.InputParameters["Query"] is QueryExpression)
{
//Logic to update Query Expression
}
else if (context.InputParameters["Query"] is FetchExpression)
{
//Logic to update Fetch Expression
}


All the above solutions didn't solve the problem of RetrieveMultiple SavedQuery plugin's TRIGGER. Because before checking QueryExpression and FetchExpression, I cannot trace the event triggered from UCI.

Any solution and suggestion are welcome and much appreciated.

  • DATAGREE Profile Picture
    DATAGREE 102 on at
    RE: RetrieveMultiple SavedQuery plugin does not trigger on UCI

    Looking forward to hearing from you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans