Is it possible to use the API to retrieve a list of attribute values for a custom field in FileSite / Desksite 8.2?We have an Outlook client app (C# WinForm) where we would like to present a combo-box of valid responses for a custom field in a Worksite database.It appears easy enough to use an SQL adapter and a select query the Custom* tables on the database level to obtain the values, but we would rather handle this through the API obviously.Any light that can be shed on how to accomplish this would be most appreciated.
// Logon to a dms and select database IManDMS oDMS = new ManDMSClass(); IManSession oSess = oDMS.Sessions.Add(WS_SERVER); oSess.TrustedLogin(); IManDatabase db = oSess.Databases.ItemByName(WS_DATABASE); // get collection of valid profile field values for Custom 3 IManCustomAttributes profileFieldValues = db.SearchCustomAttributes(String.Empty, imProfileAttributeID.imProfileCustom3, imSearchAttributeType.imSearchID, imSearchEnabledDisabled.imSearchEnabledOnly, true); // do something with them foreach (IManCustomAttribute entry in profileFieldValues) { Trace.WriteLine(entry.Description); }