Skip to main content
Participating Frequently
July 5, 2017
Question

How to share conditional build expressions across projects

  • July 5, 2017
  • 1 reply
  • 707 views

Hi,

I've managed to get dynamic filters to work as expected on one of my test projects. To get things to work though, I had to create conditional build expressions and use those in dynamic content filter dialog. This was because even though using a standard conditional build tag worked, only the CBEs were being selected automatically in the final merged project. Maybe thats  bug, but it's working now anyway.

So, is there a way to share my CBEs between projects. We're a team with access to TFS as source control if that helps. The CBEs are relatively simple, but doing it across 25 or 30 projects per release seems tedious and even more worrying, error prone.

Can I easily share these's CBEs among projects? I'm not afraid of writing a little script to insert some XML into a specific project file if that is an option. Any help, much appreciated.

UPDATE:

I found where the tags and expressions are stored (rhbuildtag.apj), and I was able to copy that file to another project with no problem. However, I still had to recreate the settings in the Dynamic Content Filter dialog. Most of our output will be merged into one project and even if it isn't merged, will not need to look any different, so I can just copy the whole output from project to project?

Message was edited by: Samuel Brown - Expanded the question to encompass outputs in general

This topic has been closed for replies.

1 reply

Participating Frequently
July 13, 2017

So, I managed to find a solution to this problem with the help of another post here on the forums. Basically, make the rhbuildtag.apj file a baggage file and add it to the resource manager. Thanks @Captiv8r Seems to work fine. The only thing I'd add, if you're new to RoboHelp, is that to actually get the baggage file into a project, I had to drag it from the resource manager into a topic, which then added it to the baggage file list in the project manager. I then deleted the inserted text in the topic, but the file remains in the project manager and has the standard syncing options for a shared resource.

https://forums.adobe.com/thread/1682088

Captiv8r
Brainiac
July 13, 2017

Hi there

I'm a bit confused by your answer here. And it makes me wonder if you may encounter issues down the road. Here's why.

The Baggage Files feature is normally used to include content that "goes along for the ride" into the output. For example, perhaps you want to make a PDF document available for download.

The rhbuildtag.apj file you mention is actually a "project" file and to my knowledge doesn't normally exist among the output files.

While this arrangement may do the trick, I'm going to advise you to watch it with a careful eye. It could be that you will never see an issue. But it is certainly a suspect if things begin to get wonky.

Cheers... Rick

Participating Frequently
July 13, 2017

Well, I understand what you're saying but unless I'm misunderstanding things, that just what you advised another user to do on the thread linked above  

If this isn't an officially supported method of sharing project level files, I guess I'm concerned about RoboHelp in general (we're trying to decide between RoboHelp and Flare at the moment). We're a small team but will be working across many projects, so being able to easily share variables and other project level files will be important for us. Are you aware of an "official" way of sharing project files?

Thanks for all your help!