Hi,
An app I have has an export to PDF button which uses util.downloadpage. It stopped working yesterday (07/11/24). After some testing, it appears that it is having an issue with excluding any container. When a container is listed in the "ComponentsToExclude" it shows no error but fails to run. When I remove all containers from the exclusion, it runs correctly and exports the PDF.
Also during testing I noticed that any Modal buttons failed to exclude. The behaviour here is different in that it does run, but just fails to exclude them from the print.
Here is my original script:
utils.downloadPage(text1.value, {componentsToExclude: ['FormSubmit','container2','container8','container9','FormTitle1','tabs4','FormType','addRow','removeRow','ITPO','printPDF','SubmitQuote','submitButton','formSubmit','modal2'], scale: 6 })
Removing container2, container8, and container9, gets it run but then shows a lot of information that should be removed.
Anyone had anything similar or could suggest a workaround / fix?
TIA.