Home > Forum > General > How to Hide/Show tables in Word Add-In dynamically

How to Hide/Show tables in Word Add-In dynamically
0

Hi folks,


We have a Word File with three data tables from Webcon in there, which will be generated and converted to PDF, then put into the attachments.

The thing I have struggled to figure out until now is, how to hide or not show a table when the corresponding data table in Webcon is empty. I know that it is possible to use Business Rules in there, but again none which use parameters.

Is there a way to bring a bit of dynamicity into the Word Add-In?

Best regards
Fabian

MVP

Hi Fabian,

I'm not aware of such an option.
Depending on your use case an alternative could be to use the "Generate an html printout" action.
You could than use a data row which returns the table
Useful information:
- https://howto.webcon.com/html-and-pdf-printouts-in-bps-examples/
-Workflow Instance: Activate Admin mode and select "HTML Template" from the gear icon drop down
- Keywords for the HTML offline help:
- - HTML and PDF template
- - Variables
- - SQLGRIDHEADERTEMPLATE

Best regards,
Daniel