Closed MDendura closed 5 years ago
@MDendura - From reviewing the scenario and our underlying code, this is a feature gap in the current design. The GetGridItems() method being used functions under the scope of an entity grid and not for use with subgrids on a form.
I'll add an item to our backlog to add an overload method that could be utilized in subgrid scenarios. In the meantime, you could try using the RelatedGrid navigation options and pull data using GetGridItems from there (since that should adjust the information pane to only display the desired related grid items).
Best Regards, Tyler
Related to #113, but that's marked as closed so I'm recreating here with more details.
It would be useful to be able to select a subgrid from the form by name, as I'm facing the same problem on the default System User form.
Here's the form I'm testing with:![systemuser form](https://user-images.githubusercontent.com/917692/42462407-1ba5e4ce-839b-11e8-8f2f-aa207963ba05.png)
You can see there's a couple of subgrids on this form.
And here's the code from one of my tests:
Perhaps there is a way to select the queues subgrid by name that I have missed.
EDIT: Also worth nothing that I'm testing against Dynamics 365 Online Version 1612 (9.0.2.449) (DB 9.0.2.438)