Skip to main content
Inna Iak_ko
Known Participant
June 5, 2023
Question

How to generate output to specific files and not the whole project?

  • June 5, 2023
  • 3 replies
  • 202 views

Is there a way to generate an output in a way that only some files inside the project are updated in the output folder and others that are still in work stay as last generated in the output? Or at least send to publish (with the Publish function) only some specific files? Seems I'm in a deadlock

 

My situation is that I'm currently updating a number of files in the RH project folder. Some of them cannot be finalized untill the end of the  month, whereas I have a couple of files that are ready to be published to the site. But seems that there is no way in RH to generate an output only for some files that are ready to be published. You can generate an outout only to the whole project. Am I correct?

 

Please advise how to work in RH if you use your project to constantly update the content, but you need to generate the output only for some files that are ready to be published while some other files are still "in work" status and cannot be published.

 

Thank you for your help

    This topic has been closed for replies.

    3 replies

    Community Expert
    June 5, 2023

    I use two condition tags for a simple use case where I might need to do a small update to the current help while working on the next release. For maintaining multiple different versions I would recommend using source control and branching.

     

    For the simple case, when I start working on the new version I tag all changes with the NextRelase tag. If a paragraph will change significantly, I'll tag the original paragraph with CurrentRelease and add a new paragraph tagged with NextRelease for the new content.

     

    Then I have two different output presets. A Review preset that excludes anything tagged with CurrentRelease, so the new version can go for review. And a Production preset that excludes anything tagged with NextRelease, so I can release the current version if necessary. (and obviously I can change the condition expression selected for the Review preset if I need to, but generally that stays the same.)

     

    Once I'm ready for release I go through the topics deleting anything tagged with current release, and untagging anything tagged with NextRelease. It's a little bit of work, but pretty quick once you get the hang of it.

    Peter Grainge
    Community Expert
    Community Expert
    June 5, 2023

    You haven't said which version of RoboHelp you are using. Please always start a thread with this information.

    • Please go to Help > About and include the full version number.
    • If you are using 2019 also state whether it is 2019 Classic or 2019 New UI.

     

    Not really. Assuming you are using a new UI what is in the TOC gets published, ready or not. You could tag out the unfinished topics and in the generated folder they will not be there. When you publish, it's different and nothing gets deleted. However, the catch is the TOC and search will only work on what you have just published.

     

    You could use an FTP to tool to manually upload the finished files but again the TOC could be wrong and search will be wrong. 

     

    You could have two versions of parts of the content.

    For example say you have a paragraph "This is my existing old content" and are going to change it to "This is my new content" but you are not ready to release the change.

    Tag the second paragraph with a tag such as Not_Yet and exclude content with that tag when you generate. Then you would only get the old content. When ready, remove the tag and the old content.

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Jeff_Coatsworth
    Community Expert
    Community Expert
    June 5, 2023

    What version of RH are you using? Are you using any source or version control? I suspect that would be only way you could update selected topics and create a new build with only those changed topics in it without including any work-in-progress topics.

    Inna Iak_ko
    Known Participant
    June 6, 2023

    my bad. thank you for pointing this out.

    It's Version 2022.0.346