Skip to main content
Participant
October 31, 2024
Resuelto

Variable file formatting change in RH 2022.5.28

  • October 31, 2024
  • 3 respuestas
  • 359 visualizaciones

We typically share variable files across multple RoboHelp projects, and have had success simply copy/pasting the default.var file from project to project. With the update to 2022.5.28, variable files created prior aren't loading the variables into RoboHelp.

 

I noticed the formatting of the default.var XML file has changed, with what was previously:
<keydef keys="Variable Name"><topicmeta><keywords><keyword>Variable Value</keyword></keywords></topicmeta></keydef>

now being:

<variable id="Variable Name">Variable Value</variable>

and we have to recreate the variable file (which isn't too difficult, to be honest).

 

Just wondering if a) this was a known change (I haven't seen anything announced anywhere), and b) if anyone else has come across this issue.

 

Thanks!

    Este tema ha sido cerrado para respuestas.
    Mejor respuesta de Peter Grainge

    The format changed in Update 4. The new version announcement on the forum covered it. It's also covered in the RoboHelp Tour on my site. See the What's In topic.

     

    You need to upgrade all projects to be able to share. 

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

     

    3 respuestas

    Inspiring
    November 1, 2024

    Yes, the change broke a few of my scripts but overall it's a good simplification of a needlessly complex tag construct.

     

    Do note that variable sets have also been changed: information on variable sets are now also integrated within Default.var. Normal variables go into the variableset tag with id 'defaultVarSet', any additional variable sets are represented by additional variableset tags.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 31, 2024

    Yes, generally changes like that get a conversion routine in the project upgrade process - were you trying to swap files between projects that had & hadn't been upgraded?

    Leo VWAutor
    Participant
    November 5, 2024

    We were trying to use a default.var file from an older (non-upgraded) project in a newer (upgraded) project. Not a big deal, I can re-create easy enough.

    Peter Grainge
    Community Expert
    Peter GraingeCommunity ExpertRespuesta
    Community Expert
    October 31, 2024

    The format changed in Update 4. The new version announcement on the forum covered it. It's also covered in the RoboHelp Tour on my site. See the What's In topic.

     

    You need to upgrade all projects to be able to share. 

    ________________________________________________________
    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.
    Leo VWAutor
    Participant
    November 5, 2024

    Thanks Peter, I'll pay a bit more attention to the announcements in the future. Cheers.