Can I download all my PDFs at once from the web portal?

While not officially supported, this method of downloading all PDF documents is an effective tool where users need to download all the PDFs in their account.  This method involves the use of Google Chrome, and the Web Scraper and OpenList external plugins. 

 

 

 

 

 

About

It is possible export PDFs from all form submissions stored in the web portal.  This workaround is useful if data destinations were not set up until after teams had submitted a number of forms. 

Note This will only download PDFs of form submissions that are still visible in the web portal.  Submitted forms are only kept on the ProntoForms server for 45 days.  Therefore, it is advisable that teams set up data destinations that will automatically backup their data.

[top] 

 

Download PDFs of All Submitted Forms

  1. Install Google Chrome.  Then, install and enable the Web Scraper and OpenList external plugins.
  2. Once they're all installed, access Developer Tools in the Chrome menu. 

    developer_tools.png

  3. Select the Web Scraper tab.

    scraper.png

  4. Under Create new sitemap select Import sitemap

    3._create_sitemap.png

  5. Copy the following sitemap into the textbox Sitemap JSON.

    {

        "selectors": [{

            "parentSelectors": ["_root", "pagin"],

            "type": "SelectorLink",

            "multiple": true,

            "id": "drs",

            "selector": "td:nth-of-type(1) a",

            "delay": ""

        }, {

            "parentSelectors": ["_root", "pagin"],

            "type": "SelectorLink",

            "multiple": false,

            "id": "pagin",

            "selector": "li.nextButton a",

            "delay": "4000"

        }, {

            "parentSelectors": ["drs"],

            "type": "SelectorLink",

            "multiple": false,

            "id": "pdf",

            "selector": "ul.iconActions li[style*=\"pdf\"] a",

            "delay": ""

        }],

        "startUrl": "https://live.prontoforms.com/data",

        "_id": "export_pdf"

    }

     

  6.  Optionally Rename Sitemap export_pdf, and click Import Sitemap. 

    JSON.png

  7. In Chrome, log into the ProntoForms web portal.  Under the Data & Analytics tab select Data
  8. In the Web Scraper plugin, select Sitemap (export_pdf) and click Scrape

    Scrape.png
    [top] 

  9. Ensure popups are enabled, and then click Start Scraping.

    Note: Do not close the popup window that appears as this will cancel the scrape. 

    start_scraping.png

  10. Once the scrape is complete, export this list by selecting the Sitemap (export_pdf) tab, clicking Export Data as CSV, and then selecting Download now!

    export_as_CSV.png

    download_now_.png

  11. Open the CSV document from your computer's Downloads folder. 

    export_pdf.png

  12. Copy the URLs from the "pdf-href" column. 

    copy.png

  13. In Google Chrome, click the OpenList plugin icon and paste the list into the text area.  Click Open.  

    Note:
    New tabs will be opened as the files download.  Do not close them.  They will close automatically once the files are downloaded. 

    openlist2.png

  14. All PDFs will appear in your computer's Downloads folder.

[top] 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments