Skip to main content
LDAdams42
Inspiring
July 20, 2018
Answered

Using Conditional Build Tags in 1 Project for Many Customers (How to Hide Source Files?)

  • July 20, 2018
  • 1 reply
  • 775 views

Hello,

I created 1 project using WebHelp and Conditional Build Tags to generate help for our different customers. I apply the Conditional Build Tags to different drawings in the project so each customer can only see the drawings for their particular "flavor" of our equipment. When I generate the project, it works fine.

Here is the problem...

All of the drawings remain in the project output folder (SSL folder) that I have to distribute to the customers.  Someone actually poked around in the folder and asked me about the files for other customers.

1. Is there a way I can tell RoboHelp to only put the files that I need in the output folder for each customer?

2. If there isn't a solution, can you tell me what software application you would use to generate help or training information for many customers with the ability to hide some information.

Thank You

This topic has been closed for replies.
Correct answer Amebr

I think I see what is going on here. It used to be the case with WebHelp that whatever was in the folder you generate to got stripped before you generated each time. The simple test was to dump a file in the output folder and see if it was still there after generating. That used to be the case but it seems that has changed along the way.

There are two solutions.

  1. Before you generate, manually delete everything from the folder to which you generate. Not the best as it is too easy to forget.
  2. Create a duplicate of the WebHelp output and point each one to a different output folder. Label the outputs as WebHelp Customer 1 and WebHelp Customer 2 and so on and have folder names to match.

You could either generate each layout as and when required or use Batch Generate to generate them all at the same time.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge


I think baggage files always get included in the output, regardless of any conditioning for references/links in the topics. And you can't condition baggage files (unless something has changed in RH2015 or RH 2017?).

So if the images are all referenced in your topics and conditioned, then you shouldn't need to add them to the baggage files as well.

1 reply

Jeff_Coatsworth
Community Expert
Community Expert
July 20, 2018

What version of RH are you using? I just had a look at one of my RH11 projects' output that is conditioned on one product line & I'm not seeing any images or pages that belong to the other product. Do you have some source control at play? Are you generating with different SSL layouts locally?

LDAdams42
LDAdams42Author
Inspiring
July 20, 2018

Thank you for the fast response.

1.  I use RH 2017.

2. My SSL layout is WebHelp.

3.  I did a new test project and the customer image files for ALL customers are still showing up in the SSL/WebHelp folder. That is the problem. A customer poked around in the source files.

4. For Source Control, do you mean how do I handle the drawings? I put all drawings in the Baggage folder. Is there some other way I should handle the drawings for different customers???

5. How I generate WebHelp with Conditional Build.

Thank You

Peter Grainge
Community Expert
Community Expert
July 21, 2018

I think I see what is going on here. It used to be the case with WebHelp that whatever was in the folder you generate to got stripped before you generated each time. The simple test was to dump a file in the output folder and see if it was still there after generating. That used to be the case but it seems that has changed along the way.

There are two solutions.

  1. Before you generate, manually delete everything from the folder to which you generate. Not the best as it is too easy to forget.
  2. Create a duplicate of the WebHelp output and point each one to a different output folder. Label the outputs as WebHelp Customer 1 and WebHelp Customer 2 and so on and have folder names to match.

You could either generate each layout as and when required or use Batch Generate to generate them all at the same time.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

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