Adding PDF functionality,

I am trying to initiate the Kendo PDF Export as per https://demos.telerik.com/kendo-ui/pdf-export/page-layout but if I add the following required header parts to the head of my page then Wappler removes the third .js file.

    <title></title>
    <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2019.3.1023/styles/kendo.bootstrap-v4.min.css" />

    <script src="https://kendo.cdn.telerik.com/2019.3.1023/js/jquery.min.js"></script>
    <script src="https://kendo.cdn.telerik.com/2019.3.1023/js/jszip.min.js"></script>
    <script src="https://kendo.cdn.telerik.com/2019.3.1023/js/kendo.all.min.js"></script>

I am using SPA pages and if I then take the above code and add it to the top of the SPA page instead, Wappler does the same thing.

How can I get this to work?

I have copied the above code and saved it as a basic html page without any Wappler coding and it works fine.

CORRECTION!
I have just been playing with this again, and now it is not removing the .js file, but it still does not work. Any ideas?

create a secondary file with those .js files in them and then just use an include file?

Here is a great tutorial by Ken:

Hi @George, this is definitely one good way to create PDFs, but my requirement is slightly different.

We want the user to complete a form, click Save, this would then save the data to the DB and generate a PDF on the fly and save it to a dynamically created directory on the server.

So, the PDF would be saved to something like this
website.com/clients/client765/job345/project23/PDFs/savedPDF123.pdf
and would be available on the project23 page. Also, in some cases, the PDF would be sent in an email to one or more recipients as part of the SAVE action.

It is important that the user does not have to go to a print dialogue, save as PDF, download to their local PC, then go to an upload page to then send the PDF back up to the server.

We used to achieve this very easily with Coldfusion 20 years ago.

I can’t understand why it seems to be so difficult to find a way to do as I describe. Can you, or anyone else, help with this scenario?

I know it’s not the answer you are probably looking for Neil but have you considered using a PDF API instead? Something like pdflayer?