PDF Creator Questions

hi folks! the option PDF i dont see on the combo of one ths options! i already active BETA option!
what i cold do wrong? tks!!!

You must be using Bootstrap 5 for this to work. :wink:

1 Like

Tks @AdrianoLuiz you always help us!

I am trying to add pdf creator functionality to my client side.
I have Bootstrap5-cdn installed to the project.
I can not see pdf creator option nowhere.
Could you please help me?

You need to be on the beta extensions channel in order to use the PDF creator component.

1 Like

The Pdf creator works for node.js web project and is working fine…

I did a mobile capacitor project and run in Android simulator , but when generate PDF , seems like no response.

Am I missing some settings ?

Hello @phan

Have you seen some errors on the emulator?
What about console on inspected device (chrome) or logcat on Android Studio?

Attached is the screen capture… No error But I also cannot see the PDF

Are you sure?
I see 1 error on the left panel

Is this error causing the issue? How to solve this error?

<link rel="shortcut icon" href="#">
After added above , the error disappear. But PDF still no response.

Not at all!
So when you click the generate pdf button you don’t see anything strange on console?
I’ll give a try tomorrow

Thanks

I think I already know where the problem can come from. But I’m not with Wappler until tomorrow.
It’s probably the lack of writing permissions.
Can you enable file writing permission with a flow before generating the pdf (download)?
I don’t know if you need an additional code, I can try it tomorrow.

Please see the write file point:

I not sure what to put in path and data and just copy sample by google. But it does not work.

Hello Teodor,

As you said I had been able to use PDFCreator under Beta channel.

But today I reinstalled my old archieve version of my project and started all over.

All again updated Beta channel extensions by using update options of Wappler.

But this time there was no dmxPDFCreator.js can be installed by using Wappler “Project Assets Updater”.

There is no dmxPDFCreator can be seen under “Assets to be updated”.

I am using Force update option to see all of the extensions.

But it is not in the list anymore. 3 days ago, I could be able to download it and used all ok.

Console Error:
dmxPdfCreator.js:1
Failed to load resource: the server responded with a status of 404 (Not Found)

Can you see this?

image

Than you will be able to add as below

My problem is not the usage inside the wappler.

Yes I can see it as PDF Creator 1.0.0.0 - beta.1 unser extension manager.

My problem is no file under “dmxappconnect/dmxPdfCreator” thats why the PDF creator can not generate pdf files.

I am using node.js , so I don face the issue that you are facing.

can you provide an example for this “define pdf styles under the pdf creator”