Skip to main content
March 30, 2012
Question

Issue Related Table of content using Robohelp

  • March 30, 2012
  • 4 replies
  • 1178 views

How to handle context sensitivity in a merged project?


We have one Main project and 10 module specific projects. The output for the project is CHM.  The module specific chms have been merged into the Main project using merged project functionality of Robohelp 9.  The chm is further integrated into the application.

Now when F1 is pressed the correct topic is being displayed but with that Module’s Table of Contents (i.e. child ToC) instead of Main ToC.

Steps:

Module specific projects have created and map ID is assigned to each topic.  The window definition and the reference to Main chm and ToC are added to each project.
Merged all the chms in the Main project and generated the Main chm.
Integrated main chm into the application.

Expected output: The correct topic should be displayed with Main project ToC.


Actual output: The correct topic is displayed but with that module’s ToC.

Thanks & regards,

/Vikas

    This topic is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    RoboColum_n_
    Legend
    March 30, 2012

    Hi Vikas and welcome to the RH forums.

    The secret here is to add the master project's TOC file (projectname.hhc) to the Advanced Properties inside the window being used by the SSL you are using inside your child projects (see below). You'll also need to add the .HHC file to the baggage files in each project.

    April 4, 2012

    Please refer below the steps followed:

    1. Closed child projects and parent project.
    2. Deleted CPD file for each project.
    3. Opened child project. Verified the window definitions (i.e. window refers to Parent.hhc which is added as a baggage file to each child).
    4. In the Single Source layout properties verified that the correct options are selected (e.g. the ‘NewWindow’ is selected in the Advanced properties).
    5. Generated chm.
    6. Verified that the HHP file does not have any hard coded paths.
    7. Repeated above steps for remaining child projects.
    8. Replaced the child chms in the Parent project with the new chms.
    9. Opened the Parent project and verified the window definitions and Advanced properties option point to the same window selected in the child projects.
    10. Compiled Parent project.
    11. The output chm shows the correct ToC when opened using View Output functionality of Robohelp. Issue is when I test context sensitivity.
    12. Tested context sensitivity, correct Topic is being displayed but no ToC in the ToC pane. It is still blank.
    April 4, 2012

    I tried the steps mentioned by you but it dod not worked and the TOC is not displaying anything.

    Best regards,

    /Vikas