10-13-2011 01:39 PM
How do I get to the fields and values for this:
Dim CEL As Act.Framework.CustomEntities.CustomEntityList(Of Act.Framework.CustomEntities.CustomSubEntity) = tblSponsors.GetRows(Nothing, New Act.Framework.IFilterCriteria(){fc})
For Each CSE As Act.Framework.CustomEntities.CustomSubEntity In CEL
<get field values here and do something...>
Next
I can do a CSE.ID OK so I know I am returning the records I need, just can't make the leap to specifying the desired field(s)..
Thanks.
10-17-2011 05:20 AM
To get a field value from a CSE, your going to need to get the CSE manager for that particular entity. Unless I'm mistaken the CSE mgr has a Fields property, so you can then retrieve fied values like with other entities:
object value = CustomSubEntityMgr.Fields["MyFieldName"];
10-18-2011 09:28 AM
Ok - thanks. I will see if I can put that together.
I am having trouble with the namespace(s) as far as knowing what is what...