R
rebdewinter
I have been working on a solution to add custom forms,
views and user-defined-fields to the contacts and journal
folders of Outlook. I've had no problem with adding the
forms or views and I had no problem with adding the custom
fields to the contacts folder, but for some reason the
same logic is not working with the journal folder. This
is the code:
MyJournalItem = myOlApp.CreateItem _
(Outlook.OlItemType.olJournalItem)
MyProp = MyJournalItem.UserProperties.Add("My Prop", _
Outlook.olUserPropertyType.olText, True)
This code works fine for the contact item equivalent, and
it runs fine, but then the new user property "My Prop"
does not show up in the User-defined-fields area of the
Journal folder field chooser. I've even tried saving and
closing the journal form (MyJournalItem) and it still
doesn't work. Can anyone help?
thanks!
rebdewinter
views and user-defined-fields to the contacts and journal
folders of Outlook. I've had no problem with adding the
forms or views and I had no problem with adding the custom
fields to the contacts folder, but for some reason the
same logic is not working with the journal folder. This
is the code:
MyJournalItem = myOlApp.CreateItem _
(Outlook.OlItemType.olJournalItem)
MyProp = MyJournalItem.UserProperties.Add("My Prop", _
Outlook.olUserPropertyType.olText, True)
This code works fine for the contact item equivalent, and
it runs fine, but then the new user property "My Prop"
does not show up in the User-defined-fields area of the
Journal folder field chooser. I've even tried saving and
closing the journal form (MyJournalItem) and it still
doesn't work. Can anyone help?
thanks!
rebdewinter