Conditional build tags on books

I want to hide a TOC-book on certain condition. How can I do
that? Are there any things like Conditional build tags on books?
Thanks in advance.
-karl

Hi karlroth
Unfortunately, there is nothing in RoboHelp at the moment
which will directly allow this. But if you cause all pages and
books inside the desired book to disappear you will remove the
book. I've outlined how to do this at
this
link.
Cheers... Rick

Similar Messages

  • Conditional Build Tags...weird behavior?

    If I apply a conditional build tag to a topic from the TOC
    tab, the topic gets included in the output even if I have specified
    that tag to be excluded.
    However, if I apply the same conditional build tag to a topic
    from the Project tab, then the topic gets excluded (as expected)
    from the output because I have specified that tag to be excluded.
    Is this inconsistency in behavior by design? I looked at the
    RoboHelp Help, and it appears there is nothing wrong with adding
    conditional build tags to topics from the TOC tab.
    Can someone shed light on this? I am using Adobe RoboHelp
    HTML 6, Build 099.
    Thanks,
    K
    P.S.: It appears RoboHelp is completely ignoring the
    conditional build tags that I am adding to topics from the TOC tab.
    If I see these tagged topics from the Project tab or the Topics
    tab, there is no color shading for these topics. The color shading
    for the topics shows only if I tag the topics from the Project Tab
    or the Topics tab.

    Here's a copy-paste from the RH Help...It didn't explain
    things the way you did. :-(
    Applying conditional build tags to Table of Contents
    Use conditional build tags to design and create multiple
    versions of your project from a single set of source files. After
    creating the conditional build tag, you can apply it to both books
    and pages in the TOC for maximum control over the final results.
    From the TOC view, you can apply conditional build tags to Topics
    also. When you generate a project, you can define conditional build
    expressions to include or exclude the book or page in the TOC, from
    the output.
    Show Me
    Use this procedure to apply conditional build tags to books
    and pages in the TOC. When you exclude such a tag from your output,
    the book or page in the TOC, is not included in the output.
    To apply a conditional build tag to a book or page in the
    TOC:
    Option 1:
    Create the conditional build tag.
    Click the TOC tab to view the Topic list.
    Select a book or page to which you want to apply a
    conditional build tag.
    Right-click and select Apply Conditional Build Tag, and
    choose the Tag you want to apply. The tag is applied to the
    selected book or page.
    When you generate the project, you can define conditional
    build expressions to include or exclude the tagged books or pages
    in the TOC, from the output. (A TOC to which a tag has not been
    applied, will be included in the output.)
    Option 2:
    Create the conditional build tag.
    Click the TOC tab to view the Topic list.
    Select the book or page to which you want to apply a
    conditional build tag.
    From the Format menu, select Apply Conditional Build Tag, and
    then choose a tag. The conditional build tag is applied to the
    selected book or page in the TOC.
    When you generate the project, you can define conditional
    build expressions to include or exclude tagged books or pages in
    the TOC, from the output. (A TOC to which a tag has not been
    applied, will be included in the output.)
    To apply multiple tags:
    From the Format menu, select Apply Conditional Build Tag, and
    choose New/Multiple. The Conditional Build Tag dialog box appears.
    Click Check All to apply all the tags, or select specific
    tags to apply to the book or page in the TOC.
    Click OK.
    If your project is under version control, these steps may
    include more options. Click here for more information.
    Tips:
    You can also apply conditional build tags to topics, topic
    content, folders, and Index.
    To verify the tags applied to topics, topic areas, TOC, and
    Index, or rename a tag, or change the color of a tag, click the
    Project tab, expand the Conditional Build Tags folder, and
    double-click the tag. You can make the desired changes in the
    Conditional Build Tag Properties dialog box.
    Ensure that you remove textual references to the excluded
    book or page, such as text links, which refer to the tagged book or
    page in the TOC. (Hotspots are not active for excluded topics.)
    If you generate Printed Documentation, TOC with Conditional
    Build tags are not excluded from printing.

  • 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

  • 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 applied to topic but it still displays in my TOC?

    I have applied topic level conditional build tags to topics.
    The corresponding books are still being displayed in my TOC. I
    checked the 4 topics and the condition is applied at the topic
    level. What am I missing here?

    Hi Renee
    If I recall correctly, you were also using Conditional
    tagging on almost everything in the TOC too.
    It's worth noting that:
    1. Sometimes the tagging will conflict and you won't get the
    results you were expecting
    2. Any topic inside a book should disappear if you are
    tagging at topic level. But the book will remain if at least one
    topic linked to a page inside the book wasn't excluded and remains.
    Cheers... Rick

  • Conditional build tags for TOC in Robohelp X5

    HI, Can we apply conditional build tags for TOC in robohelp
    X5. I know this feature exists in robohelp X6 and x7. But as i am
    working on x5, i want to know whether we can apply conditional
    build tags for TOC. if yes, whats the process?

    Hello again Abraham
    Okay, so you have a book named Privileges. It is linked to a
    topic named the same, right? And inside this book is a book named
    Billing. I'm guessing your TOC structure would look like this:
    * Privileges
    **** Billing
    ******** Topic one
    ******** Topic two
    You seem confused that the Privileges book doesn't disappear
    when you exclude the Privileges topic. If that were to happen,
    would you also want the Billing book and all topics inside to
    disappear? Because if the Privileges book were to be removed,
    anything and everything inside the book would also be removed.
    Indeed to remove a book you need to coax all topics linked
    inside (or inside sub books) to disappear too.
    Cheers... Rick

  • 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

  • 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

  • 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

Maybe you are looking for

  • HP Color LaserJet 2840 -- reinstalling driver -- HP Setup Assistant failing

    Hello! Any tips on how to get my MacBook Pro to identify my HP Color LaserJet 2840 printer? I'm trying to reinstall the driver, but in the HP Setup Assistant, the printer doesn't show up. I tested the same printer and USB cable on my older iBook, and

  • QT Pro key - Migrating from PB to MBP

    Hello there, I just got a MacBook Pro and transfered (just about everything transferable) from my old PB using the Migration Assistant. I can see that my QT Pro key was transfered over with the migration process that was part of the original configur

  • Has anyone got AST to work on a Lion Server?

    For the Apple Service Providers we need to run Apple Service Toolkit from a server. Has anyone gottten AST to work on a Lion Server? We have 3 locations and have all tried and have gotten different out comes but none have worked. We have chatted with

  • Copy and paste has stopped keeping the source formatting.

    Hello, I have used Firefox for a few years but just recently I have run into this problem. I copy Twitter links and send them via email using Microsoft Outlook 2003. Within the last week or so the formatting will not stay the same as the source websi

  • I am not able to delete or write my files to my external hard disk drive what shall i do?

    i am teja i brought a new mac book air here i am not able to write or delete the files that are present in a external hard disk drive what shall i do now to enable required permisions................plz reply me i am new to mac