• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Set conditional tag to all table cells including the content

Explorer ,
Dec 16, 2015 Dec 16, 2015

Copy link to clipboard

Copied

Hi,

I am using FM12, unstructured. I would like to set the entire content of a chapter to a certain conditional text (by selecting all content and setting the condition).

My problem is with tables. This action only sets the table as a frame, but does not set the table cell contents as conditional. Is there a simple way to do this without scripting?

Thanks in advance,

Hani

Views

399

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 16, 2015 Dec 16, 2015

Hi Hani,

When you want to set everything to apply a certain conditional state you might copy the wanted conditional text setting into the clipboard (right mouse button, Copy Special, Copy Conditional Text Settings). Then search for Paragraph Tag, set the Search term to [a-z0-9] and select Use Wildcars. (There is probably an easier way for FM 12 and FM 2015.)

Set the Change list to By Pasting. Then find and change. If you are sure, that this works, you can use Change All. This applies the condition

...

Votes

Translate

Translate
Community Expert ,
Dec 16, 2015 Dec 16, 2015

Copy link to clipboard

Copied

Selecting the table anchor, then applying the conditions, makes the entire table conditional.

Selecting the entire Flow A in a chapter, then applying conditions, will select all table anchors, and make them conditional.

Selecting an entire row, or group of rows will make those entirely conditional. In newer FMs, the same is true for columns. Automating that might be more effort than it saves.

The only reason to select table cell text flow is if less than the entire table, row or column needs to be conditional, and it doesn't make the cell itself disappear.

What is it you need to do?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 16, 2015 Dec 16, 2015

Copy link to clipboard

Copied

Thank you Bob 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.

Thanks again.

FM_capture.PNG

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2015 Dec 16, 2015

Copy link to clipboard

Copied

Hi Hani,

When you want to set everything to apply a certain conditional state you might copy the wanted conditional text setting into the clipboard (right mouse button, Copy Special, Copy Conditional Text Settings). Then search for Paragraph Tag, set the Search term to [a-z0-9] and select Use Wildcars. (There is probably an easier way for FM 12 and FM 2015.)

Set the Change list to By Pasting. Then find and change. If you are sure, that this works, you can use Change All. This applies the conditional text settings from the clipboard to the found text.

Of course this applies a certain conditional text setting. If you have different settings in your document, then you have to search for conditional text instead.

Best regards

Winfried

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 17, 2015 Dec 17, 2015

Copy link to clipboard

Copied

LATEST

Thanks a lot, Winfried. Actually I searched for the paragraph tag "cellbody*" and "cellhead*" to convert everything.

Cheers,

Hani

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines