Unpublish a form...

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
 
S

Sue Mosher [MVP-Outlook]

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.
 

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