web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to trigger save...
Power Apps
Unanswered

Unable to trigger savedquery RetrieveMultiple plugin.

(0) ShareShare
ReportReport
Posted on by

I am trying to hide/show my custom entity (DataTask) Views based on some custom conditions. I intend to use a Plugin to achieve this using RetrieveMultiple message within savedquery (primary entity) entity. I am trying to follow this link.

 

I have tried adding the step to execute in the pre-validation, pre-operation and post operation step. But neither of these triggered the plugin and did not execute when I am loading the View of my custom entity.

 

Please suggest for which action it will trigger the savedquery with RetrieveMultiple message.

I have the same question (0)
  • Verified answer
    EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Anonymous,

    To isolate the issue and ensure the plugin registration is ok, can you try just have a dummy plugin that fires an InvalidPluginExecutionException with a dummy message. If that works, then you registration is fine and probably something in your code.

    But I do not suggest you have a plugin to show/hide views. Instead here are some low code/no code options:

    1. Split your model-driven apps. Have an app with just the entities and views you want your users to have access to. You can assigned a security role(s) to an app.
      1. App designer: https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/build-first-model-driven-app
      2. Assign security role to an app: https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/share-model-driven-app
    2. Use personal views instead, and share those personal views with the desired users/teams.
      1. Create/share personal views: https://blog.magnetismsolutions.com/blog/adammurchison/2017/09/14/how-to-create-and-share-personal-views-in-microsoft-dynamics-365

    Hope this helps!

  • IvanLiu Profile Picture
    on at

    Hi @Anonymous,

     

    May I know whether your organization is use application mode or not?  We meet the same issue. And we can trigger the plugin when we get the view data from [Advanced Find] search. It only not works on the unified interface page. 

    Can you share your experience on this?

     

    Thanks.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard