• Resolved Hhentsch

    (@hhentsch)


    Hello!

    When a user sends me an order via Forminator, I receive an e-mail. in this e-mail is the link to the corresponding entry (https://www.xxx.yz/wp-admin/admin.php?page=forminator-entries&form_type=forminator_forms&form_id=12345&entries-action&date_range&max_id&search&order_by=entries.date_created&order=DESC&entry_status=all&entries-action-bottom&min_id=1554).
    via this link I can quickly call up the filter function. then I have to click on export, check the box “Use filter for entries” and click on export. now I receive the csv, which I then process internally.

    Question: how can I get the csv export faster? how must the links be so that I get the respective csv directly?

    Thanks for Support

    Hallo!

    Wenn ein Nutzer Über Forminator eine Bestellung an mich sendet, erhalte ich eine e-Mail. in dieser Nachricht Ist der Link zu dem entsprechenden Eintrag (https://www.xxx.yz/wp-admin/admin.php?page=forminator-entries&form_type=forminator_forms&form_id=12345&entries-action&date_range&max_id&search&order_by=entries.date_created&order=DESC&entry_status=all&entries-action-bottom&min_id=1554) . über diesen Link kann schnell die Filterfunktion aufrufen. dann muss ich auf exportieren klicken, den haken setzten bei “Filter für Einträge verwenden” und auf exportieren klicken. nun erhalte ich die csv, die ich dann intern weiter verarbeite.
    Frage: wie kann ich den csv export schneller erhalten? wie muss der Links sein, damit ich dirket die jeweilige csv erhalte?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @hhentsch

    Hope you’re doing well today! Thank you for reaching out to us.

    I am afraid, there isn’t a direct way to automate each individual submission export instantly within Forminator. However, since Forminator provides integration to Google Sheets, you can try the workaround using Google Apps Script on the integrated Google Sheet. Which can check for new entries on Google Sheet and trigger a CSV export based on defined time frames (example: every minute, once a week and so on)

    Here is an example: https://support.google.com/docs/thread/107213179/save-csv-of-google-sheets-automatically?hl=en

    Here is how you can integrate your Forminator form with Google Sheets: https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#google-sheets

    I am also checking with Forminator team if there is any hook or filter that can be used to programmatically modify the URL so that it can directly trigger the download. However, please note sharing a full working custom snippet would be our of the scope of support we can provide.

    We will keep you posted regarding further insights from our Forminator team.

    Kind Regards,
    Saurabh

    Thread Starter Hhentsch

    (@hhentsch)

    <font style=”vertical-align: inherit;”><font style=”vertical-align: inherit;”>Thanks for the feedback! However, I’m afraid this solution doesn’t fit my problem at all. I use the download to create a shipping label immediately after receiving the order.</font></font>

    <font style=”vertical-align: inherit;”><font style=”vertical-align: inherit;”>Thanks for the feedback! However, I’m afraid this solution doesn’t fit my problem at all. I use the download to create a shipping label immediately after receiving the order.</font></font>

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @hhentsch

    We got further feedback from forminator team.

    You can add some extra parameters to the URL in the code snippet and use the WordPress core hook admin_footer to enqueue JavaScript on the entries page. With the snippet, you can check if the current page is the entries page and if export-quickly is set in the URL. Then, you can use jQuery to programmatically click on the export button, apply the submission filter, and trigger the download button.

    https://www.xxx.yz/wp-admin/admin.php?page=forminator-entries&form_type=forminator[…]d&order=DESC&entry_status=all&entries-action-bottom&min_id=1554&export-quickly=true

    I’m afraid since custom coding is out scope of our support we can’t share an example code, you’ll need to hire a developer to provide the required custom code for you. WordPress provides a jobs directory here https://jobs.wordpress.net/, if you need further advice about it, feel free to email wpsupport@incsub.com.

    Subject: ATTN: WPMU DEV support – wp.org”

    Best Regards
    Amin

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @hhentsch,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open this thread if you need any further assistance.

    Regards,

    Nithin

    Thread Starter Hhentsch

    (@hhentsch)

    sorry, but the Problem isn’t solved.

    Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hello @hhentsch

    I just marked the topic as “Not solved”. Previously, @wpmudevsupport11 shared some suggestions, by using a hook that calls the URL with an additional query parameter. Have you tried this approach? did it worked for you?

    Kind regards
    Jair.

    Thread Starter Hhentsch

    (@hhentsch)

    Ich habe die URL um Export-quickly=true ergänzt. Das ändert aber nichts.
    Ich verstehe leider die anderen Sachen mit dem Hook und adminfooter leider nicht.

    I added Export-quickly=true to the URL, but that doesn’t change anything.

    Unfortunately, I don’t understand the other stuff with the hook and adminfooter.

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @hhentsch

    Currently, you manually open the entry, apply the filter, click export, check the box “Use filter for entries”, then click export again to get the CSV.

    To speed this up, you can add some JavaScript code to your WordPress backend. This code will detect a special URL parameter (like export-quickly=true), and when it’s there, it will:

    1. Open the entries page
    2. Automatically apply the filter
    3. Automatically click the export button with the correct options
    4. Start the CSV download — all without you clicking anything

    As I mentioned, unfortunately, we can’t provide you with any custom code because it’s out of the scope of our support, and you need to hire a developer if you don’t have the knowledge.

    Kind Regards,
    Amin

    Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @hhentsch,

    I hope the above suggestions helped addressing the issue.

    I’ll go ahead and mark this thread resolved for now. Please feel free to reopen it, or email us at wpsupport@incsub.com, if you need further advise.

    Best Regards,
    Dmytro

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘URL for CSV Export’ is closed to new replies.