Community
Showing results for 
Search instead for 
Do you mean 
Reply

PickListAttribute Error

Bronze Super Contributor
Posts: 1,231
Country: USA

PickListAttribute Error

How do I get the IsLimitToList attribute from an existing PickListAttribute without SDK Errors?

VB

Dim PickListAttribute As Act.Framework.Database.PickListAttribute PickListAttribute = DirectCast(FieldDescriptor.Attributes(Act.Framework.Database.FieldProperty.PickList), Act.Framework.Database.PickListAttribute)

 

 

C#

Act.Framework.Database.PickListAttribute PickListAttribute = default(Act.Framework.Database.PickListAttribute); PickListAttribute = (Act.Framework.Database.PickListAttribute)FieldDescriptor.Attributes(Act.Framework.Database.FieldProperty.PickList);

 

 

But this next line throws an error ???

Dim value as boolean = PickListAttribute.IsLimitToList

 


ERROR:

 

+ ex {"Method not found: 'Act.Framework.Database.FieldSecurityAccessListItem[] Act.Framework.Database.PickListAttribute.SecurityGetUsers(Act.Framework.Database.FieldDescriptor)'."} System.Exception

thanks in advance

-- jim durkin