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

RH10 Conditional Build Tags not working

Participant ,
Jan 22, 2013 Jan 22, 2013

Copy link to clipboard

Copied

I have a parent project and about 40 child projects. I created seven conditional build tags, and applied them to the various child project folders in the parent project's TOC, based on the categories they should display under.

Then, I went to the parent project's Single Source Layout and defined those categories in so that only certain child projects would display when you selected an item from the Category dropdown.

I followed the steps in my Robohelp user guide book, and double checked with Adobe help, but must have done something wrong or missed a step. The tags are blocking EVERYTHING except for the folders that have no tags applied. I have double checked, and each tag displays the appropriate other tags that should NOTdisplay, but excludes the one tag that SHOULD display. For instance, the tag I highlighed under Content Categories is "Compliance." If you can read the image, the Conditional Build Expression field contains "NOT (everything else)," but does not have "Compliance" in it. The instructions tell me that the Compliance folder (a child project) should display, but it doesn't.

Conditional Tags.jpg

Conditional Tags2.jpg

Furthermore, when you pull up the project it displays with an empty TOC, and you have to wait about two full minutes for it to load. You then have to wait an additional two minutes each time you select a category from the dropdown. When I had no conditional tags or category dropdown, everything loaded just fine.

Why is it a) not working and b) hanging up when I display the project?

Thanks!

Views

1.6K

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
LEGEND ,
Jan 22, 2013 Jan 22, 2013

Copy link to clipboard

Copied

Hi there

Okay, first impression here is what a mess! I mean no disrespect, but it's a struggle for many folks to simply wrap their minds around Conditional Build Tags. But you have taken it to a level I've not seen before. You are trying to combine Conditional Build Tags in a Parent project to make them somehow work in Child projects? Then you add the extra layer of the Content Categories. I have to say that I'm really not the least surprised that you are having issues.

So first things first. Hopefully you understand that Conditional Tags are really intended for one project. I'm not sure you could even make them work by simply manipulating items in a parent and having them influence child projects. Additionally, even though I'm well aware it's possible to do, I will typically steer folks AWAY from using Conditional Tags to manipulate the Table of Contents. Personally, I've never seen anything but trouble arise from attempting to tag TOC items. So I avoid it like the plague.

Now for Content Categories. Hopefully you realize that when you create Content Categories, you are essentially creating multiple versions of a WebHelp layout. So perhaps your WebHelp without Content Categories in the picture has 4,000 files involved. The moment you introduce the second category, you have essentially doubled the number of output files. Now if you have 40 sets of WebHelp files (You did say you had 40 child projects, no?) you are creating as many copies of the child sets of output files as you have Content Categories. That very likely accounts for the delay in load times.

Personally, I would likely avoid mixing Content Categories and Merged Projects. For the reasons you are posting these issues!

And yes, even though I know RoboHelp allows you to do it and it *SHOULD* work in theory, that's an entirely different matter than having it work reliably in the real world. For example, the speedometer in my truck is marked all the way up to 120 MPH. But I'd never in a million years consider that I should see if it really will go that fast!

Cheers... Rick

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
Participant ,
Jan 22, 2013 Jan 22, 2013

Copy link to clipboard

Copied

If I can't do this, what will enable me to create that scenario - display only certain child projects on multiple TOCs - except to have it work?

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
LEGEND ,
Jan 22, 2013 Jan 22, 2013

Copy link to clipboard

Copied

I'm not sure I follow here. If any of the child projects is missing and cannot be found at run time, it simply does not appear in the Table of Contents and cannot be clicked on.

Cheers... Rick

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
Participant ,
Jan 22, 2013 Jan 22, 2013

Copy link to clipboard

Copied

The parent project has a folder for each merged project, and they all display on the TOC.

The child projects contain various procedures. Different departments need to view the procedures in some of these child projects, but not others. For instance, Wholesale people don't need to view Retail procedures. The executive team wants the TOC cleaned up so nobody has to see anything they don't want to see. However, they still want the option to display the complete TOC that contains ALL child projects if they want to.

Think of what conditional tags do, and imagine each child project as a simple topic: that's what I need to replicate. Select a category from a dropdown, and see this, not that.

I cannot combine all 40 projects into one to get build tags to work - it would be totally insupportable because the project would be so huge, and would take hours to generate and upload, whereas I have to update things several times a day. So my topics all need to remain broken up into child projects.

We have seven "channels" and each of these channels needs access to one or more of the 40 child projects - but NOT all of them. I have been told to find a way to deliver a TOC that displays ONLY the procedures each channel needs. If Robohelp doesn't do this, we'll have to pay programmers to mess with the Robohelp source code. We don't want to have to do that, obviously.

So is there another way? I see that you can create multiple TOCs, but when I tried it, it didn't seem to work. Should I pursue that? What do multiple TOCs ultimately do, and would they satisfy the requirements, above?

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
LEGEND ,
Jan 22, 2013 Jan 22, 2013

Copy link to clipboard

Copied

Hello again

Let's talk Multiple TOCs. Let's further assume that you have the content from all 40 projects merged into a single large project.

You then create a different TOC for each of the scenarios.

In your example, you might have a TOC for Marketing. Another for Retail Field and one for Retail Sales, etc.

When you configure your Content Categories, you would create a category for each of the TOCs and in that category, you would assign the appropriate TOC. So after you generate, your end user would simply click the drop-down and choose the category that suits their need and the TOC, Search scope, Index and whatnot would only relate to that area.

Does that make better sense?

Cheers... Rick

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 ,
Jan 22, 2013 Jan 22, 2013

Copy link to clipboard

Copied

The parent project should only contain markers for the child projects, not TOC items themselves.

You say the parent project has folders for each merged project. Do you mean under mergedProjects in the output? If yes, I understand. If no, then where are these folders?

Executives sometimes ask for something in ignorance of what it would require and they then need to be educated.

Your goal is is one deliverable where users will be presented with the ALL category but can then choose their category. Correct?

Personally I would give each department two URLs. One for the full output, one for their department.

I'll take another look in the morning but right now it feels like the management of what is required will not be cost effective.

Each child should appear as a book in the help. Why can't users just select their child rather than picking from a dropdown.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

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 ,
Jan 23, 2013 Jan 23, 2013

Copy link to clipboard

Copied

Looking at this again the first point has been covered by Rick, excluding a TOC entry does not exclude the underlying topics from the build. They are still there and can be accessed via links and searching.

It's difficult to comment more without knowing how you are building your TOC. If you follow the method on my site, which Adobe now link their help to because it works so well, the parent TOC has no entries of its own other than the references to the child projects and they should never have tags applied. You may already have TOC entries in the parent and provided they are only to topics in the parent, that's OK. Then in order you will have the placeholders for the child projects. You should not have TOC entries in the parent direct to the children. That's not how merging works.

I also need the clarification as to what folders are in your parent and where, source or output.

Finally for now, do read http://www.grainge.org/pages/authoring/merging_webhelp/merging_method_rh9.htm#ducc which covers merged help with content categories. With 40 child projects, it is going to be a nightmare. There is a download there showing how content categories work with merged help. Download that rather than work on such a huge setup. It will enable you to see things more clearly. Right now I suspect you cannot see the wood for the trees.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

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
Participant ,
Jan 23, 2013 Jan 23, 2013

Copy link to clipboard

Copied

The folders contain each merged link, as they're supposed to. The only file in the parent project is the Recent Updates topic, with the company logo - the "Welcome" page. Everything else is either a merged project, or a link to  a topic in the "General Topics" project, such as "Building Hours."

Again, I am not going to combine them into one huge project them because it would be impossible - as I recall from past experience (it happened to me), a Robohelp project can only handle 2 gigs of content before it fails to generate and crashes the software, and many of these child projects contain large PDFs. It's only going to get worse because I'm now posting videos as well. Child projects are just more efficient to manage anyway. I can upload each one individually in one or two minutes as I update them, so the project is always to-the-minute current, instead of waiting hours for the whole thing to publish to the live server all at once. And I can create a department-specific PDF file or .chm on demand in less than three minutes (Click-done), without sorting through thousands and thousands of topics to manually piece it together.

Peter, if it's a nightmare I'm not going to go there. I'll think it through, and see if I come up with something. If I do, I'll let you know. Thanks.

TOC.jpg

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 ,
Jan 23, 2013 Jan 23, 2013

Copy link to clipboard

Copied

For clarification if and when we come back to this thread, what you are referring as folders are books in the TOC.

Good luck sorting it out. Hope the demo helps.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

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
Participant ,
Jan 28, 2013 Jan 28, 2013

Copy link to clipboard

Copied

Virtually nothing worked, so I ended up creating seven new parent projects for each of the channels, merging with the appropriate child projects for each. That meant setting up new single source layouts in the child projects to publish to multiple parents.

In the primary parent, I have links on the TOC to the launch files for the channel parent projects, which open in a new browswer window, with books containing all their applicable children, and links to General topics in the primary project.

The advantage to this is that you can bookmark the channel projects and bypass the main project altogether. I'm using that as a selling point.

And by breaking the project into smaller child projects, it means I can still publish some of the projects to multiple servers with different skins (we have a subsidiary with different branding colors). If it was one huge project I wouldn't be able to break things out that way. All of the projects are internal, but about 10 of them are also external, so everything has to be modular in order for me to do it efficiently.

Thanks for everyone's help!

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 ,
Jan 28, 2013 Jan 28, 2013

Copy link to clipboard

Copied

Several years ago Phil Wells needed to have multiple parent projects. His process is described at http://www.grainge.org/pages/authoring/merging_webhelp/merging_method_x3_rh6.htm#multiples. Whilst it is an old version of Rh, the method should still work.

It may be what you have done, sorry but busy so cannot look at the detail of what you have done and what Phil did.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

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
Participant ,
Jan 28, 2013 Jan 28, 2013

Copy link to clipboard

Copied

LATEST

Thanks - I'm a child project pro. I was just outlining what I did in case someone else encountered the same problem.

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 ,
Jan 22, 2013 Jan 22, 2013

Copy link to clipboard

Copied

How to merge with Content Categories is covered on my site. It can be done but playing 3D chess might be easier. 

Is there a reason for having  a merged help setup? It would all be much easier if all the content was in one 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
Resources
RoboHelp Documentation
Download Adobe RoboHelp