View Single Post
  #4  
Old March 15th 07, 09:07 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to create user-defined fields in Organizational Forms Library folder?

For all the exchange users, how can I use Items.Find() method on
custom forms that are deployed in Organizational Forms Library?


With a search string to search custom fields? You can't unless you add those fields to the folder you want to search, i.e. to the parent folder of the Items collection.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

wrote in message ups.com...
On Mar 14, 11:08 pm, "Sue Mosher [MVP-Outlook]"
wrote:
The folder referred to is the folder that contains the items that use the custom form, not the Organizational Forms library.

wrote in oglegroups.com...
Hi,


I have deployed few custom forms in OFL and trying to use Items.Find
on my custom fields but getting "Property unknown" error.


As per MSDN documentation, "If you are using user-defined fields as
part of a Find or Restrict clause, the user-defined fields must exist
in the folder otherwise the code will generate an error stating that
the field is unknown. You can add a field to a folder by displaying
the Field Chooser and clicking New."


Can anyone pls. tell me how to create user-defined field for OFL
folder as I can't find such option for OFL?


Thanks.


Ok...let me ask my question in this way.



Ads