It would require scripting to make the contents of each table cell conditional, or all of the rows, but if the table anchor is conditional, the whole table should get hidden when you hide the text.
If you are making the entire chapter content conditional, you may be better to just Exclude the file from the book (right-click on the book component in the book window and check Exclude).
Thank you Rick for your reply. Let me explain the motivation. We have a document which is accessible only to specific customers, out of which we wish to create a smaller, rather basic document that will become publicly accessible. Since the document changes frequently, we wish to remain with one master source and not split the documents.
We wish to hide a lot of proprietary content by conditionalizing entire chapters as non-public first, and then just conditionalizing some text and certain cells of tables as public. Please see the figure below for illustration. The highlighted table cells are the ones we wish to expose publicly, and hide the rest. We have hundreds of tables in the book, so there is a lot of manual work for the first version, but marking the public text and table cells is much easier than marking the non-public. If there is a way to set all table fields (cell text, not entire rows/columns), as conditional, then it would make our work much easier.
So I probably need scripting. Does anyone know of a publicly available script that sets all cell contents as conditional? I have a FrameScript license, but currently I don't have a scripter.
It sounds like Winfried's solution is a good one. I am curious on where the data comes from and how you get it into your FrameMaker tables. If the data is updated often, this may be a good candidate for scripting. If you want to talk about it, please contact me offlist. Thanks. rick at frameexpert dot com.
The tables are rather stable and have been manually developed over the years. So you are right; were the tables automatically or frequently regenerated, then we would have needed to do scripting for sure.
Thanks for your comments.