Condition tags in different chapters
Hello all.
I working on a large project with RH 2022.4.179 and am wondering how (or even if) I can apply condition tags to "shared" content so the same content, with the proper condition tag can display the appropriate version of the text in a different chapter.
For background:
We used to have 5 different applications and a recent overhaul of the product technology rolled all 5 (plus one more) into the same application, with each of the previously independent product now being a module or mode of the new, all-encompassing app. For the first rollout of the product documentation, I published each module (prviously standalone application) separately but now I must roll everything into a single, unified guide.
My problem is:
Two of the previously independent apps (now separate modules) share a large amount of underlying code and my former colleague who wrote the documentation at the time used condition tags to share the 85-90% of the content that the apps had in common. He left the company ~19 months ago and I have inherited his content. Everything was fine for standalone products and separately documented modules of the new product; the conditions were simple "Include" and "Exclude" for the product-specific content and each product/module had its own build condition. I am struggling to apply the same kind of conditional logic to a unified user guide where each module has its own chapter.
The 2 products, now modules, in question are SP and ST. If I publish for SP, I use the condition expression that uses SP-tagged text and excludes all ST-tagged content; same thing if I am publishing for ST (excluding all SP content). Those conditions are fine when SP and ST documentation are separate entities (either as an application of unified product module), but the all-in-one user guide I am trying to build can't use the same conditional logic as SP and ST are separate chapters of the same project. The extra fun kicker is that the two chapters are one after the other in the ToC.
Any advide you can provide on how to apply conditional formatting so it applies only to a chapter would be greatly appreciated and prevent me from ripping all my hair out.
