Copy link to clipboard
Copied
Hi. I’ve created two condition tags; one for VoIP audience and another one for Wireless audience
I’ve applied the tags on both content level and topic level.
For PDF output I’ve created condition expressions:
When I’m trying to generate Printed output with the Wireless condition expression selected, the content in the topics is not filtered with the Wireless tag. Instead, I see the content with both tags in the topic, the way it is in the project.
My setup is pretty straightforward yet it doesn’t work in an expected way: to show only content and topic with a single tag applied.
Is there an issue with condition expressions? Any ideas on how to define them correctly are welcome.
I’m using the trial version, Update 11 and this is the showstopper for me to update.
Copy link to clipboard
Copied
The trial part makes no difference & you're updated to the latest release, so maybe it's something else. Try generating some other output form as an experiment - if it doesn't work as expected too, then have a look at Peter's site (grainge.org) about conditioning in RH2019 New UI - maybe something has changed. If you seem to be doing the right way, then log a bug using the Tracker URL.
Copy link to clipboard
Copied
Is this something that was working before using 2019 New UI or is it a new project?
Things to keep in mind.
Instead of tagging something Wireless and saying Include, on all the other topics (those without Wireless applied) apply a tag NOT Wireless. Then your expression will need to be Exclude NOT Wireless when you generate your Wireless PDF. Only the remaining topics will be generated and they are the ones currently tagged Wireless that you want included. May sound back to front but it will work.
SIMPLER SOLUTION
Forget tagging. Create two TOC with just the topics you want in the output. Use Hide as required.
That way the document will only have those topics in. No tagging.
Copy link to clipboard
Copied
Dear Peter,
Thank you for your suggestions. I'll try them to see how it works.
The project I'm working on is new. The thing is that there are common topics, relevant for both outputs. And I've tagged them with two tags. I'll try playing with two TOCs though.
Also, I apply the tags on the content in the topic and want it filtered - it doesn't work.
Copy link to clipboard
Copied
For your scenario I would use two TOCS, much simpler.
Copy link to clipboard
Copied
Hi,
I have sent you a private message. Please provide the information if you want to setup a call to discuss the issue you are facing with conditional expression.
Regards,
Ajit
Copy link to clipboard
Copied
I once worked with RH9 in an environment that had many similar products, so many different conditions. It took me quite some time to get the conditions right, also because the way they worked wasn't always clear. At the time I made this overview to explain how more complicated tags and expressions worked.
In the examples, I use these conditions:
A, B, C, D: Products.
Text that only applies to a specific product gets tagged with this. Text that applies to two of the four products, gets two separate tags.
Online, Print: Text meant for online only, or print only.
Always_Exclude: Text meant as comments for the authors or reviewers (such as "check if this is true"). This text should never be included in the output.
If you use the conditions as described in the examples, the output should be correct. Can someone maybe confirm that it still works like this in more recent versions of RH, especially 2019 new UI?
Copy link to clipboard
Copied
For anyone finding this thread in the future, sorry but neither the poster nor Ajit from Adobe who offered to help offline came back to enlighten us with the solution.
Thanks Erwin for your detailed contribution.