Custom Properties or Reply

Status
Not open for further replies.
B

Bridgji

I'm trying to persist a custom property with a message within our company. I

can add a custom property on the send event and see it in the other mailbox.

If I forward the email back the custom property value is still on the

forwared email. If I reply the value is dropped and the property has a value

of null. Is there a way to either have the reply hold on to the value or to

retreive the value from the original message which I could then reattach to

the new email. I'm using outlook 2007 currently and writing my add in with

visual studio 2008 and vsto.
 
K

Ken Slovak - [MVP - Outlook]

When reply is clicked you can use the ConversationIndex and

ConversationTopic properties to correlate items. Every item in a

conversation will have the same ConversationTopic (normalized subject). The

initial item in a conversation will have a time/date stamp as a starter

ConversationIndex. Each subsequent member of the same conversation will have

the ConversationIndex from the previous item with a new time/date stamp

appended. So even just by checking length of that property you can order

items and see what is the parent item for your reply.

"Bridgji" <u59223@uwe> wrote in message news:a63a655431395@uwe...
> I'm trying to persist a custom property with a message within our company.
> I
> can add a custom property on the send event and see it in the other
> mailbox.
> If I forward the email back the custom property value is still on the
> forwared email. If I reply the value is dropped and the property has a
> value
> of null. Is there a way to either have the reply hold on to the value or
> to
> retreive the value from the original message which I could then reattach
> to
> the new email. I'm using outlook 2007 currently and writing my add in with
> visual studio 2008 and vsto.
>
 
B

Bridgji

First of thanks for taking the time to answer my question! This is the first

Add-in so I'm pretty new to outlooks inner workings and definitely don't know

the best way to do things.

I know when the initial email is sent if that email and any subsequent

responses need to be tracked. This will be a minority of all emails. If I go

by conversation index etc I could save those values and check to see if it's

one I'm suppose to track. Would there be any way to flag the email without

putting something in the body or subject to identify that I'm tracking these

emails? I'm just worried about the performance hit looking up somewhere if

it's a tracked email on every email .

Thanks for the help,

Jim
- wrote:
> When reply is clicked you can use the ConversationIndex and
> ConversationTopic properties to correlate items. Every item in a
> conversation will have the same ConversationTopic (normalized subject). The
> initial item in a conversation will have a time/date stamp as a starter
> ConversationIndex. Each subsequent member of the same conversation will have
> the ConversationIndex from the previous item with a new time/date stamp
> appended. So even just by checking length of that property you can order
> items and see what is the parent item for your reply.
>
> > I'm trying to persist a custom property with a message within our company.
> > I

> [quoted text clipped - 9 lines]
> > the new email. I'm using outlook 2007 currently and writing my add in with
> > visual studio 2008 and vsto.
 
K

Ken Slovak - [MVP - Outlook]

You can add user properties to any item (item.UserProperties). You can also

make use of a field that normally isn't used for anything such as Mileage or

BillingInformation.

If you're just getting into Outlook programming you might want to go to

www.outlookcode.com, which has a ton of Outlook programming information and

samples.

"Bridgji" <u59223@uwe> wrote in message news:a63d4d049fe74@uwe...
> First of thanks for taking the time to answer my question! This is the
> first
> Add-in so I'm pretty new to outlooks inner workings and definitely don't
> know
> the best way to do things.

> I know when the initial email is sent if that email and any subsequent
> responses need to be tracked. This will be a minority of all emails. If I
> go
> by conversation index etc I could save those values and check to see if it's
> one I'm suppose to track. Would there be any way to flag the email
> without
> putting something in the body or subject to identify that I'm tracking
> these
> emails? I'm just worried about the performance hit looking up somewhere
> if
> it's a tracked email on every email .

> Thanks for the help,
> Jim
 
B

Bridgji

Great thanks I'll go there. I appreciate your time. I think you've got me in

the right direction.
- wrote:
> You can add user properties to any item (item.UserProperties). You can also
> make use of a field that normally isn't used for anything such as Mileage or
> BillingInformation.

> If you're just getting into Outlook programming you might want to go to
> www.outlookcode.com, which has a ton of Outlook programming information and
> samples.
>
> > First of thanks for taking the time to answer my question! This is the
> > first

> [quoted text clipped - 16 lines]
> > Thanks for the help,
> > Jim


 
B

Bridgji

Ken,

I tried using the BillingInformation field. I'm having the same issue I see

with a user field. If I reply the value is lost. Is this the normal behavior

is there a way to preserve this value automaticly with out having to look at

the parent message?

Thanks

Jim


 
K

Ken Slovak - [MVP - Outlook]

All fields like that will be new and null on opening a new message, whether

a reply or a completely new message. If you want to carry over properties to

replies you must add them yourself.

"Bridgji " <u59223@uwe> wrote in message

news:a64811c1fd749@uwe...
> Ken,

> I tried using the BillingInformation field. I'm having the same issue I
> see
> with a user field. If I reply the value is lost. Is this the normal
> behavior
> is there a way to preserve this value automaticly with out having to look
> at
> the parent message?

> Thanks
> Jim

> >
>
>
 
B

Bridgji

Thanks again for all the help.

Jim
- wrote:
> All fields like that will be new and null on opening a new message, whether
> a reply or a completely new message. If you want to carry over properties to
> replies you must add them yourself.
>
> > Ken,
> >

> [quoted text clipped - 8 lines]
> > Thanks
> > Jim



 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
T Custom Contact Forms and User Properties Outlook VBA and Custom Forms 2
W Displaying custom properties of a PDF DocumentItem Outlook VBA and Custom Forms 3
K Accessing contact's custom properties in a Outlook 2007 form region Outlook VBA and Custom Forms 1
T Outlook custom properties Outlook VBA and Custom Forms 5
K can't get custom form to update multiple contacts using VBA Outlook VBA and Custom Forms 3
H Custom Outlook Contact Form VBA Outlook VBA and Custom Forms 1
S Custom Field Cannot Be Displayed In Views Outlook VBA and Custom Forms 2
D Custom Search Folders not refreshing/updating automatically Using Outlook 0
F Validation on custom task form after task acceptance Outlook VBA and Custom Forms 1
K UDF with formula not showing on Calendar custom view. Outlook VBA and Custom Forms 0
S Create a clickable custom column field Outlook VBA and Custom Forms 0
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
M VbScript for Command Button on Contacts Custom Form Using Outlook 1
G Other users can't see P.2 with custom fields in Form Outlook VBA and Custom Forms 0
O Create a custom contact form - questions before messing things up... Outlook VBA and Custom Forms 4
S Reference Custom Fields with VBA Outlook VBA and Custom Forms 2
L Custom Form Tutoral? Outlook VBA and Custom Forms 6
D Lost Access to Custom Form Outlook VBA and Custom Forms 4
M vCard does not have user-defined fields from my custom contact form (365) Using Outlook 1
S Outlook Custom Form Scripting only working when clicking on "Run this form" Outlook VBA and Custom Forms 2
A Custom VBA to sort emails into folders Outlook VBA and Custom Forms 0
Victor_50 Outlook 2013 Custom Contact Form starts with "E-mail 2" Outlook VBA and Custom Forms 2
C Custom Form (seperate layout pages and message reading pane) Outlook VBA and Custom Forms 0
C Reading Pane for Custom Form Outlook VBA and Custom Forms 2
M Custom Calendar Print Suggestions? Using Outlook 0
K Custom Category Colors Using Outlook 2
N Custom Form Controls Not Visible To Recipient Outlook VBA and Custom Forms 3
E To convert imported data to custom fields in Task list Outlook VBA and Custom Forms 1
Randy Redekopp How To Merge Contact Info to Email Custom Form Template Using Outlook 2
D Problem with custom form including _DocSiteControl1 Outlook VBA and Custom Forms 0
C Custom Outlook Form - Populate Information from Radio Button / Check Box Using Outlook 0
H Custom Signature Not Displayed When Account Selected Outlook VBA and Custom Forms 10
E Custom formula for columns Using Outlook 3
W Message class changes of a custom form changes to the default form Using Outlook 2
A Possible to hide ribbon with custom appointment form? Outlook VBA and Custom Forms 3
S Custom Form, copy user field data to message body Outlook VBA and Custom Forms 12
Andrew Quirl Custom form to route requests based on input criteria Outlook VBA and Custom Forms 1
D Using a VBA Custom Form to Send Reoccurring Email Upon Task Completion Outlook VBA and Custom Forms 4
W Setting up a custom form Outlook VBA and Custom Forms 2
A Greyed out checkbox in custom form Outlook VBA and Custom Forms 4
Z Outlook Custom Form: Adding Dropdown(Project Code) at the end of subject Outlook VBA and Custom Forms 0
Z Adding dropdown list using custom form Outlook VBA and Custom Forms 7
G Entered data in custom field goes in card and does not stay in list view Outlook VBA and Custom Forms 1
witzker Correct Format of custom Yes/No Checkboxes Outlook VBA and Custom Forms 0
O Searching for Custom Flags Using Outlook 3
J autocomplete function in custom form Using Outlook 1
S Custom user fields in received messages Outlook VBA and Custom Forms 1
J Backup .OST - Custom Contact Forms, Defined Fields, Notes Using Outlook 1
D Custom form with html hyperlink Outlook VBA and Custom Forms 7
P Outlook custom fields "events" Using Outlook 0

Similar threads

Top