> 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
<(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> On Mar 14, 11:08 pm, "Sue Mosher [MVP-Outlook]"
> <sue...@outlookcode.com> wrote:
>> The folder referred to is the folder that contains the items that use the custom form, not the Organizational Forms library.
>>
>> <bekarkem...@gmail.com> wrote in messagenews:(E-Mail Removed)...
>> > 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.
>
>