I need to Export a PDF containing a table with all records of the aggerate and add new columns that don't appear on the screen without redirecting to another screen or popup the user shouldn't see any changes on the screen.
I've tried ReactivePrintPDFButton plugin but it has many issues. It can't print anything unless it appears on the current screen.
my screen
Sample of the data that I want to print in PDF without showing it to the user .
Hi,
For getting all the records and columns for the pdf you can create new aggregate with required conditions or reuse already created aggregate with some filter conditions. If create new aggregate then set it to fetch only on demand and when user clicks on view/download pdf then only refresh the aggregate.
regards
Refreshing the aggregate will show on the screen; I don't want this behavior.
As mentioned, can create new aggregate and for this set property to fetch data only on demand. Once user click pdf button then only it will fetch the data for you and then you can use it for pdf.
which plugin should I use?
There are many plugins available to get the pdf file. So basically its 2 step process
1. You need to create the pdf from content.
2. Download the pdf.
For generating the PDF file you can use Forge components available.
https://www.outsystems.com/forge/component-overview/5641/ultimate-pdf