PC Review


Reply
Thread Tools Rate Thread

How to create user-defined fields in Organizational Forms Library folder?

 
 
bekarkemail@gmail.com
Guest
Posts: n/a
 
      14th Mar 2007
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.

 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      15th Mar 2007
The folder referred to is the folder that contains the items that use the custom form, not the Organizational Forms library.

--
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)...
> 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.
>

 
Reply With Quote
 
bekarkemail@gmail.com
Guest
Posts: n/a
 
      15th Mar 2007
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.
>
> --
> 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
>
> <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.

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

 
Reply With Quote
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      15th Mar 2007
> 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.
>


>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create and Get user-defined fields in folder ck Microsoft Outlook Program Addins 10 11th Jan 2008 05:02 PM
How to design a custom form that use User defined fields defined on a particular folder (not the default inbox one) Lucas Campos Microsoft Outlook Form Programming 5 17th Aug 2007 05:03 PM
How to retrieve User Defined fields defined in an Folder? Lucas Campos Microsoft Outlook Form Programming 1 16th Aug 2007 09:32 PM
Error publishing a Form to Organizational Forms Library unable to go to folder BobH Microsoft Outlook Form Programming 4 13th Apr 2006 11:40 AM
Problems creating a folder in the Organizational Forms Library Sander Kooij Microsoft Outlook Program Addins 1 30th Apr 2005 09:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:36 PM.