Community
Showing results for 
Search instead for 
Do you mean 
Reply

Enums

Bronze Super Contributor
Posts: 1,231
Country: USA

Enums

[ Edited ]

Can we have a 'Custom' added to the ACT enums in the framework?

 

Act.Framework.RecordType

 

Act.Framework.FrameworkEntityType

 

For creating classes that scope contacts. companies, groups, opportunities and 'Custom Tables" it would be very very handy. If you are drilling that far could you also add Activity, Group and Note to the RecordType enum?

 

Or do you already have a enum that encompasses this?  I did not see any in my travels.

 

Here is an example of how we may use it:

New

Act.Framework.Database.FieldDescriptor("FeatureRequestID", "FeatureRequestID", Act.Framework.RecordType.Custom, Act.Framework.Database.FieldDataType.Character)

 

We create our own FieldDesriptor for the primay key "ID field " because ACT does not return it in the fieldDesriptor collections.

 

Thanks

-- Jim Durkin

 

Bronze Super Contributor
Posts: 1,231
Country: USA

Re: Enums

I bumped against this again today so I am seconding my request to add additional record types into the enum. You could also create a generic enum would be much appreciated.

 

Now for a couple of hours of coding to work around the enum limitation.

 

Thanks

-- Jim Durkin