[ ] Microsoft Dynamics 365 Online Version 8.2 (8.2.x) (DB 8.2.x) online
[ ] Microsoft Dynamics 365 Online Version 9.0 (9.0.x) (DB 9.0.x) online
[ ] Microsoft Dynamics 365 Online Version 9.0.2 (9.0.2) (DB 9.0.2) online
[X] Microsoft Dynamics 365 Online Version 9.1 (9.1.x) (DB 9.1.x) online
UCI or Classic Web
[X] UCI (XrmApp)
[ ] Classic Web (XrmBrowser)
Online or On Premise
[X] Online
[ ] On Premise
Browser
[X] Chrome
[ ] Firefox
[ ] IE
[ ] Edge
Describe the bug
When using the xrmApp.Entity.SubGrid.GetSubGridItems("candidateactivities") function there are never any attributes being returned as expected. When called I can see that the count is correct, I have two items in my subgrid with 8 columns/attributes populated.
Special formatting / display
No
Code to reproduce
List subgrid = xrmApp.Entity.SubGrid.GetSubGridItems("candidateactivities");
foreach(GridItem gridItem in subgrid)
{
}
-->
**Expected behavior**
The attributes should be populated from the subgrid so that they can be asserted against to ensure the correct data is displayed in the grid.
**Screenshots**
![image](https://user-images.githubusercontent.com/59575810/141087326-8af979b0-49de-4778-acf2-d489571b8160.png)
![image](https://user-images.githubusercontent.com/59575810/141092027-38a93706-3f19-43ae-99a5-5115ddb52f16.png)
Bug Report
EasyRepro Version
UCI or Classic Web
Online or On Premise
Browser
Describe the bug
When using the xrmApp.Entity.SubGrid.GetSubGridItems("candidateactivities") function there are never any attributes being returned as expected. When called I can see that the count is correct, I have two items in my subgrid with 8 columns/attributes populated.
Special formatting / display
No
Code to reproduce
List subgrid = xrmApp.Entity.SubGrid.GetSubGridItems("candidateactivities");
foreach(GridItem gridItem in subgrid)
{
}