Can I code Word hyperlink automatically pointed to Production webserver?

C

cjeffwang

I have a web page with a link to open a Word document. Inside the
Word document, there are
many hyperlinks used to open other documents, e.g. .doc, xls, ppt, etc
files. Although
these are files under the website folder, the hyperlinks showed the
http addresses,
including the web server name.

When moving from the Test server to Production server, the server name
will be changed.
However the hyperlinks are hard coded with the Test server name. Can
I code the Word
hyperlinks so that they are automatically pointed to the whatever
Production server name,
similar to Server.MapPath for VB coding? 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