User-Defined Variable in RoboHelp 8: Brighter and Better

Tuesday, August 18 2009 @ 7:25 PM, By Mayank Agrawal

RoboHelp 8 has renewed User-defined Variables (UDV) by allowing formatting inside the value of UDV

A formatted UDV can have any inline HTML content. Following is the list of HTML components which can be a part of formatted UDV.

  • Plain Text
  • Text Formatting like Bold, Italic, Underline, Font, color etc
  • Links
  • Images, Multimedia
  • Conditional Text
  • Any other inline HTML content

Example: – A formatted UDV AdobeCopyright contains the logo as well as copyright text with link.
FormattedUDV.png
Variable Set
Variable sets provide a way to have different values for a single UDV. User Defined Variable pane provides an easy way to modify the value of UDV for different Variable Sets. Select any Variable set from Variable Set Combo in the User Defined Variables pane and modify the value of any UDV in the Design or HTML editor.
is used to create/manage UDV. Other Variable Sets are linked to default Variable Set. You need to change the required UDV value only in different variable set; all other variables will have values from default Variable Set.
You may choose a Variable Set in the Single Source Layouts dialogs to get a specific value of your UDV.
VariableSetInSSL.png

Uses of Formatted UDV
A Formatted UDV can be a part of any of the following RoboHelp project/HTML component.

  • Topics
  • Snippet
  • Master Pages
  • Drop-Down Text
  • Expanding Text

You may use Formatted UDV for variable as well as reusable content within a project. This is a powerful feature of RoboHelp supporting single sourcing. You may change the value of UDV at a single place and it gets reflected at all locations wherever it is used.

One needs to play around with this feature and apply creativity to explore its power. Once comprehended and brought into practice, this feature can support highly efficient and useful workflows.

Gunjan Kumar
RoboHelp Engineering Team

COMMENTS

  • By How is a UDV used? - 3:22 PM on July 13, 2011  

    These are easy to create/edit/delete, but how are they used in the project?

    I don’t see any documentation or example on ‘playing around’ with UDVs.

    I would like to refer to a UDV in a javascript function that is called from a hyperlink in a topic.

  • By Urmisen2003 - 7:30 PM on February 22, 2012  

    This wiki like feature is hugely helpful in an environment that receives late breaking alerts  – eg Help Desk situations that must be sensitive to changing legistlation

  • Categories

  • Archives

  • Authors

  • Useful Links

  • Recent Comments

    • Joel: Thanks for fixing the links guys!
    • Maxwell Hoffmann: Ted, one aspect of the blog that may have escaped your notice; you can launch the HTML5 version in...
    • Maxwell Hoffmann: Joel, per comments made above, I discovered that the original URLs were incorrect with pointers to...
    • Maxwell Hoffmann: Paul, as I indicated in the comments below, the original blog had links that pointed to a...
    • Maxwell Hoffmann: I apologize to all concerned regarding my suggestion to “clear the cache” … it...