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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Help to hide buttons

(0) ShareShare
ReportReport
Posted on by 448

Hi everyone,
I would like to hide the 2 highlighted buttons until the opportunity is completely closed.
It's possible?
Any suggestion will be appreciated

pastedimage1671354234096v1.png

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    I believe you can use Custom Rule and JavaScript functions to do that.

    Good luck.

  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi DiePic,

    You can hide/show button through Ribbon Workbench easily:

    https://www.develop1.net/public/rwb/ribbonworkbench.aspx 

    Based on your description, you can use one field value to control these button show or hide:

    You can refer to the following links, which provide examples about how to show/hide button based on field value:

    https://d365demystified.com/2021/01/08/ribbon-button-visibility-based-on-a-field-value-in-dynamics-365-ribbon-workbench/ 

    https://crmminds.com/2022/04/26/dynamics-365-hide-show-custom-ribbon-button-by-ribbon-workbench/ 

    ======================

    Note(Knowledge Base of Ribbon Workbench ):

    https://ribbonworkbench.uservoice.com/ 

  • DiePic Profile Picture
    448 on at

    Hi Leah Ju 

    thanks for your reply ... do you know which is the column in table opportunity that change the status of the process ?

    pastedimage1671456550193v1.png

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    The thing is that column is not on the opportunity. It's on the entity of BPF. You should check it.

  • DiePic Profile Picture
    448 on at

    Thank you a33ik 

    can you give me more details of this entity that seem unaccesible from xrmtoolbox?

    "The 'RetrieveMultiple' method does not support entities of type 'businessprocessflowinstance'. MessageProcessorCache returned MessageProcessor.Empty.
    See the Execution Plan tab for details of where this error occurred"

    How can I retrieve data to hide my buttons?

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I believe you're trying to query wrong entity. Check this KB - learn.microsoft.com/.../model-business-process-flows

  • DiePic Profile Picture
    448 on at

     Thanks a33ik 
    I find the field that I can use to hide button as in Leah Ju  links.

  • DiePic Profile Picture
    448 on at

    Here the final evolution othis post


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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans