Passing Word documents with macros as Sharepoint content types

I

Ianb

Hi

I have been trying to nut this problem out for awhile now but not making
alot of progress. I am trying to integrate Word 2003 with Sharepoint 2007 as
follows:

I have a site with a template library. I have developed a content type in
another site and use it in a library.

I want the user to be able to select a content type in a library and have an
auto open event fire to open the sharepoint properties dialog. The user
populates the field presented and these cascade though fields in the
document. The fields are also available (as metadata) at the library list for
filtering grouping and sorting

Everything works fine except one thing. The problem is that when the content
type is chosen from the library the macro doesn't fire and on inspection the
macro is no longer available in the document. It does however fire and works
fine in the template library.

Does anyone know what is happening and how I can resolve this

Thanks

IanB
 
J

Johan Verrept

If you create the document through a content type with a template, there is
no Open event since you are not opening the template, but instantiating it in
a new document. Use the New Event.
 
J

jgrappy

Johan, can you elaborate on this....I'm having the same problem. If I
use a word doc as a template to a content type, when I hit the new
button in my document library to create a new document based on that
orginal template doc, the macros are not in it. Why are they being
"stripped"? If I upload the same document to a document library and
open it, the macros are there and work as they should....any help
would be appreciated. Thanks!
 

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