1
0
-1

I would like to

  1. implement a Datalist action plugin that generates a file and stores it on the server
  2. to be able to generate a link to this file and put it in a form using a custom html element (in order to allow a user to download it)

For what concerns the first point I've seen that the pdfAuditTrial plugin generates and saves a pdf file on the server, is it possible to see the source file of that plugin in order to understand how it performs this action?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi, this link might be helpful How to develop a Download PDF Datalist Action

      1. Roberto Larcher

        Unfortunately this plugin is not storing the generated file server-side and therefore is not of help. I need to remotely store the file and than allow users to download it as many time as needed.

      2. Anders

        Yes the source code for that sample plugin is provided. It is essentially Java code so if you have Java expertise then you can modify it for your needs.

      3. Roberto Larcher

        Thanks, but I cannot find the source code of the pdfAuditTrial plugin. Can you please give me the link, or the name of the package I should look for in the jw source code?

      4. Walter

        Scroll to the very end of the page to download the source code.

      5. Roberto Larcher

        Thanks Walter, but I cannot find the source files at the end of the page (pleas put the link if you have it). I need This is the source file of this plugin: https://dev.joget.org/community/display/KBv5/PDF+Audit+Trail+Plugin Probably you are instead referring me to this plugin: https://dev.joget.org/community/display/KBv6/How+to+develop+a+Download+PDF+Datalist+Action If I understand well: - in the first plugin file are generated and stored on the server (And I imagine it is possibile to allow user to download them). - In the second the file is produced and given in response in the http request, it is not stored on the server for future download

      CommentAdd your comment...