I would like to import JSON file containing race results. I will set-up the custom post type and use advance custom fields. The file will reside on our server and a cron job will update the same file periodically as needed. New race results will be added each time, if they did not previously exist. This will be done using the plugin WP ALL IMPORT.
I'd like to display these custom posts with your data table.
Is this possible with your plugin? Do you have any integration samples with WP ALL IMPORT?
I am sorry to disappoint you, but unfortunately we don't have integration with WP All Import, so I cannot say if that will work or not.
You can definitely use JSON files to create tables, as you can see in our documentation.
You can also use our Query Constructor to access Custom posts, but please note that this tool is not an ultimate query generator. It simply constructs a suggestion of a query. We are constantly working to improve it, but SQL is such a complicated and flexible language that full automation for constructing queries is next to impossible. Consequently, the more complicated the query, the higher is the probability that it will not return exactly what you need. So, you will often need to play around with the resulting query.
If you have the JSON file somewhere (it has to be accessible via URL for wpDataTables to be able to read it, and use it), you could create a cron job which would update the contents of that JSON, sure.
You need to keep the structure and the URL to the file, though. If you add new columns, delete some columns or rearrange them, the table will break, and you will have to recreate it again.
Do you have any documentation on how to setup the cron job you could point me to? I'd like to set-up a test before presenting this solution to my client.
Hello,
Pre sale question...
I would like to import JSON file containing race results. I will set-up the custom post type and use advance custom fields. The file will reside on our server and a cron job will update the same file periodically as needed. New race results will be added each time, if they did not previously exist. This will be done using the plugin WP ALL IMPORT.
I'd like to display these custom posts with your data table.
Is this possible with your plugin? Do you have any integration samples with WP ALL IMPORT?
Thank you!
Hello janetatkinson
Thank you for your interest in our plugin.
I am sorry to disappoint you, but unfortunately we don't have integration with WP All Import, so I cannot say if that will work or not.
You can definitely use JSON files to create tables, as you can see in our documentation.
You can also use our Query Constructor to access Custom posts, but please note that this tool is not an ultimate query generator. It simply constructs a suggestion of a query. We are constantly working to improve it, but SQL is such a complicated and flexible language that full automation for constructing queries is next to impossible. Consequently, the more complicated the query, the higher is the probability that it will not return exactly what you need. So, you will often need to play around with the resulting query.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you for your reply!
Would it be possible to update the link to the JSON file via a cron job n order to update the table data?
With best regards,
Janet Atkinson
Hello Janet.
If you have the JSON file somewhere (it has to be accessible via URL for wpDataTables to be able to read it, and use it), you could create a cron job which would update the contents of that JSON, sure.
You need to keep the structure and the URL to the file, though. If you add new columns, delete some columns or rearrange them, the table will break, and you will have to recreate it again.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
This is great, and understood!
Do you have any documentation on how to setup the cron job you could point me to? I'd like to set-up a test before presenting this solution to my client.
Thanks so much!
Hi again Janet.
Unfortunately, we don't have any instructions for setting up a cron job, but you can see a detailed tutorial of how to set up cron at this link.
You can also test the plugin in our sandbox.
I hope this helps.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables