Skip to main content
Participating Frequently
August 4, 2011
Question

Replace words based upon the build

  • August 4, 2011
  • 1 reply
  • 730 views

Hello,

I am new to RoboHep and I have a question. I am trying to have different builds of a WebHelp for different companies. I want to be able to replace the name of the main Company throughout the WebHelp when I do a build for example. If the name of a Company is "Mike" and I am doing a build for a company named "Dave" everytime "Mike" appears in the original Help I want it to replace with "Dave" upon the build. I know I can use find and replace and just have different projects for each company, but is there a way to do this conditionally?

Thanks for the help.

This topic has been closed for replies.

1 reply

Participating Frequently
August 4, 2011

I am using RoboHelp 8

RoboColum_n_
Legend
August 4, 2011

Sure there is. You can use the User Defined Variables functionality for precisely this purpose. Make sure you have the Variables pod displayed (View > Pod > User Defined Variables) and click the top left icon (the one that looks like two cogs). Give the variable a name (e.g. companyname) and an initial value (companyA). If you then add the variable to the content instead of the actual company name, you only have to update the variable value for the change to be reflected everywhere the variable exists. So in summary, just create and add variable and change the varaibale value before creating your output.


  The RoboColum(n)   @robocolumn   Colum McAndrew
Participating Frequently
August 4, 2011

Thank you, but I can't get this to work. I already have the original help built. I have found where to create the User defined variable and I am using the original name in the built  guide as the Variable name and then the initail value as the name I want it to be. Is this correct? If so then how do I get it to apply to the entire document?

Thanks,

Chris