Unpublish a form...

  • Thread starter Thread starter Acaccia
  • Start date Start date
A

Acaccia

Hi to all... I've created a process that automatically publish a customized
form, from a template in contact list folder, using CreateItemFromTemplate
method. Now I wish to unpublish (delete the module in folder) this form
automatically. I tried to change MessageClass of all contacts to original
name "IPM.Contact" but this is not enough and the form remain this one that
I have publicized.
What OOM method can I use for this purpose?

Thank's in advance
Andrea
 
The Outlook object model contains no method to remove a published form
definition . You can remove a form manually on the folder's Properties
dialog, using the Manage button on the Forms tab. To remove a published form
definition programmatically requires CDO code; see
http://www.outlookcode.com/d/forms.htm#remove

That said, I'm a little confused about just what you've done and what you're
seeing.
 
Back
Top