# Generate PDF from HTML, no data without refreshing the page

**URL:** <https://discourse.nodered.org/t/generate-pdf-from-html-no-data-without-refreshing-the-page/31465>\
**Category:** General\
**Created:** [12 August 2020 10:04 UTC](https://discourse.nodered.org/t/generate-pdf-from-html-no-data-without-refreshing-the-page/31465 "2020-08-12T10:04:29Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ArneR](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/arner/32/95658_2.png) [@ArneR](https://discourse.nodered.org/u/ArneR)\
**Post date:** [13 August 2020 15:45 UTC](https://discourse.nodered.org/t/generate-pdf-from-html-no-data-without-refreshing-the-page/31465/5 "2020-08-13T15:45:38Z")

</div>

Dear Zenofmud

Thanks for your comment. I have adjusted my flow and got it working.  
The image below contains my flow.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/a/ca294bf2ab32f81e097bfb4beaf17a65dbfe683d.png)

- **Dutch --\> English**
- Samenvoegen data -\> Join data
- Variabele bestandsnaam Rapport -\> Variable filename Report
- Opstellen meldingsparameters -\> Generate notification parameters
- Melding: Rapport aangemaakt -\> Notification: Report created

**Extra information:**

> [@Pass over msg.payload to html](https://discourse.nodered.org/t/pass-over-msg-payload-to-html/14828/8):
>
> Ah ok. So... You'll have to store the value somewhere ready for the GET request. Connect your morbus output to a change node and set a flow variable e.g. flow.data from msg.payload[0]. That will keep a copy. Next add a http in and out node with a change node between them setting msg.payload from flow.data.

---

_[View the full topic](https://discourse.nodered.org/t/generate-pdf-from-html-no-data-without-refreshing-the-page/31465)._
