wpdatatables master detail integration

29 June, 2023 22:40:28
adamch
Topics: 1
Messages: 2
Hello,
I am willing to buy you plug-in but I am searching for a solution to fill pdf with data coming either from an sql query or wpdatatables master detail plugin.

Is there a way to either grab the data from sql or from the plug-in https://sandbox.masterdetail.wpdatatables.com/car-details/ from one data row?

I would prefare a way to enter a sql query
30 June, 2023 00:03:47
E2Pdf
Support
Topics: 7
Messages: 3219
Hi,

Unfortunately, the E2Pdf plugin doesn't have the possibility to get the data from the SQL Query directly and was not yet integrated with WpDataTables plugin directly. We have this point for review, but there is no yet any ETA.
We would really appreciate your feedback at WordPress.org!
30 June, 2023 00:07:34
adamch
Topics: 1
Messages: 2
Hi,
Thanks for the reply.
And would it be able to do it with one Of the forms extension?

Let say I would generate a form for id=XXX
?
30 June, 2023 00:19:06
E2Pdf
Support
Topics: 7
Messages: 3219
In theory, it can be, but not by adding the "id".

You will need to generate a shortcode output via PHP with the "dataset" attribute, where $entry_id will be the ID of the submission (entry) so E2Pdf can know for which entry it must be generated PDF download link:

echo do_shortcode('[e2pdf-download id="1" dataset="' . $entry_id . '"]');
We would really appreciate your feedback at WordPress.org!