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

Conditional Build Tags Break Links

New Here ,
May 24, 2007 May 24, 2007

Copy link to clipboard

Copied

Hi all,
I have a solid, 3-years old, RHX5 project that works fine.
Delivering a part of it using conditional build tags, I found out that some of links are broken.
The topics configuration looks like this:
Parent topic - with a link to several child topics

(many) Child topic(s) - each with a link to the parent topic

Now, using conditional build tags, all of the topics go to the main deliverable and are marked accordingly.
Some of the topics go to the secondary deliverable. This includes the parent topic and some of the child topics.
So, the parent topic is marked with both tags, and the links that point at topics that doesn't belong to the secondary deliverable are tagged accordingly. This part works fine.
The links that belong to both deliverables are tagged with both tags. Some of them - not all - are broken.
In these cases, a child topic exists in the deliverable, but the link from the parent topic is broken.
I have deleted all links and written them anew. This did not solve the problem.
Where elese should I look into?

Thanks in advance (please help the poor writer regain his weekend :-)

Avi

Views

1.2K

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 ,
May 24, 2007 May 24, 2007

Copy link to clipboard

Copied

It sounds like topics that belong to both versions, like the parent, have both tags. I am wondering why they have any tag as you only need a tag on a topic that you might want to exclude.

In your project I would have a tag Version A Only and Version B Only. When I generate to get the help for Version A, I would apply the expression NOT Version B Only. Topics common to both would be included as they would not have any tag.

I have a feeling that maybe I am not understanding your problem so post back if I have got it wrong.

Edited reply. The numbers I used were because of another post I was thinking about. Hopefully this is clearer.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

quote:

Originally posted by: Peter Grainge
It sounds like topics that belong to both versions, like the parent, have both tags. I am wondering why they have any tag as you only need a tag on a topic that you might want to exclude.

Hi Peter,
Until this project, I had two tags, when each topic belongs to either tag A or tag B, and no topic belongs to both. (the reason to this configuration was to keep everything on the same source, when topics could move from tag A to tag B.)
Now, in the current project, I have a new tag, C. Topic may belong to:
Tag A only
Tag B only
Tag A + C
Tag B + C
Tag C only - there are very few such topics (maybe 5 or so). These topics are not problematic.
The problem of the broken links always occur among topics of the type "tag A + C".
How do I proceed from here?

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

What is the build expression when links break?

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

The CHM is compiles successfully.
The broken link results in a "The page cannot be displayed" message, instead of the requested topic.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

OK but what is the build expression?

Have you tried reverse engineering the project to see if the target topic is in the compiled help but not being found or has truly been excluded?

There is a topic on my site about reverse engineering.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

All topics are present in the CHM and a accessible on the tree.
Clicking a link from on topic to another works. Clicking a link from the second topic to the first, results in a "page can not be displayed".
I'll read through your website and come up with more information.
Thanks so far, Peter 🙂

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

You will not find the answer to this one on my site. If you go to the second topic first and then click the link to what was the first topic, does it work then?

Can you create this in a test project?

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

Well...
- Going to topic 1, clikcing the link to topic 2. Then, at topic 2, clicking a link to topic 1 - the link is broken.
- Going to topic 2 (via the index, for example) and clicking the link to topic 1 - the link works.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

Crazy!

Could you post the HTML for the two links?

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

Parent topic (topic 1):
C:\Documents and Settings\aaharon\My Documents\2006
\AppSight 6_0\
APS6 - Disc 1 - Release\OLH Source File\AppSight System 6_
\Analyzing_Logs_and_Identifying_Problems
\Analyzing_Logs_and_Identifying_Problems
\Analyzing_Logs_and_Identifying_Problems.htm

Child topic (topic 2):
C:\Documents and Settings\aaharon\My Documents
\2006\AppSight 6_0
\APS6 - Disc 1 - Release\OLH Source File
\AppSight System 6_
\Analyzing_Logs_and_Identifying_Problems
\Config_Problems
\Analyzing_Config_Problems.htm

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

Try making the links relative rather than absolute.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

Sorry...
Parent topic (topic 1):
..\Analyzing_Logs_and_Identifying_Problems
\Analyzing_Logs_and_Identifying_Problems
\Analyzing_Logs_and_Identifying_Problems.htm

Child topic (topic 2):
..\Analyzing_Logs_and_Identifying_Problems
\Config_Problems
\Analyzing_Config_Problems.htm

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

Try shortening those paths.

Copy the project and then rename the folders.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

I have shortened the path names. It did not solve the problem.
Do you recommend to use less folders (to flaten the folder structure)?

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

No it is number of characters that can be the issue.

Let me ask again, can you create this in a new project? It would be much easier for me to see the problem.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

This help is being run locally rather than on a server?


Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

It's a CHM file.
I'll create a demo project and send it to the forum.

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 ,
May 29, 2007 May 29, 2007

Copy link to clipboard

Copied

LATEST
You cannot send projects to the forum. Send it to me via my site.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

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
Resources
RoboHelp Documentation
Download Adobe RoboHelp