A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Are user-defined fields indexed for Advanced Search?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 16th 09, 03:09 AM posted to microsoft.public.outlook.program_addins
Mark B[_2_]
external usenet poster
 
Posts: 93
Default Are user-defined fields indexed for Advanced Search?

Are Outlook 2007 email user-defined fields I create automatically indexed
for Advanced Search?

  #2  
Old January 16th 09, 02:18 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Are user-defined fields indexed for Advanced Search?

For Instant Search or Advanced Find? Not automatically for either.

For Advanced Find you'd add the fields using the Advanced tab to add user
defined fields in the folder (the user properties must be added as folder
properties and not just in the items).

For Instant Search you'd use the add criteria setting to add the form the
user properties are from, which makes them available for Instant Search. The
properties must be from custom, published forms in that case.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Mark B" wrote in message
...
Are Outlook 2007 email user-defined fields I create automatically indexed
for Advanced Search?


  #3  
Old January 16th 09, 08:54 PM posted to microsoft.public.outlook.program_addins
Mark B[_2_]
external usenet poster
 
Posts: 93
Default Are user-defined fields indexed for Advanced Search?

If not automatically indexed then for Advanced Find, is there a way to
create an index?

The reason is we are trying to find an email, normally using GetItemFromID
but if it has been moved to another folder we'd then have to regress to the
slower Advanced Find method.

I can't see any other way to find an email since using the Find method isn't
multi-threaded and locks up the GUI.


"Ken Slovak - [MVP - Outlook]" wrote in message
...
For Instant Search or ? Not automatically for either.

For Advanced Find you'd add the fields using the Advanced tab to add user
defined fields in the folder (the user properties must be added as folder
properties and not just in the items).

For Instant Search you'd use the add criteria setting to add the form the
user properties are from, which makes them available for Instant Search.
The properties must be from custom, published forms in that case.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Mark B" wrote in message
...
Are Outlook 2007 email user-defined fields I create automatically indexed
for Advanced Search?



  #4  
Old January 19th 09, 01:56 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Are user-defined fields indexed for Advanced Search?

The Outlook object model is not multi-threaded at all. In fact if you call
the OOM on a background thread you will hang or crash Outlook.

There is no way to automatically create an index for an AdvancedSearch,
which is the code equivalent for the Advanced Find method. AdvancedSearch is
asynch, so you can just set an event handler for the AdvancedSearchComplete
event.

If you want faster you'd have to use a different API such as CDO 1.21 or
Extended MAPI (C++ or Delphi code only) or Redemption
(www.dimastr.com/redemption) and set up a restriction on a search folder,
which is roughly what you're doing when you initiate an AdvancedSearch.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Mark B" wrote in message
...
If not automatically indexed then for Advanced Find, is there a way to
create an index?

The reason is we are trying to find an email, normally using GetItemFromID
but if it has been moved to another folder we'd then have to regress to
the slower Advanced Find method.

I can't see any other way to find an email since using the Find method
isn't multi-threaded and locks up the GUI.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search not working for user defined fields GARYBIZ Outlook - Using Contacts 7 December 13th 08 03:39 PM
can not search user defined fields - 2007 GARYBIZ Outlook - Using Contacts 0 September 26th 08 03:46 AM
How to design a custom form that use User defined fields defined on a particular folder (not the default inbox one) Lucas Campos[_2_] Outlook - Using Forms 5 August 17th 07 05:03 PM
How to retrieve User Defined fields defined in an Folder? Lucas Campos[_2_] Outlook - Using Forms 1 August 16th 07 09:32 PM
Why can't I Search User Defined Fields Davicho Outlook - Using Contacts 6 May 22nd 07 03:56 AM


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.