• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Quick way to fix mass broken cross-references?

New Here ,
Jul 22, 2016 Jul 22, 2016

Copy link to clipboard

Copied

I learned a lot today, but too late.

This morning I did a MIF wash of all the files in a book, saving them to a temp location. I then converted the files back (manually) and copied them back into the original location. Now all of my cross-references are broken (as were the links to my imported graphics, but I've fixed those manually).

I'm looking for a way to update the directory for all of these cross-references without fixing each one manually. Is there a way to do this?

For example, FrameMaker is trying to resolve "..\progref\<filename>" from "\\someserver\techpubs\thisbook\progref".

If I could tell it to change ".. "to "\\someserver\techpubs\thisbook", all would be well!

(Before you suggest it, I have already gone in and set "Suppress Automatic Updating of All Cross-References" (again, too late), and I have discovered the Package feature, which I'll use for moving documentation sets in the future.)

Thanks, D

Views

387

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 22, 2016 Jul 22, 2016

A couple of approaches that I've used are:

  1. Move the broken .fm file to a directory where the altered paths to the object are correct. Open it and re-save it to the original directory.
  2. Save as MIF. Learn enough MIF markup (which is pretty awkward for file paths), and use a plaintext editor to bulk change all the broken paths.

Votes

Translate

Translate
Community Expert ,
Jul 22, 2016 Jul 22, 2016

Copy link to clipboard

Copied

A couple of approaches that I've used are:

  1. Move the broken .fm file to a directory where the altered paths to the object are correct. Open it and re-save it to the original directory.
  2. Save as MIF. Learn enough MIF markup (which is pretty awkward for file paths), and use a plaintext editor to bulk change all the broken paths.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 24, 2016 Jul 24, 2016

Copy link to clipboard

Copied

Thanks,

Using option 1, I was able to recover and verify that all links now work. You saved me a lot of time!

D

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 24, 2016 Jul 24, 2016

Copy link to clipboard

Copied

LATEST

re: Using option 1, I was able to recover and verify that all links now work.

Glad to hear it. I might add for people who need the tip in the future that you might need to create one or more directories so the path works, and the magic is that when you re-save, FM re-writes all the paths relative (or possibly absolute) to the final saved-in dir.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines