Highlighted

Quick way to fix mass broken cross-references?

New Here ,
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

Adobe Community Professional
Correct answer by Bob_Niland | Adobe Community Professional

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.

Views

241

Likes

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

Quick way to fix mass broken cross-references?

New Here ,
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

Adobe Community Professional
Correct answer by Bob_Niland | Adobe Community Professional

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.

Views

242

Likes

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
Jul 22, 2016 0
Adobe Community Professional ,
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.

Likes

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
Reply
Loading...
Jul 22, 2016 0
New Here ,
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

Likes

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
Reply
Loading...
Jul 24, 2016 0
Adobe Community Professional ,
Jul 24, 2016

Copy link to clipboard

Copied

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.

Likes

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
Reply
Loading...
Jul 24, 2016 0