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

Conditional Statements in Tables

Community Beginner ,
Dec 22, 2022 Dec 22, 2022

I am using Doc Gen API to output information in a grid (Word Table). However, whenever I try to use conditional statements the output fails. If I put the same statement OUTSIDE of the table it works. Has anyone come across this? Is there a fix or work around? It's quite limiting if conditional statements can't be used inside a table. 

 

Template file (Word) - Conditional statement is in the NOTES section and again BELOW the table. Compare to the output screenshot of the results. 

Johan21785658tmbv_0-1671725895709.pngexpand image

 

Output... The correct statement is shown in the test outside the table. The same statement is inside the table but does not render correctly.

Johan21785658tmbv_1-1671725992643.pngexpand image

 

 

 

TOPICS
Bug , Document Generation API , How to
375
Translate
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 Beginner ,
Feb 21, 2023 Feb 21, 2023

Didn't see any replies on it . is there a way to accomplish this?

 

Translate
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 Beginner ,
Feb 22, 2023 Feb 22, 2023
LATEST

Hi Surendra... Nope... no replies and no workaround has surfaced yet. The only way I am able to handle this is to take those fields out of the table/break the table/or something of similar effect. Takes some effort to 'design around it' sometimes and would love to understand why the conditional statment breaks within a table.

Translate
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
Resources