Skip to main content
Participating Frequently
November 9, 2023
Answered

RoboHelp - Variable not defined error when exporting Responsive HTML

  • November 9, 2023
  • 12 replies
  • 1818 views

We want the Page title on our html pages to be the H1 or H2 heading of each article. We highlighted the headings created variables and then added them to the title field before exporting. something like {TitleHeading} . However when exporting the page title just shoes the {TitleHeading} not the actual variable and says "Variable not defined" . When we go back and look at the variables in robohelp the name and correct values are there. Is there something additional needed for the HTML export for that to pull correctly?

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

    Ok but I still need to know how you got to that dialog. It's only by finding out things like that, that I can help people.

    ________________________________________________________

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

     


    Never mind, I found them. Variables in Content and Variable Sets in Outputs.

    ________________________________________________________

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

     

    12 replies

    NoSupportAuthor
    Participating Frequently
    November 9, 2023

    RoboHelp Version 2022.3.93

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 9, 2023
    NoSupportAuthor
    Participating Frequently
    November 9, 2023

    Thank you, I had not come across it and in doing so i see that we may be using variables the wrong way for this issue. We will definitally start using variables for what they are meant to do. Our original issue remains the same however.  We want the output of our topics the html page ttitle to be the heading if the topic not the name of the main landing page. So far we do not see any way of extracting the heading without using variables.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 9, 2023

    Sorry, what version of RH are you using - start every post with that because there are differences out there from version to version.
    Can you post (using the Insert Photos icon in the web interface) some screenshots of what you're doing and what you expect to show up in the HTML5?

    NoSupportAuthor
    Participating Frequently
    November 9, 2023

    Thank you for the Quick Response! - Version is 2022.3.93

    I am going to attached 3 screeshots.