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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Can the following quick create button highlighted in yellow in OPEN OPPORTUNTITIES grid in the Account page be hidden or not made clickable

(0) ShareShare
ReportReport
Posted on by 171

Can the following quick create button highlighted in yellow in OPEN OPPORTUNTITIES grid in the Account page be hidden or not made clickable824260.Capture.PNG

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Rajesh Chungath Profile Picture
    467 on at

    Please use ribbon workbench and configure hide show rule

    Please download using below link

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

    A tutorial is available from https://ribbonworkbench.uservoice.com/knowledgebase/articles/71374-1-getting-started-with-the-ribbon-workbench

    You can also call a java-script function if required any custom logic

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    remember while configuring the enable rule and display rule, check the current entity is "Account" only proceed. Else other entities with this subgrid will get affected too.

    You can refer below video on how to configure it.

    www.youtube.com/watch

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    You can refer this thread as well-

    community.dynamics.com/.../864213

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi ,

    Here is the details steps you need to follow - 

    - Add below code in a JS web resource .

    Make sure you write enable rule like below so that , the button will be hide only for account subgrid - 

    function HideOpportunitySubGridButton() {
        var entityType = Xrm.Page.data.entity.getEntityName();
        if (entityType == "account") {
            return false;
        }
        else {
            return true;
        }
    }

    - Create one solution and include the Opportunity entity.

    - Open Ribbon workbench and select the solution.

    - Select the Add New button under subgrid area and click on customize button.

    - Find the command and click on Add new enable rules.

    - Select the web resource and put the JS  function name above mentioned.

    - Select Default true and invert true.

    - Publish

    Hope this  helps.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans