Page 1 of 1

How to hide/show content in Oxygen Author

Posted: Fri Oct 15, 2021 2:51 am
by julturner
Hello - Need to hide (exclude) a an entire chapter for a version 2.0. The chapter that I need to hide existed in a previous version 1.0.

Also need to show (include) a chapter from version 2.0 that was excluded from a previous version 1.0 of the book. Can something help guide me in the direction to compete these actions. Thanks!

Re: How to hide/show content in Oxygen Editor

Posted: Fri Oct 15, 2021 7:43 am
by Radu
Hi,

What XML vocabulary are you using? Are you publishing it using Oxygen's bundled publishing processes or some custom in-house process?

Regards,
Radu

Re: How to hide/show content in Oxygen Author

Posted: Fri Oct 15, 2021 11:51 pm
by julturner
Hi Radu,
'
Thank you for your reply. Am using ditaval xls and cvs files to edit the values in the cells with exclude and include, I use exclude as a cell value to hide the chapter in the book file and then include to show the chapter. Then, I publish the book files to Jenkins. If there is another process to hide/show, I will do it. Thank you sir.

Julie

Re: How to hide/show content in Oxygen Author

Posted: Mon Oct 18, 2021 9:07 am
by Radu
Hi,

You probably need to apply a profiling attribute with a certain value on the topicref in the DITA Map:
https://www.oxygenxml.com/doc/versions/ ... butes.html
and then define an exclude filter in the ditaval file for that profiling attribute:
https://www.oxygenxml.com/dita/1.3/spec ... ments.html
When you use the DITA OT to publish from Jenkins use the "args.filter" parameter to refer to the DITAVAL file:
https://www.dita-ot.org/dev/parameters/ ... rgs.filter

Regards,
Radu