Conditional Build Tags Logic

Hi All,
Working on RH X5 generating webhelp.
I need some logic help or some help on developing different
manuals for different users for the same system, will explain
below.
I have got one project which have contents for different
version i.e. from 6.2 to 6.4..and a new version is added every
month or when required...
Types of users:
1. A
2. B
3. C
At this stage am using Conditional tags to generate different
types of manuals for different types of users
I am having one project from which I generate different
manuals for different user types and versions.
Till now I only had 2 versions so was able to use the tags
and work around..
As we are having a new version things are not wroking, tags
are not working.
A topic can be for v6.2 to v6.4 and for User A B C
A topic can be for v6.2 to v6.3 and for User A B C
A topic can be for v6.3 to v6.4 and for User A B C
A topic can be for v6.2 to v6.4 and for User A B
A topic can be for v6.2 to v6.3 and for User A B
A topic can be for v6.3 to v6.4 and for User A B
A topic can be for v6.2 to v6.4 and for User A C
A topic can be for v6.2 to v6.3 and for User A C
A topic can be for v6.3 to v6.4 and for User A C
A topic can be for v6.2 to v6.4 and for User B C
A topic can be for v6.2 to v6.3 and for User B C
A topic can be for v6.3 to v6.4 and for User B C
A topic can be for a single type of User also.
The types or Users wont increases but the version would
increase..One time we decide not to generate any more help for
older version..but this old version contents is still required in
new version manuals..
Is there a way out?

Hi Chet and others,
Thx for the idea Chet, I kinda agree with your suggestion
above.
What I plan to do....
1. Manuals for different types users (2-3) - example tags -
u1, u2.
2. What am working on with tags is not only topic level but
also on content level e.g.
Topic Level || Content Level
Topic A: u1,v2, v3 ||
Topic B: u2,v1 ||
Topic C: ,v1, v2 ||u1, v1
Topic D: u1,u2v2,v3 || v3
So now with the above what I have to do is there is certain
information which only relates to a specific version and/or a type
of a user, what am planning to do is to create one more set of tags
which I can use as EXCULDE. So I would be having two sets of tags -
for INCLUDE and EXCULDE.
Set 1 - For INCLUDE
v1 to vX
u1 to uX
Set 2 - For EXCULDE
nv1 to nvX
nu1 to nuX
Then I would create SSL's with both similar defined sets as
above. INCLUDE a topic and EXCLUDE contents.
Hope this works, will try it out soon and let you all know
Thx for all your help

Similar Messages

  • RH6 crashes with th and conditional build tags

    Hello together,
    The attached code worked fine with RH X5, but leads to a
    crash with X6. To fix, you have to replace the <th> by
    <td>, but it is not too easy to find the topic within a
    project. The fix is quite easy, but it is hard to find in a big
    project.
    This happens, when the conditional build tag is used.
    Thanks and best regards,
    Katrin Lusser

    Hello Peter,
    My wife created the topic with X3 or X5.
    She just tried again with X6 and after several changes (set
    heading, insert, delete, etc.) she had the same constellation.
    Unfortunately, until now, she could not find out the exact way to
    reproduce. But it is definitely possible. We will post here, when
    we find out, how to do it.
    Best regards,
    Michael

  • Conditional build tags/expressions in the TOC

    Hello all,
    I've run into another issue with my conversion, this time with Conditional build tags and expressions.
    All seems to be fine in my topics, but not in my TOC.
    Some of my topic titles have words that have conditional text applied in the source FrameMaker document.
    These topic titles also appear in the TOC that's automatically generated when I link my Frame book to Robohelp.
    I set the conditional build expression in the Webhelp settings dialog and then Save and Generate.
    These topic titles appear to pick up the correct conditional build expression in the topics themselves, but the TOC heading shows multiple conditions (including the condition I've set to "Exclude").
    So, for example, if my topic title is
    "Conventions in this documentonline help"
    WHERE
    document > should appear in PDF only
    and
    online help > should appear in Webhelp only
    I can get the Webhelp topic to use the title "Conventions in this online help"
    but the corresponding TOC heading looks like this:
    "Conventions in this documentonline help"
    Any ideas?
    Thanks.
    Sue

    Conditional build tags are not imported to TOC from FrameMaker content. However, one can follow another approach to achieve this. One can manage the Conditional build expression in FrameMaker itself and import the filterted content in RoboHelp. Inorder to achieve this, set the conditional build expression in FrameMaker. Turn on the setting in RoboHelp to "Apply FrameMaker Conditional Text Build Expression". [File->Project Settings->Import->Edit(FrameMaker Settings)->Other Settings]
    This way RoboHelp will import only the filtered content with Conditional Build Tags resolved as per the expression applied in FrameMaker.
    Mayank

  • Switching off conditional build tags

    I now have quite a few conditional build tags in my RH7 project and it's getting a bit difficult to see what's what in my topics as they are covered in coloured hash lines. Is it possible to switch off the view of individual tags? For various jobs I need to see certain ones but not others.
    Also, can I just check that I am using them right?
    Our software has web and windows versions so I have a 'Web' tag and a 'Win' tag for where the content differs and I create different outputs for each.
    Within the web version, we now have 2 different sets of customers who each need slightly different content and different names/logos etc. So I have created 'Customer X' and 'Customer Y' tags as well as 2 separate tables of contents. So in places, I have text which has 2 tags on it, 'Web' and 'Customer X' or 'Customer Y'.
    Does this sound ridiculous? Is there a better way?
    I know I could have used user defined variables for the company names but I would still need the cond build tags for the content so figured it would keep it simpler just to use tags.
    Helen

    Hi there
    Sorry, no way to turn off individual tags. You can turn off the shading if you like.
    Click View > Show > Conditional areas.
    You might also consider submitting a wish form to ask for this type of functionality to be added to a future version.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • In the paragraph after a conditional build tag, an inline image gets wrapped in a div tag

    Hi,
    TCS5, so FM 12 and RH11. I have successfully applied some conditional build tags by turning off the apply conditional build tag setting and using the Conditional Build Expression in the WebHelp properties instead.
    In RoboHelp, everything looks correct.  I generate WebHelp and suddenly, a div tag is wrapped around the inline image in the paragraph that followed the text marked conditional.
    This did not happen with TCS 4 (FM11, RH10).  I am not sure why this div tag is applied only when I generate the help.  Any thoughts on what to check?
    Lauren

    Hi lauren,
    I tried to replicate the above mentioned issue, but did not get the <div> around the image in Webhelp output. Would it be possible for you to provide more information on this:
    At what point does the <div> start appearing around the image, as soon as the CBT expression is applied?
    If yes, what is the expression?
    What happens when expression is set to None again and individual CBT is under application
    Is there a spacing or the CBT text just follows the inline image?
    Please send us a sample file for the same, if possible. Thanks!
    Amit

  • The extra space created due to Conditional Build Tags

    Hello,
    I am authoring a online help file, for a web application. As different content is needed for the 4 different roles of the user, I have used Single Sourcing option and made use of conditional build tags for the content that is not common among the different roles. I even have images which are difffernt for the differnt roles. I have used conditional build tags for these too. The problem is that, extra space appears in place of the images which are not applicable to build I am publishing. Is there any workaround other than modifying the HTML files to remove the extra space added?
    Regards,
    Deepti Korwar

    hi Deepti,
    I have seen this issue on multi-level lists (in RH9) when using soft returns (Shift-Enter) within the lists.
    An extra space is added before images marked with CBTs. But this only caused problems in print.
    Are you seeing this space on all outputs or just print?
    Can you paste a code snippet from one of the offending list?
    Perhaps you can get round this by opening up the HTML tab and carefully examining and perhaps moving the CBTs.
    e.g. <?rh-cbt_start condition="xyz" ?><img src="xyz"  > <?rh-cbt_end ?></p><?rh-list_end ?>
    Will be helpful to see the code.
    thanks
    Craig

  • In RH9, random conditional build tags appear within topic text

    I have assigned conditional build tags to text within a topic. After closing the topic and re-entering at a later time, other (additional) text now has the conditional build tag assigned as well. However, I did not assign the tags to those other sections of text.
    I do not have any trouble assigning a conditional build tag at the topic level. The issue only occurs when a tag has been assigned to text within a topic.

    There is another thread running on this. See http://forums.adobe.com/thread/58834?tstart=0
    I am locking this thread so that all replies go to the one above.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • RH 11: Conditional Build tags applied: Content still showing up in search

    Hello. I am generating WebHelp using conditional build tags using RH 11.
    I have marked books in the TOC with a CBT of Not in 6.1.
    I generated help and excluded content marked with the CBT Not in 6.1.
    When the Web Help is generated, the books marked with the CBT  do not display in the TOC. However, if I do a search, topics that are under the books and therefore should not be included in the output have search results returned.
    Is there a scenario in which topics that have been excluded from the generated help would still show up in search?
    Your help is greatly appreciated.
    Jenny

    Hi Jenny
    Indeed there are a few reasons this may happen.
    First, simply excluding a topic or a book in the TOC simply makes sure that the TOC doesn't have a link pointing to the topic. Normally, I'll just tag the topic itself and ignore tagging the TOC. If a topic has been excluded, it won't appear in the TOC.
    In the WebHelp SSL recipe, click to expand the Content Categories section and look at the settings on the right. You might try ensuring the following option is enabled. It's named Exclude Unreferenced Topics from Output. As long as nothing else is linking to the topic, ensuring it is removed from the TOC *SHOULD* cause it to no longer be included.
    Cheers... Rick

  • Text coded with conditional build tags still showing up in TOC even if tag is "excluded"

    I am using TCS2, Windows XP.
    After creating a book in FM and coding with conditional build tags, I imported into RH. When I generate, I have the output tag set:
    NOT NoOUtput AND NOT Internal AND NOT Print - I want to generate my External, Online Help webhelp. And it works like a charm. Except that:
    In the TOC, I can still see headings for things that are "internal" - when I click on it, they don't go anywhere... but I don't want them to appear in the TOC!!
    It seems to be excluded from the index and the search. I am sure I am just missing a step or something...
    In looking through the forums I found this... http://forums.adobe.com/message/751847#751847 -- I don't know if it is still applicable since it seems to be referring to RH6 (which is a bit away from RH 8 that I am using)...
    Any help is appreciated!
    TIA,
    Adriana

    Hi Daggins,
    Thanks - that is good info to have. But as we all agree, that does take away from the point of single-sourcing.
    You aren't misunderstsanding exactly... I am doing all my conditional tagging in FM and it works like a charm in terms of the PDFs that I generate from FM, and even the conditionally tagged text in RH shows/hides correctly. The issue is I am also importing my index and TOC from FM... and even if I have an entire file in FM tagged as conditional (all the text is tagged as conditional, I don't know if you can tag a file as conditional), the file name as a heading it still appears in the RH TOC. There is no text... but in my view it shouldn't appear in the TOC either (it looks like just a broken link when I generate my online help) - this is not ideal.

  • Conditional Build Tags for Text Blocks Applied to Entire File

    RoboHelp 8.0.0.203.  This post also deals with conditional build tags, but in this case the conditional build tags have been associated with sections of text and text blocks within a topic.  The design was implemented originally in RH7 and the project has since been updated with RH8.
    For example, you could have three blocks:  Purpose, Procedure, Tips, and a Notes block.  They are disabled by applying blocks Tag A, Tag B, Tag C, and Tag D respectively.  If Tag A is applied to the Purpose, it is cross-hatched in the design window and does not appear upon generation.
    The problem is that tags that are seemingly unrelated to blocks, such as Tag C and Tag D, are spontaneously applied to those blocks -- by the software.  In fact, they would be spontaneously applied to all of the blocks and text in a some of the files (for no apparent reason), cross-hatching every element and every block of text in the file.  When we unapply the tag and store the file, when we re-open the file, the tag is mysteriously re-applied to all the blocks -- again by the software.
    Has anyone seen this type of problem in RH8?
    Below is further detail about the problem
    An example of how tags shold be applied involves a block involving three banners
    <div class="banner">
         <?rh-udv_start name="Banner A" ?>BANNER A NAME<?rh-udv_end ?>
         <?rh-udv_start name="Banner B" ?>BANNER A NAME<?rh-udv_end ?>
         <?rh-udv_start name="Banner C" ?>BANNER A NAME<?rh-udv_end ?>
    </div>
    Under normal conditions, an associated tag would be applied to "unselect" two classifications, thus selecting the third by default.  This is done by highlighting the associated banner, right-clicking and selected the "UnselectedBanner" tag,  Below, banner C is selected by unselecting Banners A and B.  T
    <div class="banner">
         <?rh-cbt_start condition="UnselectedBanner"?>
         <?rh-udv_start name="Banner A" ?>BANNER A NAME<?rh-udv_end ?><?rh-cbt_end ?>
         <?rh-cbt_start condition="UnselectedBanner"?>
         <?rh-udv_start name="Banner B" ?>BANNER A NAME<?rh-cbt_end ?><?rh-udv_end ?>
         <?rh-udv_start name="Banner C" ?>BANNER A NAME<?rh-udv_end ?>
    </div>
    The <?rh-cbt_start condition="UnselectedBanner"?>  indicates that the section is de-selected.
    Note, that the "<?rh-cbt_end ?><?rh-udv_end ?>" are in opposite order in the example (but that's how it appears in the file).
    In the cases where this problme occurs, we the html riddled with "Tag D" and "Tag C" condition tags for all the elements.
    <?rh-cbt_start condition="Tag C, Tag D"?><div .......     </div><?rh-cbt_end ?>
    I cannot attach any files because these files are on a classified system.
    Thank you much.

    Hi Tammy
    It will also be helpful if everyone that encounters the issue reports as a bug. It's like a voting system. The more reports of bugs that are seen, the more weight is given to the priority. This directly translates to the fix being posted sooner rather than later.
    So even though the bug has been "reported", you and others should take a moment and report as well!
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Can I use conditional build tags in CSS files?

    I am using RoboHelp X5.0.2 and building CHM files.
    I use conditional build tags to output different Help files
    for the different products we have that all have similarities.
    In the past I have setup the CSS file to show headers, links
    etc in the color scheme we use to keep the look and feel of our
    branding. One of the new products uses a different branding color
    scheme.
    I was wondering if there is a way I can use conditional build
    tags in the CSS file so that when I build one type of help it uses
    header in one color and when I build another help it uses a
    different header color. Does anyone know how to do this? If it is
    not possible in my current version, is it possible in the latest
    version of Robohelp?

    [WORKAROUND ALERT IN X502]
    For .chm output, you could:
    1. In the Topics pane, select all the topics (click on one
    topic and press Ctrl+A).
    2. Right click in the highlighted area and select Properties.
    3. In the Appearance tab, select the different style sheet.
    4. Click Save.
    5. Generate the .chm file.
    6. (optional) Repeat steps 1-4 to revert to previous style
    sheet setting.
    Good luck,
    Leon

  • How to apply conditional build tags to the topic title that is displayed in Search tab of CHM?

    I have the project in which 2 different words are used to reffer to one objects (this word/term depends on the customer). All other information related to functionality, steps, etc. are common. So:
    In the help content (body of the files), I created 2 conditional build tags (CBT) for these terms.
    In TOC, if topic title contains the term, I created 2 different topics reffered to the single topic file, but the title of the topic shows correct term (depends on CBT).
    File names of this topics contain only term1.
    The problem occurs when I generate CHM for CBT2 and search for the term1 (marked with CBT1) using the Search tab. All occurrencies where term1 presence in the file name, appear in the found results.
    How can I resolve the issue?
    These topics must be found by search (that's why "Exclude from search" option is not a decision).

    Ahhh, you are correct. I believe it was Version 10 introduced that.
    So here's what I'd suggest. Even though you are unable to use a variable in a Topic Title, it can still be used in other places such as the TOC, the Index and in the Topic content. So I'd still recommend that you declare and use a variable for those items. Just to simplify things.
    As for any topics that have the term in the title, you could create two topics. One with the term one way and the other with the term the opposite way. Then use a Conditional Build Tag to exclude and remove the one that shouldn't be found.
    This may cause you a bit of a maintenance issue by having the same topic content in more than one place. (one for each topic)
    So to overcome that, you would be able to add the main body information to a topic and use an Inline Frame in the two topics that would then simply be shells with appropriate Topic Titles. Either that or declare a snippet and use the snippet in both topics. Put the main part in the snippet.
    Cheers... Rick

  • Quotes conditional build tag

    I am using Office Word 2003 and Robohelp 7 for Word and I
    need to apply conditional build tag to document contents.
    I’m compiling the help for Microsoft HTML help but
    opening the chm file I can still see the following text (in a small
    font) at the place of the conditional text removed:
    I tried to change the font/size/colour of text and marker but
    it doesn’t help.
    My text is in Italian language.
    I tried to compile for WinHelp layout, but characters
    ‘’‘’‘’ are still there, in the
    middle of my page.
    Any idea?

    See Build Expressions on my site.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Topic and content level conditional build tags

    What is the difference between a topic level and a content
    level conditional build tag? Why would you select one over the
    other? How do you select one over the other.

    First let me point out that the same conditional build tag
    can be applied at either the topic level or the content level. It
    sounds like you may be thinking that you have to create a tag as
    for either the content or topic level.
    Apply a tag at the topic level when you want the entire topic
    excluded from a certain output. Do this by right-clicking on a
    topic in your Project Manager, going to Apply Conditional Build
    Tag, and selecting the tag.
    Apply a tag at the content level (text, images) when you want
    the topic to be included but want specific content to be excluded
    from a certain output. Apply a tag at this level by selecting the
    text and/or images that you want to apply the tag to,
    right-clicking, going to Apply Conditional Build Tag, and picking
    the tag.
    Note that you wouldn't use a tag at the topic level on a
    topic where you have used that same tag at the content level, and
    vice versa.
    Generally, the idea of build tags is to set an output to
    exclude certain tags, but you can also set outputs to include tags
    instead, which then excludes all other tags.
    --Ben

  • Conditional Build Tags Generated All Over Topics in RoboHelp 9 (HTML)

    I'm creating a help system and user manual using RoboHelp 9. The whole thing depends very heavily upon the conditional build tags. (Some parts are online and others are only for the print version of the manual.)
    Here's my problem: When I go back to topics I've already created, the tags are automatically generated in the wrong parts of the topic. The error lies in how RoboHelp is generating the HTML behind the scenes. (This was verified by one of our in-house developers who was thoroughly amused with RoboHelp's attempt at writing HTML.) I'm at my wits end. We have tried generating a new help system, only importing images from the old help system. It worked fine for awhile, but then the same problem cropped up. Is this some sort of bug? Is there a setting that I'm overlooking?
    I'm officially at my wits end. Help.

    Never seen what you're describing - when you tag text in a topic with a CBT, it stays stuck to it - there's no auto generation of CBTs. When you create your help, you specify what to show & what to hide in your SSL layout recipe.

Maybe you are looking for