Skip to main content
Known Participant
November 1, 2023
Question

TOC file location in output files created by RH2022?

  • November 1, 2023
  • 6 replies
  • 880 views

@Peter Grainge I have one off-topic question.

Do you know TOC file location in the help output (files/folders) of RH 2022 version.

    This topic has been closed for replies.

    6 replies

    Community Expert
    November 1, 2023

    If you have a friendly developer they should be able to write a script to recover the toc from the toc js files. The content is broadly speaking JSON data, so if they have a sample of the .toc file so they can see the XML structure required, they should be able to parse the JSON and transform it into the required XML.

    Peter Grainge
    Community Expert
    Community Expert
    November 1, 2023

    There is no way you will recover the TOC from output. The contents are scattered around various files in the whxdata folder and will make no sense.

     

    Do you not have a backup of your project? The quickest recovery will be to copy that in and update it.

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Ana2021Author
    Known Participant
    November 1, 2023

    Thank you, @Peter Grainge. I will explore all the possible ways and fix it.

    Again thank you @Jeff_Coatsworth and @Peter Grainge for your timely reponses. 

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 1, 2023

    I don't think it's located in any one spot - what are you trying to accomplish?

    Ana2021Author
    Known Participant
    November 1, 2023

    Due to some reasons my project's toc got corrupted, hence wanted to recover it from the previously generated output.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 1, 2023

    You've got the RH source project, right? Why not just regenerate the output again?

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 1, 2023

    Using what skin/template in your preset?

    Ana2021Author
    Known Participant
    November 1, 2023

    It is Azure-Blue.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 1, 2023

    Well, let's just do that for you @Ana2021 - here you are in your own thread now.
    What output type are you producing?

    Ana2021Author
    Known Participant
    November 1, 2023

    Thank you, @Jeff_Coatsworth.

    I am producing webhelp type output.

    Peter Grainge
    Community Expert
    Community Expert
    November 1, 2023

    @Ana2021 This question appears to be unrelated to the thread. Please always start a new thread for unrelated issues.

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.