Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

How to use childRelationship in Apexdata

I have ParentObject and ChildObject. Since I need to display the data in different format, I am using IApexDataSource. 

I am using inner query like Select id,name,datecreate, (select id,name, endInfo from ChildObjects__r) from ParentObject.

I am able to retrieve the data of ParentObject and added to the QueryResult.rows.add()

But How to retrieve Child Record data inside the  public Loop.ExternalData.QueryResultSet query(Loop.ExternalData.QueryRequestInfo requestInfo) method.

Any samples or links will be helpful.


Labels: (1)
0 Kudos