This content has been marked as final. Show 2 replies
There is indeed an expression! Unfortunately, the option is normally hidden, so it can be tricky to find. Here's what you do:1 person found this helpful
1. Define the build tags.
2. Apply them to your topics. OVERLAPPING IS ENCOURAGED! That is to say, you can assign tag1, tag2, and tag3 to a single topic.
3. Right-click the desired layout and select Properties.
4. Click the Define button to the right of the Conditional Build Tag drop-down menu. The Define Conditional Build Tag Expression dialog will appear.
5. Click the Advanced button. The Advanced area will appear at the bottom of the dialog.
6. Select a tag from the Available Conditional Build Tags drop-down menu.
7. Click the Add Tag button. The selected tag will appear in the Conditional Build Tag Expression display window.
8. Click the AND button.
9. Select another tag from the drop-down menu.
10. Click the Add Tag button.
11. Repeat steps 8-10 for each tag you wish to add to the expression.
12. Click the OK button to close the dialog.
13. Click the Save button to save your layout with the new build expression.
That's it! The trick is to use the ADVANCED button in the Define Conditional Build Tag Expression dialog. Doing so allows you to build inclusional expressions rather than exclusional expressions, so you can avoid the hassle you described in your post. Using this method, I defined two build tags (A and B) and applied them to three topics as follows:
* Topic 1: Tag A
* Topic 2: Tag B
* Topic 3: Tags A and B
I then defined an expression that simply included tag A. When I compiled my help, topics 1 and 3 appeared in the output, but topic 2 did not.
Thanks. That makes sense. I'll try it out and let you know. Thanks for the quick reply!