Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Hide Result button in Advance Find based on Security Role

(0) ShareShare
ReportReport
Posted on by 5

Hi,

Is it possible to hide Result button in Advance Find for a specific Security Role?
pastedimage1646729156374v1.png_2D00_640x480.png
Thanks in advance.

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,961 Moderator on at
    RE: Hide Result button in Advance Find based on Security Role

    HI,

    Please share the code you tried. Are you using Xrm.Webapi to retrieve the logged in user role name then you will have to use promise in your JS code because Xrm.Webapi is async and not give you the result in real time.

    debajmecrm.com/.../

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Lokesh02 Profile Picture
    Lokesh02 5 on at
    RE: Hide Result button in Advance Find based on Security Role

    Thanks for replying Bipin Kumar

    I already tried it and its not working

    if u have already tried it can u please share the steps of the enable rule or the display rule it will be helpful for me.

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,961 Moderator on at
    RE: Hide Result button in Advance Find based on Security Role

    Hi,

    You will need to create new solution and add Application ribbon to your solution by selecting Client Extension->Add Existing->Application ribbon

    Now open Ribbon workbench tool-> Select your Solution-> Select Result button under Home ->Right click->Customize command ->add your enable rule/disable rule to hide/show based on security role.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Guido Preite Profile Picture
    Guido Preite 54,073 Moderator on at
    RE: Hide Result button in Advance Find based on Security Role

    EDIT: the response from Bipin Kumar is correct

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,317 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans