Links update but cross-references do not?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
joy
Propeller Head
Posts: 68
Joined: Thu Feb 02, 2006 4:29 pm
Location: Surrey, BC, Canada

Links update but cross-references do not?

Post by joy »

I renamed a lot of files in the content explorer. For each renamed file, I clicked the "Update Links" button in the link update dialog.

When I regenerated the project, hyperlinks were resolved to the new filenames but the cross-references were not. These are all internal links.

Even if I go into a topic and select Tools > Update Cross References, it says the file does not exist: the cross reference still points to the old filename.

Am I missing a step?
rob hollinger
Propellus Maximus
Posts: 661
Joined: Mon Mar 17, 2008 8:40 am

Re: Links update but cross-references do not?

Post by rob hollinger »

Renaming the file name doesnt change the content of where the X-Reference is pointing to.
X-Refs point to specific content in topics. Unless that content changes, the text in the link will remain the same.

Open the topic in the Text editor and located the X-Ref. Does it still point to the old topic or the newly renamed one?
Rob Hollinger
MadCap Software
joy
Propeller Head
Posts: 68
Joined: Thu Feb 02, 2006 4:29 pm
Location: Surrey, BC, Canada

Re: Links update but cross-references do not?

Post by joy »

rhollinger wrote: Open the topic in the Text editor and located the X-Ref. Does it still point to the old topic or the newly renamed one?
Thanks for your reply. I should have clarified: it wasn't the link text I expected to change, it was the underlying reference. For example, I renamed a topic from "Configuring for Failover.htm" to "config_for_failover.htm" and this is what still appeared for all cross-references:

Code: Select all

<MadCap:xref href="../8_configuring/Configuring for Failover.htm" target="" title="" alt="">"Configuring FME Server for Failover" on page 1</MadCap:xref>
So Flare returns a "file not found" error.

I ended up manually fixing them in the text editor for each topic, but it surprises me that Flare would not update both hyperlinks and cross-references when a referenced filename changes.
Andrew Heard
Sr. Propeller Head
Posts: 139
Joined: Tue Aug 19, 2008 12:17 am
Location: Perth, Western Australia

Re: Links update but cross-references do not?

Post by Andrew Heard »

That looks like a bad oversight. 'specially since cross-references were spruiked in the recent jumpstart. I've started using cross-refs instead of hyperlinks. May reconsider.
Some mornings it just doesn't seem worth it to gnaw through the leather straps.
Post Reply