Hi,
I read collection of records using this script:
var entities = Get>("ReadDataUserTask2.ResultCompositeObjectList");
I want to loop through this list and set parameter with type contact to each object of the list.
The collection of records is a list of opportunityContact.
I tried converting each ICompositeObject to opportunityContact using this script:
foreach (var entity in entities)
{
...
OpportunityContact contactInOpp = (OpportunityContact)entity;
Set("contact",contactInOpp.Contact);
}
but OpportunityContact is not a known object.
How do I access the types of the tables (no need to add data to DB or search just get the type in order to convert)?
Thanks,
Chani