This content has been marked as final. Show 2 replies
1 of 1 people found this helpful
The AFSearch doesn't support a search filter for an AFAttribute so you need to useAFAttribute.FindElementAttributes(...)
AFCategory cat = db.AttributeCategories["X"]; var foundAtts = AFAttribute.FindElementAttributes(db, null, "*", null, null, AFElementType.Any, "*", cat, TypeCode.Empty, true, AFSortField.Name, AFSortOrder.Ascending, 100000);
Thank you, this is exactly what I was looking for!