Skip to main content
Known Participant
April 17, 2017
Question

One Project - Four TOCs - Four Outputs with some shared topics

  • April 17, 2017
  • 1 reply
  • 979 views

Hi,

I have four TOCs: A, B, C, and D.

For example, A contains 10 topics, B contain 7 topics, C contains 3 topics, and D contains 3 topics. Some topics are shared between TOCs.

Now, when I am generating a chm for TOC A, the TOC appears fine. From the Search tab in the chm, if I do a search with some common words like and, the, and so forth, the search result displays also topics that are part of the other TOCs (may be B, C, or D). Is there a way to stop these topics of other TOCs to appear in the serach result?

I need this because all the TOCs are for different customers and some topics should be hidden from each other.

Please let me know if it requires more clarification.

Thanks in advance,

Jignesh

    This topic has been closed for replies.

    1 reply

    Captiv8r
    Legend
    April 17, 2017

    Hi there

    Ideally, you would define Conditional Build Tags (CBT) for each of the builds and use a build expression to ensure the undesired topics are excluded. But there does exist a feature in recent versions of RoboHelp that allows you to produce output related to only the TOC being used.

    When you are looking at the settings for the output (The recipe card, if you will) there is a feature there.

    What version of RoboHelp are you using? (Sorry, but my crystal ball is broken and I have no way of determining if your version of RoboHelp may support this feature.)

    Additionally, note that if the undesired topics are referenced in any way (perhaps a link from a different topic, or an index term) then this won't work. That's why I said a CBT with a Build Expression is a better approach.

    Cheers... Rick

    Known Participant
    August 4, 2017

    Hi Rick,

    Sorry after a long time.

    I used the CBT and Exclude Unreferenced..... option also but still it generates lot many topics. Not sure Why?

    For Example, I have 5 topics in my TOC like this:

    But, when I search through the Help, it displays the topics form other TOC s also.

    Something like this:

    This is just an example. If we search through other words, there are many other topics.

    I am not sure how to avoid this. This increases the file size also. Just for these 5 topics, it is around 12 MB. This must be because there are other topics also.

    Please help.

    surbhi_maheshwari9120543
    Inspiring
    August 10, 2017

    Thanks Surbhi.

    But, that's my question actually.

    I am having four TOCs in my project. Some topics are shared among those TOCs. I applied CBTs accordingly.

    I will give a detail example.

    TOC A contains topics A, B, C, and D.

    TOC B contains topics E, F, G, and A (shared topic).

    Now, when I publish TOC A, I only need A, B, C, and D topics only. But, what it does is it publish E, F, and G also. Even though, while publishing, I applied the CBT for TOC A only.

    I hope it is clear. It is little difficult to explain in words .


    What CBTs you have applied and what is the build Expressions you created for your output?

    Please elaborate.