Util.Download Page - Exclude Components Bug

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.

since yesterday, suddenly utils.openPage() has been not working properly either, perhaps an issue with their code base. I've raised this under bugs too.

Hi @jacko160 Thanks so much for reporting this! I'm able to reproduce both issues :disappointed:

I have reported these bugs to our team. I don't have any etas yet, but I'll let you know if our team ships a fix