Blog, Customization, Howto

Enable plus button for subgrids on disabled forms

Several weeks ago I got a question from my customer – when record is inactive it’s not possible to add associated records from subgrids located on entity form – is it possible to bring back “plus” button to the subgrid even if record is deactivated?

I thought that it should be possible and took time for investigation. Here is what I did:

  1. Created solution and put only related entity inside (in my case it’s contact).
  2. Opened created solution using Ribbon Workbench.
  3. In the “SubGrid” part found button with “ADD NEW {0}” label, clicked with the right of mouse on it and chosen “Customize Command”:
  4. Selected command that appeared in application and removed “Mscrm.EntityFormIsEnabled” from Enable Rules of command:
  5. Publish changes of ribbon and refresh form to see changes:

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.