We are very happy to share with you the release of our docxToPDF plugin: the easiest and most economical way to generate pdf from Bubble, using docx templates!
You can get 100 free calls to test the plugin.
Main features :
Insert dynamic text, images, and repeating groups data in a docx template and print to pdf,
The prices are already very low, but you can get a 30% discount if you are among the first 10 who will subscribe to a paid plan with BUBBLEFORUM30 code .
We hope you will enjoy it and donāt hesitate to reach out to us for a demo or support in your implementation!
Hi Joel, the resulting files are directly saved in your database. As a best practice I would recommend to assign them to a field in one of your data types, like in the below image :
Hi @lee1, thanks for your question !
You are right regarding the image tags : they only work if you put them directly in the document, like this : {%image}.
Regarding the image dimensions, the only way you can set them currently is to use the āimages forced widthā field in the images section of the plugin interface, where you can set the image width in pixels (ex : 200).
This width will be the same for all of the images tags in your document.
If you wish to set images width individually for each image, please let us know, as this would be an additional feature for us to develop.
OK, we will add this to the next features list !
As a workaround for now, you can add the images one by one, with the width you want for each, calling the plugin once per image, and retrieving a word document.
I can explain you through video conference, I can see that you have made an appointment for this afternoon.
@elian This is very interesting and has the potential to be a very successful plugin.
In your demo, the conditions demo, when the show VAT is yes, the resulting PDF sometimes is blank unless you refresh the page, which is odd.
Also, it seems to generate very slowly for a simple one page pdf. About 5 to 7 seconds. If one were to attempt to generate a 30 page pdf, would it take 30 times as long?
Hi @robert, thanks for your message!
Regarding the conditions demo, I have run it dozens of times and never had a blank page. Would you have a moment to show me through Google Meet your tests conditions? Here is my calendly if you want to book a slot : Calendly - Elian Faggion
Regarding the opeating time, it cannot be lower than 5 seconds indeed, because the API runs on a Heroku server, so there is a minimum data transfer time, which cannot be decreased.
It might be a bit longer in some cases, it will all depend on the size of documents that you are transfering. But it will definitely never be 30 times longer !
On average the processing time is around 7 seconds, could go up to 10 seconds if files are heavy, but I have not yet seen cases where it was longer than that.
Hi again @robert, thanks for sharing your use case earlier today.
I still canāt reproduce your āblank screenā situation when displaying the resulting pdf, I guess it coud be an issue with your browser settings.
But I have added a ādownload resulting fileā button in the demo app, so that you can use another way to see the resulting file, which may work better on your browser.
I have also ran a test on a 30 pages document, with 20 variables per page, lists and conditions, and it took 12 secondsā¦ I hope this will be acceptable for you.
Let me know if you need any help!
Incidentally, the display link is also working now. I have made no changes to my browser settings, and havenāt restarted my browser (Chrome) since we both witnessed the error 3 hours ago.
I will do some building and tests soon, and post my results here. Thanks again for your help.
Hi @equibodyapp , from what I see in the server logs, there is an issue with one of your tags : it should be {myCompany} but instead you have used {myCompany] : the closing of the tag is wrong.
Could you maybe try and check if this solves your issue ? (maybe also worth checking all of your tagsā¦).
If you want to discuss in private, you can use this email address : support@docxtopdf.co.
Cheers ! And happy to see you enjoy our plugin!
But when I find it in my file manager I can see it generatedā¦I think I just need to revisit some settings as some data not displaying but itās late here so I think Iām going to attempt to troubleshoot in the morning!
Does this support rich text/BBcode? I have a āfooterā that users can enter via rich text input in order to format as they would like. And I have other areas where users enter information via rich text inputs that I need to create into PDF reports as well - would we be able to have this supported?
Hi again @equibodyapp , regarding your 2 questions :
when you want to preview the pdf in a new tab you should use the action āD2P- U- Open pdf in a new tabā, instead of the one you used, as I can see in your screenshot, āD2P- U- Preview docx in a new tabā, because the latter only works for docx files.
regarding rich text/ bbcode, we do not offer this feature for now. But we will definitely look into that.
Thanks @elian - the rich text/bbcode conversion would be a complete game changer for me - as well as possibly HTML. Reporting and therefore PDFs form a large part of the functionality of my app and I have been struggling to find a solution Iām 100% happy with (the screenshot type PDF generator plugins solve the text formatting but not other issues I have).
The only piece missing from this plugin for me to be the complete solution I have been looking for is this ability for users to format some of the text themselves (without having to play in docx templates as they just arenāt that technical and would cause more issues than it solves).
So far it looks to be solving all other issues that Iāve been finding with other PDF plugins (Iāve tried 3 others):
The ease of formatting templates (other plugins require a lot of stuffing around to convert to PDF page well)
The quality of resulting PDF (this is pixel perfect!)
Consistency for PDF generation whether on mobile or desktop
Ability to run backend workflows (Iām assuming, havenāt tested this yet) and/or not needing to have an element on the page which requires workflow to be run only from that page.
Iāve been wrestling with direct HTML/URL to PDF converters, that definitely do the job, but are limited to how you display things on a web page, which donāt always easily transfer to a piece of paper.
So, Iāve been wrestling with this for a few hours, and Iāve been unable to get things like Option Sets, Dates and anything other than text to come through in loops - is this a limitation?