'How to Add New Record from Subgrid in Dynamics CRM with Easyrepro
Does anyone know how to add a new record from subgrid in dynamics CRM with Easyrepro?
xrmApp.Entity.SubGrid.ClickCommand("subGridName", "button", null, null);
I used this line but it gives me an error saying no command of this name exists.
I just need to click the Add New button on the subgrid.
Solution 1:[1]
xrmApp.Entity.ClickSubgridAddButton("subGridName");
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Syscall |
