Can I configure a hyperlink to create new doc from template on ser

G

Guest

Hi: Without using a macro, I'd like to configure a Word 2003 hyperlink to
point to a template at a server location and use it to create a new document.
In other words, to do the same thing that would happen if we double-clicked
on the file.dot in Windows Explorer.

Can this be done? If not, is there a macro or javascript function I can use
that I can send by Outlook 2003 e-mail message?
 
J

John McGhie [MVP - Word and Word Macintosh]

Didn't we have that question last week? I know we did, because I answered
it :)

Now I can't find the damn answer, which is probably why you're asking the
question :)

Anyway: "No", you cannot easily do this, because a browser performs a "Get"
from the Server. To produce a document from a template, we need to hand
Word an "Open" command with a "New document from" parameter.

There are a variety of ways you can script your way around this, depending
on what you want to do. But before we go much further, let's ask the first
question: "Why do you need it to be a 'TEMPLATE'"?

You need a template only if you intend to link documents to it. Everything
else you can do with the "Document" file type. So if you were to store a
..doc instead of a .dot on the server, you wouldn't have to provide any more
than a standard link.

So: Why do you need a template?

Cheers

Hi: Without using a macro, I'd like to configure a Word 2003 hyperlink to
point to a template at a server location and use it to create a new document.
In other words, to do the same thing that would happen if we double-clicked
on the file.dot in Windows Explorer.

Can this be done? If not, is there a macro or javascript function I can use
that I can send by Outlook 2003 e-mail message?

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 
G

Guest

John:

The document is a form. The idea is to allow users to make a new form from
the template.

John McGhie [MVP - Word and Word Macinto said:
Didn't we have that question last week? I know we did, because I answered
it :)

Now I can't find the damn answer, which is probably why you're asking the
question :)

Anyway: "No", you cannot easily do this, because a browser performs a "Get"
from the Server. To produce a document from a template, we need to hand
Word an "Open" command with a "New document from" parameter.

There are a variety of ways you can script your way around this, depending
on what you want to do. But before we go much further, let's ask the first
question: "Why do you need it to be a 'TEMPLATE'"?

You need a template only if you intend to link documents to it. Everything
else you can do with the "Document" file type. So if you were to store a
..doc instead of a .dot on the server, you wouldn't have to provide any more
than a standard link.

So: Why do you need a template?

Cheers

Hi: Without using a macro, I'd like to configure a Word 2003 hyperlink to
point to a template at a server location and use it to create a new document.
In other words, to do the same thing that would happen if we double-clicked
on the file.dot in Windows Explorer.

Can this be done? If not, is there a macro or javascript function I can use
that I can send by Outlook 2003 e-mail message?

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 
J

John McGhie [MVP - Word and Word Macintosh]

Yeah: You don't need a template :)

Put the form on the server as a Document. Problem solved :)

Cheers


John:

The document is a form. The idea is to allow users to make a new form from
the template.

John McGhie [MVP - Word and Word Macinto said:
Didn't we have that question last week? I know we did, because I answered
it :)

Now I can't find the damn answer, which is probably why you're asking the
question :)

Anyway: "No", you cannot easily do this, because a browser performs a "Get"
from the Server. To produce a document from a template, we need to hand
Word an "Open" command with a "New document from" parameter.

There are a variety of ways you can script your way around this, depending
on what you want to do. But before we go much further, let's ask the first
question: "Why do you need it to be a 'TEMPLATE'"?

You need a template only if you intend to link documents to it. Everything
else you can do with the "Document" file type. So if you were to store a
..doc instead of a .dot on the server, you wouldn't have to provide any more
than a standard link.

So: Why do you need a template?

Cheers

Hi: Without using a macro, I'd like to configure a Word 2003 hyperlink to
point to a template at a server location and use it to create a new
document.
In other words, to do the same thing that would happen if we double-clicked
on the file.dot in Windows Explorer.

Can this be done? If not, is there a macro or javascript function I can use
that I can send by Outlook 2003 e-mail message?

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 

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