Skip to main content
May 2, 2008
Answered

Need to publish only selected files in RH6 project

  • May 2, 2008
  • 2 replies
  • 375 views
Hi,

Let's say I have 50 .htm files already in an RH6 project. I only want to publish 20 of these files. I manually created a TOC and linked in those 20 files. However, I noticed that when I did a search in the final help file - the search results contained links to the other 30 files. I only want whatever is linked in the TOC to be published.

Thanks,
FMnRH
    This topic has been closed for replies.
    Correct answer Peter Grainge
    All topics get included in any output, regardless of whether or not they are in the TOC. To exclude topics you need to put a conditional tag on them and when you generate, create a build expression of NOT whatever tag you applied.

    2 replies

    Peter Grainge
    Community Expert
    Community Expert
    May 3, 2008
    When you generate the output, it will contain just those topics not excluded by the build expression.

    If the different layouts you need are fairly constant, this 20 for one build, this 30 for another, all for yet another, you can set up multiple layouts each pointing to different target folders.

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Peter Grainge
    Community Expert
    Peter GraingeCommunity ExpertCorrect answer
    Community Expert
    May 2, 2008
    All topics get included in any output, regardless of whether or not they are in the TOC. To exclude topics you need to put a conditional tag on them and when you generate, create a build expression of NOT whatever tag you applied.

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    May 3, 2008
    Thank you so much!

    Just to confirm... So, that means all the generated files from the WebHelp/FlashHelp layout that reside in the \\RoboHelp 6.0\(projectname)\!SSL!\(layoutname) folder on my drive does not include the selected conditional topics?

    - FMnRH