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 :
Microsoft Dynamics CRM (Archived)

Add buton on subgrid

(0) ShareShare
ReportReport
Posted on by

Hi,

I've just started learning how to make costumizations in CRM. I've created custom entity and added subgrid in opportunity main form. Now when I set opportunity as won the Add button on my subgrid is not visible, when I reopen my opportunity then Add button becomes visible. Can someone explain my why is that happen and how can I reverse it? I need to hide this button when opportunity is not won and show when show when it's won.

fot1.PNG

fot2.PNG

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Aman Kothari Profile Picture
    on at

    Hi,

    you can refer below threads for show\hide '+' button.

    https://community.dynamics.com/crm/f/117/t/163091

    community.dynamics.com/.../138508

    Hope it'll help you.

    Thanks

  • Verified answer
    Community Member Profile Picture
    on at

    Hi Pawel,

    You can use Ribbon workbench to hide/show the subgrid button based on your condition.

    You have to add a javascript webresource and call it from ribbon work bench.

    For more information follow this link:

    ribbonworkbench.uservoice.com/.../489288-show-or-hide-the-add-new-button-on-form-sub-grid

  • Community Member Profile Picture
    on at

    Thanks for reply but it still doesnt work as I want. I konw now how to set visibility of field based on other fields but when I click in my  opportunity  button "close as won" then "Add" button on subgrid disapprear.

  • Community Member Profile Picture
    on at

    Ok I've found solution for my issue. I disable Mscrm.EntityFormIsEnabled in my Enable rules and now it's working.

    Thanks for help :)

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans