Skip to main content
mjjhhc
Known Participant
September 12, 2024
Question

RH2022 ~ how to link from child TOC to topic in another child project?

  • September 12, 2024
  • 4 replies
  • 331 views

Hello, community.

I’m upgrading from RH2019 Classic to RH2022.3.93.
I’m configuring six child projects merged into one parent.
Using Frameless output with Studio template.
Generally links between child projects are working fine.

 

I want to link from the TOC of one child to a topic in another child (relative link?) - - or redirect from a blank topic.

I’ve reviewed what I can find in the RH community and grainge.org, but perhaps have missed the correct info and have a few questions. Some of the answers I’ve seen are not for Frameless or are for previous versions of RH (also, I’m not sure if what I want to do is possible with Frameless.)

What I’ve seen so far is either:

  • <meta HTTP-EQUIV=refresh CONTENT="0;URL=First_Topic.htm"> but that hasn’t not worked yet. Is this the correct syntax? 
  • startpage.htm#mergedProjects/path/target_topic.htm 
  • remove rhpj and contents from the link path

 

Insights or solutions are appreciated.

Thanks!

    This topic has been closed for replies.

    4 replies

    Peter Grainge
    Community Expert
    Community Expert
    September 17, 2024

    I knew there was another way but couldn't recall it quick enough.

     

    In your TOC right click in a blank area and click Insert Topic to display this dialog. Work out the URL of the target and insert that. It will open in fresh tab though. You might not like that.

     

    ________________________________________________________

    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.
    Peter Grainge
    Community Expert
    Community Expert
    September 17, 2024

    Once I realised what the problem you faced was, I recalled that this is a problem in the new UI versions.

     

    I think the only way you might acheive this is to create a topic in the project where you want the link. That topic will be a redirect. There is information about that in the PDF that describes merged help in Classic versions. https://www.grainge.org/RoboHelp/Merged_Help/Merging_Classic.htm

     

    Your TOC will open the redirect but it should then seamlessly go to the target topic.

    ________________________________________________________

    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.
    Peter Grainge
    Community Expert
    Community Expert
    September 17, 2024

    Oops. I missed the "link from TOC" bit.

     

    I will have another look later today.

    ________________________________________________________

    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.
    Peter Grainge
    Community Expert
    Community Expert
    September 12, 2024

    I have corrected your post as my site is grainge.org. grainge.com is a firm of architects! -:)

     

    The correct format is simply a straight URL between the two projects such as 

    ../Child_One/Child_One_Topic_One.htm">Child One - Topic One

     

    That would be from a topic that is in the contents folder with no further folders to a similar topic in another child project.

     

    ../ goes up to mergedProjects and the rest goes down to the required topic. You will require further instances of ../ if the project with the link is in a sub-folder.

     

    I have to ask though why are you doing this the hard way with hand coding? If you set up your projects in the way described on my site, you can create your links using the UI and let RoboHelp do the coding. The is a small demo merge you can download from my site. Try it.

    ________________________________________________________

    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.
    mjjhhc
    mjjhhcAuthor
    Known Participant
    September 17, 2024

    Hi, Peter,

    Thanks for your help.
    I’m missing something.  I’m sure I’ll figure it out right after I update the post, prob the next combo I try /sigh.

    RECAP:

    [1] Crosslinks from a child htm page to a different child htm page work fine using the picker/UI. (So I figure I setup my folders correctly as indicated in your RH tour; again, I could have missed something). 
    [2] TOC links from a child to a topic in another child have not worked. (NOTE: it works in 2019 Classic and the upgraded RH 2022 TOC link also works to the old server!)

     

    I expected to open the demo and see a TOC link in a child project to a topic in another child project, but I did not see it (I picked wrong demo?).

     

    I tried creating TOC cross links in the demo and also in my projects but was unsuccessful.
    I guess it’s entering the right combination of the details?
    MY RESULTS:

    OPTION

    PATH/SYNTAX

    RESULT

    Webpage

    https: <full path>

    File not found

    Webpage

    <full path> without protocol prefix

    File not found

    Local Files

    Rhpj:

    Click link; nothing happens

    Local Files

    ../<relative link>  

    LOG says
    [1] Skipped copying external file;
    [2] Failed to find topic:
    Also, TOC link does not publish

    Project Files

    No picker available

    NA

     

    Please let me know my error or how to create the TOC link to a topic in another child project in your demo.
    thanks again!