Skip to main content
Known Participant
November 17, 2021
Answered

Sharing information between RoboHelp Topics

  • November 17, 2021
  • 7 replies
  • 378 views

Can a RoboHelp topic pull information from another topic in the same project?

Can I insert an image and descriptive information in one topic and have that information appear in another topic, not just a hyperlink?

    This topic has been closed for replies.
    Correct answer Peter Grainge

    No. A snippet is created and then inserted in many topics. A cross reference can link to a section of an existing topic. Same end result but different methods.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    7 replies

    Known Participant
    November 18, 2021

    Thank you.  I wasn't aware of Content References.  Between those and the Cross References I think I've found what I'm looking for.

    Community Manager
    November 18, 2021

    Actually beside snippets and cross-references, you can also use conrefs (content references). Conrefs are more intended for your purpose.

    Example:

    Somewhere in a "remote file" ("remote-file.html"):

    <section id="section_something">
       <p>Some paragraph text here.</p>
       <p>And another paragraph</p>
    </section>

    In a document (topic.html) where you want to pull in this section:

    <section>
      <h2>data-conref to #id:</h2>
      <section data-conref="remote-file.html#section_something"> </section>
    </section>
    

    You can also conref complete files (<div data-conref="technical-data.html"> </div>).

     

    You can even conref (pull) content from some webpage on the web, as long as it can be accessed with an ID.

    Try this:

    <section>
      <h2>data-conref to #id:</h2>
      <section data-conref="https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll#content"> </section>
    </section>
    

     

    RoboHelp's data-conref is extremely powerful and can open up a world of content reuse.

    Known Participant
    November 17, 2021

    Yes, RH 2020.

    Thank you.  The cross reference ability was what I was looking for.

    Peter Grainge
    Community Expert
    Community Expert
    November 17, 2021

    My preference generally would be Snippets as you know where to locate the source. For some purposes though a cross reference would be better.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Peter GraingeCommunity ExpertCorrect answer
    Community Expert
    November 17, 2021

    No. A snippet is created and then inserted in many topics. A cross reference can link to a section of an existing topic. Same end result but different methods.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

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

    Isn't that just "snippets"?

    Peter Grainge
    Community Expert
    Community Expert
    November 17, 2021

    That depends on your version. Yes in 2020. 

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.