Community
Showing results for 
Search instead for 
Do you mean 
Reply

FieldDescriptor() collection

Bronze Super Contributor
Posts: 1,231
Country: USA

FieldDescriptor() collection

Does anyone know how to convert/cast from Act.Framework.CustomEntities.CustomEntityFieldDescriptor  to Act.Framework.Database.FieldDescriptor

 

I was running through the ACTFramework.Fields.GetFields(EntityDescriptor) collection but sometimes this collection is null??

 

On second though...

Does anybody know how to force the all the fields to be return using ACTFramework.Fields.GetFields(EntityDescriptor)

 

thanks

-- Jim Durkin

Nickel Super Contributor
Posts: 441
Country: UK

Re: FieldDescriptor() collection

Hi Jim,

You can't cast them, the only way I know is to get one from the other is to get a list of fields as  Act.Framework.Database.FieldDescriptor and then iterate through them looking for a matching alias

 

Tom