Results 1 to 6 of 6
  1. #1
    New Lounger
    Join Date
    Sep 2003
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Linking to Word dot files from office intranet (Word 2000)

    After a period of trial and error I believe I've narrowed down my problem to a question regarding Word templates.
    I am using FrontPage to develop an Office Intranet. I am creating hyperlinks to all of the standard forms (Word .dot files) which our office has generated over the years. When selecting the link in Internet Explorer, the .dot file is opened in Word but I am unable to save as a .doc file. It defaults to save as .dot and does not allow a manual change. It appears that the actual template file is opening in lieu of a new document opening based on that template.

    At first I thought this must be an Internet Explorer, FrontPage, or HTML issue but then I discovered a few of our templates that actually were functioning as I'd like. Of the 30 forms we have I can successfully link to 3 of them and have them open and save as .doc files. I then started investigating the difference between these 3 files and the others. When listing the properties of the three that function as I'd like, I discovered that they are based on a template called normal.dot as opposed to all others which list a template name identical to their file name.

    My thought then was to try some way to modify the properties of the other template files to list normal.dot as their template but I haven't found a way to create a .dot file that has normal.dot as it's template and I can't seem to uncover how the 3 I have were created.

    Has anyone else run across this problem? Have any thoughts on how I can make this work?

  2. #2
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Linking to Word dot files from office intranet (Word 2000)

    The three files that do allow saving as doc files are actually doc files to start with. Templates can't have a different template attached to them.

    The problem of setting hyperlinks to a dot file is that the dot file itself is opened rather than a creating a new unsaved file with that template attached which is the default Windows Explorer action when double clicking a dot file.

    There are two possible workarounds that I know about:
    1. Write scripts for your HTML pages which perform the task
    2. Create a shortcut to the DOT file and then make your hyperlink point at the shortcut instead of the file itself.

    I use the second method because I'm a script pygmy. Some tricks which will help you get there faster are:
    The shortcut properties should have a /n added to it. Do this by creating a shortcut then right clicking it to choose properties and then edit the Target field so that it looks something like this "serverdirectoryTemplate.dot" /n
    The hyperlink a href should include a .lnk at the end of the filename. This is because shortcuts have a hidden .LNK file extension that you can't see but the filesystem can.
    Shortcuts cannot be made with relative addressing so put the templates in their final resting places before creating the shortcuts.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  3. #3
    New Lounger
    Join Date
    Sep 2003
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Linking to Word dot files from office intranet (Word 2000)

    Andrew,

    Thanks so much for your help. I decided on option #2 due to the same pygmy problem you mentioned and it works perfect. I was really confused by those 3 .dot files. Somebody must have manually renamed the files to give them .dot extensions.

    Thanks again.

  4. #4
    New Lounger
    Join Date
    Nov 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Linking to Word dot files from office intranet (Word 2000)

    Hi Andrew

    I have seen your response on this topic <img src=/S/compute.gif border=0 alt=compute width=40 height=20> and have tried it out - however I am in an environment with a mixture of web browsers, including Thunderbird, Mozilla etc and it doesn't seem to work for them - they have to save the link and the link then loses it's relativeness and doesn't work - do you have any ideas?

    regards
    Sandra

  5. #5
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Linking to Word dot files from office intranet

    Hmm, you are right - the shortcut method seems to be ignored by my Firefox machine. The javascript methods I have seen also fails because of a reliance on shellexecute or ActiveX which are blocked in Firefox.
    The places where I have implemented the shortcut method were all running IE so either that or the alternative script method would work.

    Sorry but I don't have any working method that will do the job directly from a Mozilla browser.

    I would instead be looking to solutions where your html page explains how the user should do this in Word and set up the workgroup templates so that the user has ready access to the templates from within Word. Another alternative might be to build a Word document with an autoopen macro that creates another new document based on a particular template and then closes itself and leaves the new file open. This doc can be linked directly in the html.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  6. #6
    4 Star Lounger
    Join Date
    Apr 2002
    Location
    Northern Territory, Australia
    Posts
    471
    Thanks
    16
    Thanked 0 Times in 0 Posts

    Re: Linking to Word dot files from office intranet

    Hi There

    I had a similar problem and overcame it by making my templates "Read Only" doc files. This provides all the same benefits as a Template. The user cannot change the original document and is forced to "save as" when they save the document.

    HTH

    Kerry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •