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