PDF Creator - Help with Base64

Hope not too late:

  1. On your flow: run
  2. Give it a name like pdf
  3. Select under actions: Get base 64

Then you can have a variable or whatever you want with:

<dmx-value id="var1" dmx-bind:value="flow1.data.pdf"></dmx-value>

Run your flow with a button like:

<button id="btn1" class="btn" dmx-on:click="flow1.run()">Button</button>

Then:

In this case, flow1.data.pdf is in a variable, but you can use it anywhere, just be sure that flow runs first and create the base64 thing.

1 Like