I am having a hard time finding a way to send over data from my page to pdf generation page without navigation. Can someone help?
hanan1
2
doesn’t the user interact with the PDF generation page? so you want the data to be sent to the PDF generation and trigger the action?
Buddha
3
You could save the data to the database.
No I have it to generate in background but the pdf template page isn’t capturing my data unless I navigate to it and send the data
hanan1
6
looks like you’re setting the datasource and triggering the action on on page load.
in that case to do it from another page you need to create a new thing in your database like @Buddha said and use a database trigger to start PDF generation action. Make sure to filter the data by user to get the right data if more than one user can generate PDFs.