Forum Academy Marketplace Showcase Pricing Features

PDF Conjurer (updated free plugin, now saving to database)

Hello everyone!

I have just created a debug logging mechanism, right now exclusively for the client-side version, which is the one that uses “PDF Model X”.

If the workflow reaches the final action without a breaking failure, it will then log what was the end result of the PDF in an internal format.

It logs it to the browser console and also outputs it for you to store the log in your database and also see it on screen.

Helpful for intermittent issues, this way you can automatically log all attempts to create the PDFs and when a failed one happens, get the debug log content about it from your database.
A recommendation is to use an online text difference checker to compare the log of a failed attempt with the log of a successful attempt, this way you will have insights about missing data, different data and others.

Also helpful for me to assist you.

More instructions:

1 Like

Hello @vini_brito ,

So far I’ve enjoyed your plugin a lot and I’ve been able to build a robust PDF just following all the thread discussions across multiple topics. But at the moment, I’ve been facing a particular issue I’ve not been able to overcome. Let me describe what I’ve trying to do.

I have a PDF model (client side) and I’ve setup multiple texts. So far so good.
Then I’m trying to create a bundle of elements (multi-column sections, texts, etc.) multiple times depending on the size of a list. Here is where I come across a problem.

Trying to solve this client side using (home made) iterators, I get a bubble error stating I cannot make circular calls of workflows either directly or indirectly, so I tried the back-end workflow approach.

In this approach I’ve setup the PDF Initialization and created several texts successfully, but then I come across the same problem, trying to call another API workflow on a list is a nightmare. I do not find a way to pass my progress as an argument to the API workflow so I do not lose what I have so far.

So, summarizing what I’m trying to do, is I need to be able either to pass the PDFModel with everything I’ve setup con client side to the server to be able to iterate through the list of elements and create my bundle of elements to finish my document, or to be able to do the same but all of the time being on server-side.

Do you think this is a feature that already exists but I’ve not been able to find? Or is it something so complex that is not in the scope of the plugin at the moment?

P.D. Great work with the plugin/support so far!

------ EDIT ------
Found the solution using another one of your plugins: " SimpleLooper". If anyone needs help implementing the solution I suggest do not hesitate to comment here or contact me.

1 Like

Hey hey @vini_brito hope you’re well !

I asked myself if you have a trick for backend pdf conjurer, on add image action, if image is empty ? because if I add there some dynamic value, and this value (image url) is empty, it crashes :confused:

I used to handle that on front with “if xxx image is not empty” but with the "previous step " thing it is not so easy to handle in backend!

thanks :slight_smile:

Hi

I love this plugin … but can’t get it to meet my use case. Maybe I don’t understand what I’m doing, or maybe I’m getting beyond it’s capability. I have a repeating group:


and a structure of Flight which has a linked invoice (only one) but the invoice has linked items (normally 2 but can be more). So it’s sort of a table within a table. I can conjure a PDF for the first 9 columns - that’s great. But I can’t work out if / how I can structure it to add the next three columns so the result looks like the screenshot.

btw I am doing this because the table gets big and I want to print it in pages … PDF Conjurer looks like it will do this but maybe I should be using another plugin!! - I have Print Pro but I couldn’t get that to do nice pages …

Many thanks, hoping someone can help.

David

Hi @vini_brito
hi plugin users,

I am using this plugin for quite some time now and overall happy with it.

I just experienced that if a data fields content exceeds the final pdfs page height than the particular data set is not displayed in the final pdf output.

I did research on it but couldn’t find a solution.
This is giving me big headaches.

Appreciate every kind of support!

Have a solution for this:

if some text or image miss, the plugin will crash and you’ll not have pdf.

To resolve this, use :

For an image, in the “dynamic image” field put this :
image
image

For yes, the url of the image you want to display
For no, thr url of an image (same size) fully white (or maybe a transparent png if you use a background, but didn’t try this)

For text :
image
image

add an empty space in the “formatting for no” field if you want nothing to display there and the plugin not going throw error.

4 Likes

@vini_brito : some words to edit there:

1 Like

Ooh thanks for letting me know! I can’t believe I never noticed these words and that nobody told me about them earlier on :sweat_smile:

Also, thanks for sharing the image technique above!

1 Like

is it possible to create a template and just fill it with data from database ?

Hi bubblers!

Can anyone point me in the right direction with using different fonts in conjurer? There are two elements, Load font to PDF and Load font to PDFModel. How exactly does one use them? I am a bit puzzled :slight_smile:

Removed message as no longer relevant.

can some guide me on how to load a font to a pdf model?

Thank you, but one question - is possible to show the pdf (instead of downloading it) when a user clicks to view? So far the final Conjure steps forces a download, but I want to open the file in an iframe.

No permissions to vie the app, sooo…
Screenshot_10
Still, your workflow should go something like this:


PdfModel is an element that should be on your page.

hey @vini_brito I’m quite confusing, I use the pdf conjurer in backend to generate contrats (so 8 pages, 46 actions). Sometimes, I have a “workflow error sorry blabla…” (with no more info on the error). Then I try to re-generate and it is ok. So this not about some text or image element in it (that was my hypothesis at start). It is not when other workflow are running (I tried with nothing else running). Do you have an idea ? thanks

I think you must disable this on “conjure pdf” action :

Then set up this event :

image

and then use the plugin “open in new tab” action or use this pdfmodel’s saved pdf in your iframe

Thank you :slight_smile:

@Sarah_Esteve See if you can get any info from the browser console when this happens, sometimes more details about the error is there. Assuming you run the workflow from the browser, even if server side.

1 Like

Há alguma limitação de geração de PDFs? Depois de vários teste com uma determinada página, a geração de pdf não funciona mais no computador que estou trabalhando. Em qualquer outro equipamento, funciona normalmente. Há alguma black list? Eu fiz 110 visualizações para testar o modelo de pdf final.

Yes, it would be nice to be able to Creates a paragraph with coloured background.