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


 
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


 
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

> >
>
>
 
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
G Apply Custom Contacts form to all existing Contacts Outlook VBA and Custom Forms 1
G Add Map It button to Custom Contacts Form in Outlook Outlook VBA and Custom Forms 1
G Outlook 2021 Add Picture to Custom Contact Form Outlook VBA and Custom Forms 2
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 1
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
AndyZ Contact Custom Form Tiny Text Outlook VBA and Custom Forms 3
A How to reduce size of custom contact form? Outlook VBA and Custom Forms 3
S Custom Contact card - need help creating one Outlook VBA and Custom Forms 1
S Outlook 2019 Custom outlook Add-in using Visual Studio Outlook VBA and Custom Forms 0
S Adding Custom Forms Outlook VBA and Custom Forms 4
Witzker How to get the button Karte ( map) in custom contact form Outlook VBA and Custom Forms 2
B Outlook 2019 Custom Email form - Edit default email form Outlook VBA and Custom Forms 6
D Outlook 365 Custom forms field limit? Outlook VBA and Custom Forms 4
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
M copy field value to custom field Outlook VBA and Custom Forms 0
J Does the .fdm contain my custom form? How to make ol use it? - ol2007 Outlook VBA and Custom Forms 4
J ol2021 custom form not displaying pics Outlook VBA and Custom Forms 37
N "Perform a Custom Action" Outlook VBA and Custom Forms 0
cbufacchi Outlook 365 Populate custom Outlook Appoint form Outlook VBA and Custom Forms 2
C Create Meeting With Custom Form Outlook VBA and Custom Forms 2
FryW Need help modifying a VBA script for in coming emails to auto set custom reminder time Outlook VBA and Custom Forms 0
J custom form not displaying pictures Outlook VBA and Custom Forms 7
I Button PDF in Outlook Contact custom form Outlook VBA and Custom Forms 1
K Font Sizing in Custom Form Regions for Contacts Outlook VBA and Custom Forms 1
V Update new custom field Outlook VBA and Custom Forms 5
D Anyone tell me where custom view settings are stored? Outlook VBA and Custom Forms 9
S Outlook 2016 Arrange tasks by date, additional custom sorting, but still use friendly terms like Today, Tomorrow, This week? Using Outlook 1
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

Similar threads

Back
Top