Contact Info not available in Journal Entry

L

Laura Villa

Hi!
I'm having a problem displaying the contact's info
in a new Journal Item created for a contact.
These are the steps to reproduce the problem:
1) select a contact item, "Actions" menu, "New Journal Entry for Contact"
2) Save the journal item created
3) Check the Journal (Entry List view) and add the "Mobile Phone" field
with the "Show Fields" option

I expected to be able to read the Mobile Phone (or the other info)
related to the contact I selected. The field is blank even if the
"Mobile phone" is not empty in the contact item.

Are these fields related or not? Is it a bug?
If it's not, how can I relate and show the fields in the journal list?

Thanks a lot,
Laura
 
S

Sue Mosher [MVP-Outlook]

Those fields are not stored in the journal entry, but in the related contact
entry. Outlook is not a relational database. It cannot combine information
from one folder (think database table) with information from related items
in another folder. If you want to see the contact information in the Journal
folder list of items, you would have to add the data from the linked contact
to the journal item itself, either with a COM add-in or with code behind a
custom form.
 
G

Guest

This explains a lot of things. In fact I found only a Link object with the ite
created by that options, not the contact itself.
I tried to create an add-in that get the contact selected, create a new journa
item and stores the fields I need in the UserProperties. I hope this is the correct way to do that

Just a little problem: I modified the journal item form and add a second panel, named "Contact Info
I found that the properties I created were visible under "User defined fields for folders".
I succesfully saved the custom form with these new fields and set the form as the default for the journal folder
Anyway if I create the item programmatically with the add-in, the form is created as a common journa
item and not with the type of the custom form I created

thanks again
Laur

----- Sue Mosher [MVP-Outlook] wrote: ----

Those fields are not stored in the journal entry, but in the related contac
entry. Outlook is not a relational database. It cannot combine informatio
from one folder (think database table) with information from related item
in another folder. If you want to see the contact information in the Journa
folder list of items, you would have to add the data from the linked contac
to the journal item itself, either with a COM add-in or with code behind
custom form
--
Sue Mosher, Outlook MV
Author o
Microsoft Outlook Programming - Jumpstart fo
Administrators, Power Users, and Developer
http://www.outlookcode.com/jumpstart.asp
 
S

Sue Mosher [MVP-Outlook]

That's certainly one valid approach. Also, you can access the related
contact from the journal item through the Item property of each Link in the
Links collection.

To create an item using a published custom form, you need to use the Add
method on the target folder's Items collection and specify the form message
class (e.g. IPM.Journal.MyJournalForm) as the argument.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Laura Villa said:
This explains a lot of things. In fact I found only a Link object with the item
created by that options, not the contact itself.
I tried to create an add-in that get the contact selected, create a new journal
item and stores the fields I need in the UserProperties. I hope this is the correct way to do that.

Just a little problem: I modified the journal item form and add a second panel, named "Contact Info"
I found that the properties I created were visible under "User defined fields for folders".
I succesfully saved the custom form with these new fields and set the form
as the default for the journal folder.
Anyway if I create the item programmatically with the add-in, the form is created as a common journal
item and not with the type of the custom form I created.

thanks again,
Laura

----- Sue Mosher [MVP-Outlook] wrote: -----

Those fields are not stored in the journal entry, but in the related contact
entry. Outlook is not a relational database. It cannot combine information
from one folder (think database table) with information from related items
in another folder. If you want to see the contact information in the Journal
folder list of items, you would have to add the data from the linked contact
to the journal item itself, either with a COM add-in or with code behind a
custom form.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Laura Villa said:
Hi!
I'm having a problem displaying the contact's info
in a new Journal Item created for a contact.
These are the steps to reproduce the problem:
1) select a contact item, "Actions" menu, "New Journal Entry for Contact"
2) Save the journal item created
3) Check the Journal (Entry List view) and add the "Mobile Phone" field
with the "Show Fields" option
related to the contact I selected. The field is blank even if the
"Mobile phone" is not empty in the contact item.
If it's not, how can I relate and show the fields in the journal list?
Laura
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top