👍 Enhancing PDF Conjurer: Latest Updates, Bug Fixes, and New Demo Insights

Hello @mark20 ,
Thank you for reaching out.

First of all, we are sorry you are encountering such an issue with our plugin, and we understand how frustrating this could feel when your projects are affected by such factors. :pensive:

As we are not aware of the specifics of your app and you have a quite large workflow, we can only help you by recreating a simplified version of your workflow to show that the download feature functions correctly.

Please find this test page where the generation of the PDF that contains an image is triggered via a custom event with the same file name+time format you are using.

Could you please share with us some screenshots of your browser console once you try to generate the pdf, without the additional Js code? We need to check in case there are some errors there, that could point us to the potential problem.

Thank you for your eagerness to cooperate and for your patience and understanding.
Best regards, :dizzy:
Zeroqode Support Team.

Hello @kenichi.okazaki ,
Thank you for providing us with more details. :sunny:

Could you please provide an email address or another method to send the file?

Feel free to reach out to us at support@zeroqode.com with any plugin-related questions you have, alternatively, you can reach out to us in Bubble Dm’s, this way you could attach more files and any relevant info that forum doesn’t allow.

In the workflow, I have set the column headers as follows:

  • Column 1: “内訳”
  • Column 2: “価格 (円)”
  • Column 3: “数量”
  • Column 4: “金額 (円)”

We are happy to announce that adding headers to your Table is very simple, the issue you are facing is related to the fact that the plugin accepts by default only Latin-based characters for any RTL-based characters such as Japanese, Chinese, Arabic, Hebrew, etc you will need to use a different setup.

To create and see the symbols you have to use a Japanese-based font that is supported by the plugin, please experiment with the most popular fonts for this language and see which one suits you best. For example, for a PDF in Japanese, you can use NotoSans Jp by Google.

  1. Download the appropriate font on your device, then create in DB a field responsible for storing it.

  2. Create a data type filed of “File” type that will be responsible for storing the fonts/

  3. Load the font in your App data tab

  4. Copy and paste the URL of the font in the workflow as in this screenshot below

  1. Define the new style for the font. Make sure that the name you give the font in the previous steps is the exact same in the field Style name

  1. Use the font in the Create table action header or body depending what you need

  1. Conjure the Pdf Model.

Please find an example attached of the final result.

We hope this was helpful, let us know if you have any additional questions, we are here to help.
Have a nice day! :dizzy:
Zeroqode Support Team.

The test page works with Current User. I think there is something that is causing an issue with Task. This was never the case before. My workflow has not changed from when it was functioning before. See images. Looks good to me.
Seems to me there is an issue with ‘Task’ or Parent group tasks.








All these match what you have. But its not allowing download.

Hello @mark20 ,
We hope you are doing well.

I think there is something that is causing an issue with Task. This was never the case before. My workflow has not changed from when it was functioning before. See images. Looks good to me.Seems to me there is an issue with ‘Task’ or Parent group tasks.

We have tried to reproduce the issue you described and concluded that there is no direct link between the type of content being set as a Task in the parenting group. You can check for yourself on our Test page we added similar settings as you mentioned and the pdf is successfully generated.

Could you please share with us some screenshots of your browser console once you try to generate the pdf, without the additional Js code? We need to check in case there are some errors there, that could point us to the potential problem. ?

Thank you for being cooperative and for your patience through this process.
Have a nice weekend! :dizzy:
Zeroqode Support Team.

Hi ZeroqodeSupport

It appears that the backend “Add Table on PDF” Headers still do not show when generating a pdf server-side.

Could you please advise? Here are a few screenshots showing the workflow.



Thank you.

Dear Zeroqode Support Team,

Thank you for your detailed response. However, the issue at hand is occurring within the Backend workflow, not within the page button workflow. Despite having set the font correctly, the table headers are still not displaying in the Backend workflow.

I apologize if my previous question was unclear. Could you please investigate this issue further? Your assistance is greatly appreciated.

Best regards,
Kenichi Okazaki


image

Hello @mark20 , @suporte.minhafrota, @daniel52
We hope you are doing well. :slightly_smiling_face:

We are reaching out once more with some new insight into the potential cause of your issues.

We have investigated the reason why the plugin was throwing the errors you previously mentioned, and have concluded that the cause of the issue stems from the fact that there are actions like Create text or Insert image with dynamic data expressions, and if Bubble sees them as empty the plugin won’t understand what data to display and will throw errors.

You could very easily check if maybe that’s the case for you by launching your page in Step-by-Step mode and paying close attention to the text actions/ Insert Images actions if their dynamic data values are not perceived as empty by Bubble.

We cannot directly change this from our side because once we make these fields mandatory there will be errors in every step of the workflow containing actions with empty dynamic expressions, affecting your end user’s experience.

As a workaround, we suggest considering adding to all actions that rely on dynamic data to add content to your PDF final, to have a condition that will make it so that the plugin skips an action if it has empty data.

I will display an example based on a Create text on PDFModel action:

You need to copy the expression and set a condition that will trigger only when the expression is not empty. This is just a visual example

By setting it the following way the plugin will skip this action in case it has empty data, and will get to the next one without throwing errors.

​I hope you have found this information helpful, and it will make implementing your projects easier.
Have a nice day! :sun_with_face:
Zeroqode Support Team.

Hello @charles.soares , @kenichi.okazaki ,
Thank you for reaching out! :slightly_smiling_face:

It appears that the backend “Add Table on PDF” Headers still do not show when generating a pdf server-side.

However, the issue at hand is occurring within the Backend workflow, not within the page button workflow

We have informed our team based on your feedback, and they are currently investigating the cause of this behavior on the backend workflows, once there are any updates i will make sure to inform you both.

I apologize if my previous question was unclear. Could you please investigate this issue further? Your assistance is greatly appreciated.

@kenichi.okazaki Thank you for your kind words, no worries we are here to provide assistance and make things clearer. :blush:

Thank you very much for your patience and understanding throughout this process.
Kind regards,
Zeroqode Support Team.

Hello @mark20 ,
We hope you are doing well

Based on the error snippet you have provided us with, we notice errors directly pointing at invalid image Url:
Url Uncaught (in promise) Invalid image: Error: Unknown image format.
Images dictionary should contain dataURL entries entries (or local file paths in node.js)

As mentioned in the previous message actions like Create text or Insert image cannot be left as empty, if you use dynamic data expressions you need to make sure that Bubble doesn’t see them as empty, or else the plugin will throw errors, due to the fact that it doesn’t see what content to display.

You could check how Bubble sees your dynamic expression by launching your page in Step-by-Step mode and paying close attention to the Create Text/ Insert Images actions their dynamic data values shouldn’t be empty.

We suggest considering adding to all actions that rely on dynamic data to add content to your PDF final, to have a condition that will make it so that the plugin skips an action if it has empty data. You can find the screens attached in our previous reply

If you followed these recommendations and the issue is still present please share with us a video recording in step-by-step mode with the browser’s console enabled, in case there are any error messages there, and we will gladly assist you from there

Looking forward to your reply, let me know if you have any other plugin-related questions.
Warm regards, :dizzy:
Zeroqode Support Team.

Thank you for all your help. All good now.

1 Like

I would like to report that the download without saving to database is not working at all too. I have been testing repeatedly on my old flows as well as your own live demos and as you can see none of them work WITHOUT SAVING to database.

DEMO link

See video recording here

Do you have any suggestion or have tested that download without saving is working fine for you?

Regards

CC @mark20

Hello @mark20 ,
Thank you for the update. :blush:

I’m glad to hear that everything is working well!

If you have any more questions or need assistance in the future, feel free to reach out.
Have a great day!
Zeroqode Support Team.

Hello @rentquota ,
Thank you for reaching out. :slightly_smiling_face:

I would like to report that the download without saving to database is not working at all too. I have been testing repeatedly on my old flows as well as your own live demos and as you can see none of them work WITHOUT SAVING to database.

In our Demo it works properly, turns out that some users were accessing the page and made some changes in the file manager deleting the image from there and making the dynamic expression being empty.

Feel free to test as now the page is in read-only mode so no one except our team can modify it now.

Do you have any suggestion or have tested that download without saving is working fine for you?

As mentioned in the previous message actions like Create text or Insert image cannot be left as empty, if you use dynamic data expressions you need to make sure that Bubble doesn’t see them as empty, or else the plugin will throw errors, due to the fact that it doesn’t see what content to display.

You could check how Bubble sees your dynamic expression by launching your page in Step-by-Step mode and paying close attention to the Create Text/ Insert Images actions their dynamic data values shouldn’t be empty.

We suggest considering adding to all actions that rely on dynamic data to add content to your PDF final, to have a condition that will make it so that the plugin skips an action if it has empty data. You can find the screens attached in our above reply.

If you followed these recommendations and the issue is still present please share with us a video recording in step-by-step mode with the browser’s console enabled, in case there are any error messages there, and we will gladly assist you from there

Looking forward to your reply, let me know if you have any other plugin-related questions.
Warm regards, :dizzy:
Zeroqode Support Team.