IMPORTANT UPDATE: Please DOWNLOAD and update the Formidable PRO2PDF to the Latest Version!

Storing pdf url in database

Home Forums How to Storing pdf url in database

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10778 Reply
    Luis
    Participant

    Hello!
    I’d like to know if is there any way to store the generated pdf url.
    When a PDF is ready I get a url like this:
    https://mysite.com/wp-admin/admin-ajax.php?action=wpfx_generate&form=bnq62&dataset=42&layout=1000&inline=1&filename=john+smith&key=22e77405ed635f344102ef8db6ff0733

    Is it possible to store this in the database? Or in a secondary database?

    THis way I could allow users to re-print their PDF, or regenerate the filled PDF whenever they need.

    THanks!

    #10779 Reply
    admin
    Keymaster

    PDFs are not ‘stored’ they are created when the link is clicked, then the PDF may be saved wherever the user decides. PDFs can be also be recreated at anytime by using the shortcode and the Formidable entryID for the user’s entry.

    Let us know if you need more assistance setting up the shortcode to recreate PDFs.

    We remain at your service.

    #10804 Reply
    Luis
    Participant

    Thanks. I’d appreciate a lot your help to do it.

    I guess a text field could be created in the form, with the shortcode and the ID.

    Is that right?

    #10806 Reply
    admin
    Keymaster

    Sure, we’d be happy to help. First, let’s understand your specific need;
    1. Are users logged in to WordPress?
    2. How many different PDFs will each user be able to re-download/re-print?
    3. Is there currently a page on the site that users will access to re-download/re-print
    4. Do admin users have a need to download/print any of the user’s PDFs?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Storing pdf url in database
Your information: