PC Review


Reply
Thread Tools Rate Thread

Using Folder Assistant in Outlook via Public Folders on Custom Form field

 
 
Dan C.
Guest
Posts: n/a
 
      17th Feb 2009

I'm working on developing a custom Outlook form based on the message
template. I've added a combobox drop down for "State". Basically, this
form will be available on the Organizational level of the exchange
server and users will be able to select it, fill in the message body and
select a representative state (AR or AK or something like that) then
click send.
I ran into a problem with the fact that setting up a rule in the mailbox
creates a "client-only" situation. Since this mailbox is not open all
the time, I need the rule to be "server-based". The workaround I came
up with was to forward the message to a Public folder and use the Folder
Assistant to manage the message forwarding.
Here's my problem...When I go to 'Add Rule', 'Advanced', and 'Show
Selected Properties of..." and select the right form from the
Organizational level, then put a tick mark next to the "State" field,
the criteria doesn't save when I OK out of those screens. I get no
error message.

How can I forward messages from either the 'Inbox' or from this Public
folder based on this "State" field?


*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      17th Feb 2009
Do you have a user property set up that takes the value of your drop-down (a
bound field)? Without that you will never get a value you can work with. Is
the user property added to the folder fields?

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


"Dan C." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> I'm working on developing a custom Outlook form based on the message
> template. I've added a combobox drop down for "State". Basically, this
> form will be available on the Organizational level of the exchange
> server and users will be able to select it, fill in the message body and
> select a representative state (AR or AK or something like that) then
> click send.
> I ran into a problem with the fact that setting up a rule in the mailbox
> creates a "client-only" situation. Since this mailbox is not open all
> the time, I need the rule to be "server-based". The workaround I came
> up with was to forward the message to a Public folder and use the Folder
> Assistant to manage the message forwarding.
> Here's my problem...When I go to 'Add Rule', 'Advanced', and 'Show
> Selected Properties of..." and select the right form from the
> Organizational level, then put a tick mark next to the "State" field,
> the criteria doesn't save when I OK out of those screens. I get no
> error message.
>
> How can I forward messages from either the 'Inbox' or from this Public
> folder based on this "State" field?
>
>
> *** Sent via Developersdex http://www.developersdex.com ***


 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      18th Feb 2009
In All Fields is that property listed as being in the item or in the folder
or both?

Are you using a standard user property or textbox to capture the selected
value of the drop-down? I believe that's needed to get what you want to
work.

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


"Dan C." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have the combobox control name as cbxState and the value as cbxState
> to keep it simple. Yes. It is listed on the "All Fields" tab in the
> design window. What do you mean folder fields?
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***


 
Reply With Quote
 
Dan C.
Guest
Posts: n/a
 
      18th Feb 2009
Ken, Thanks for your diligence. In All Fields, it is listed in both the
item and the folder. I used the control toolbox to create a combobox.
I have renamed the control as cbobxState and labeled the value as
strStateValue to make it easier to differentiate. The Type = Text,
Format = Text, List type = Dropdown, Property to use = Value.

Since the exchange mailbox will not be open when messages are arriving,
I need the rule run on the server side without any user input. The
problem is that when I choose "selected properties of documents or
forms" it says it has to be a client-only rule and will run when outlook
is running. That is the reason I even went to thinking about a public
folder in the first place. The action of applying a rule to this field
seems to be the problem in trying to forward this message or redirecting
to another recipient.

Thoughts?






From: Ken Slovak - [MVP - Outlook]

In All Fields is that property listed as being in the item or in the
folder
or both?

Are you using a standard user property or textbox to capture the
selected
value of the drop-down? I believe that's needed to get what you want to
work.

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



*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      18th Feb 2009
My thoughts are not to use a rule for that but to code it. Makes things a
lot simpler.

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


"Dan C." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Ken, Thanks for your diligence. In All Fields, it is listed in both the
> item and the folder. I used the control toolbox to create a combobox.
> I have renamed the control as cbobxState and labeled the value as
> strStateValue to make it easier to differentiate. The Type = Text,
> Format = Text, List type = Dropdown, Property to use = Value.
>
> Since the exchange mailbox will not be open when messages are arriving,
> I need the rule run on the server side without any user input. The
> problem is that when I choose "selected properties of documents or
> forms" it says it has to be a client-only rule and will run when outlook
> is running. That is the reason I even went to thinking about a public
> folder in the first place. The action of applying a rule to this field
> seems to be the problem in trying to forward this message or redirecting
> to another recipient.
>
> Thoughts?


 
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
Re: Using Folder Assistant in Outlook via Public Folders on Custom Form field Dan C. Microsoft Outlook Form Programming 0 17th Feb 2009 10:21 PM
microsoft.public.developer.outlook.addins, microsoft.public.outlook.program_addins,microsoft.public.dotnet.languages.csharp,microsoft.public.outlook.general Anushya Microsoft C# .NET 0 15th Jan 2004 07:18 AM
microsoft.public.developer.outlook.addins,microsoft.public.dotnet.languages.csharp,microsoft.public.outlook.program_addins,microsoft.public.outlook.general Anushya Microsoft Dot NET Framework Forms 0 9th Jan 2004 08:21 AM
microsoft.public.dotnet.languages.vb.data,microsoft.public.dotnet.languages.vb.controls,microsoft.public .dotnet.languages.vb,microsoft.public.dotnet.languages.vb.upgrade Gladys Microsoft VB .NET 3 2nd Jan 2004 07:14 PM
Re: Public Folder Assistant Rule on Custom Form fields Andrea Microsoft Outlook 0 13th Nov 2003 07:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:41 AM.