Skip to main content
Participating Frequently
April 6, 2017
Answered

Restore Link to Multiple Word Files at once

  • April 6, 2017
  • 3 replies
  • 783 views

I recently had to update my work computer and now all the previously linked word files (that were linked to word files in a sharepoint server) are now broken.  I have only been able to fix them one at a time.  I think the issue was that I had to re-map the drive on my PC and this broke the links.  Does anyone know if there is a way to repair/find these links in a more expeditious way than right clicking each individual one in the Project Manager pane?  This seems to be a very tedious process especially when I have 100+ to do.  

Thanks!

This topic has been closed for replies.
Correct answer prhmusic2

Before you attempt what I'm about to suggest, make a backup of your project.

I've never been in your situation, but if I were, this is what I would try before investing a lot of time in one-at-a-time restoration of the links.

Exit RoboHelp.

Make a backup of your project folders.

Open your project folder in Windows Explorer.

Locate the "RHWordDocs.apg" file.

Open the file with Notepad.

Theory: if you find the <word_doc> section for each of your linked Word files and change the value within the <file_name> tags, RoboHelp will restore the links to your Word documents.

-----------------------

<snip>

<word_doc>

           <file_name>S:\Disaster Recovery Planning\EPIC\Enterprise Electronic Medical Record_EPIC.docx</file_name>

            <snip a bunch of stuff>

        </word_doc>

</snip>

-----------------------

Save the "RHWordDocs.apg" file and then exit the file.

Open your RoboHelp project to see what happens.

I've never seen the data that is stored within the .cpd file so it's possible the old paths are stored there. I don't know if opening the project with the updated "RHWordDocs.apg" file will rewrite to the .cpd file or not so, if the You may also have to delete your .cpd file.

Good luck! Please reply to this thread if this works (or if it doesn't too!)

Paul

3 replies

Participating Frequently
April 18, 2017

It doesn't fix all of them at once... I still have to change each line, but this is far easier to do in the .apj file than manually within the application.  Thanks!!!!

prhmusic2Correct answer
Inspiring
April 7, 2017

Before you attempt what I'm about to suggest, make a backup of your project.

I've never been in your situation, but if I were, this is what I would try before investing a lot of time in one-at-a-time restoration of the links.

Exit RoboHelp.

Make a backup of your project folders.

Open your project folder in Windows Explorer.

Locate the "RHWordDocs.apg" file.

Open the file with Notepad.

Theory: if you find the <word_doc> section for each of your linked Word files and change the value within the <file_name> tags, RoboHelp will restore the links to your Word documents.

-----------------------

<snip>

<word_doc>

           <file_name>S:\Disaster Recovery Planning\EPIC\Enterprise Electronic Medical Record_EPIC.docx</file_name>

            <snip a bunch of stuff>

        </word_doc>

</snip>

-----------------------

Save the "RHWordDocs.apg" file and then exit the file.

Open your RoboHelp project to see what happens.

I've never seen the data that is stored within the .cpd file so it's possible the old paths are stored there. I don't know if opening the project with the updated "RHWordDocs.apg" file will rewrite to the .cpd file or not so, if the You may also have to delete your .cpd file.

Good luck! Please reply to this thread if this works (or if it doesn't too!)

Paul

Captiv8r
Legend
April 7, 2017

I'm pretty sure you meant to type:

Cheers... Rick

Peter Grainge
Community Expert
Community Expert
April 7, 2017

The only way that I can immediately think of is to fix the mapping so that the new drive letter is what it was before.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Participating Frequently
April 7, 2017

Yup, great idea.  That was the first thing that I did.  Checked the drive mapping was correct and folder structure was the same... alas, that didn't work either.