publishing forms and Outlook 2003

  • Thread starter Thread starter Jerry
  • Start date Start date
J

Jerry

Has anyone noticed that when you publish a form in Outlook 2003, th
subfolders are not allowed to uses that custom form?

With Outlook 2000, using the same code, if I create a custom contact
then drag the contact to a subfolder under the outlook default contact
folder, when I bring it up it's still a custom form. However, unde
2003, after I drag the contact into a subfolder, the contact becomes
default contact item again, visually. The message class is still th
custom name.

I also noticed that under "Actions" on the outlook menubar, I do no
get the option to create a new custom form.

Help please.

This is effectively the code I use to publish the form. I got rid o
messages and some other lines of code but I think this should show th
important lines of code.

Set olNS = objApp.GetNamespace("MAPI")
olNS.Logon , , True, True
Set ofContactlist = olNS.GetDefaultFolder(olFolderContacts)

If Not objApp Is Nothing Then
'publish the contact form
Set objContactFormItem = _
objApp.CreateItemFromTemplate _
(INSTALLPATH & "TestReContact.oft")

Set objFormDesc = objContactFormItem.FormDescription
objFormDesc.name = "test"
objFormDesc.PublishForm olFolderRegistry, ofContactlist

endif

Thanks in advance,
Jerr
 
What you describe works in Outlook 2000 only if the form is already in the
individual's local forms cache. If you cleared the cache, you'd find that
the form doesn't display.

If you want the form to work in multiple folders, you need to publish it to
a general location (Personal Forms or Organizational Forms) or to each
folder. In versions before Outlook 2002 SP3, publishing to multiple folders
was not a good idea because of forms cache corruption problems. In Outlook
2002 SP3 and Outlook 2003, however, forms are cached on a per-folder basis,
which should eliminate the cache corruption problem. (OTOH, OL2003 has other
issues that generate forms cache corruption symptoms even when forms are
published to Personal Forms.)

If you want the form to appear on the Actions menu of each folder, you
definitely need to publish the form to each folder.
 
Hi Sue,

I've got users on Outlook 2000, 2002, through 2003. What do you
suggest I do?

Is there a way, so that users publish the form for himself if he
creates a subfolder? Is it possible to publish the form from the
default 'contacts' folder to a subfolder using the forms manager?


Or is the best thing to just publish to a personal folder?

thanks,
Jerry
 
Back
Top