Exporting to a querystring
-
I want to add a custom button to a publication. I want this button to open a WP page in a new tab and pass the export information (all rows or selected rows) as the value in a querystring name/value pair.
I’ve got a button to work for the open but how can I get the query string of the records?
A bonus question. I’d really like to only send three columns of selected rows, not all columns.
Here’s what I have so far.
"wpda_buttons_custom": [ { "text": "Link", "action": "function ( e, dt, node, config ) { window.open('https://testdb.ogs.on.ca/thurso-test-premium', '_blank'); }" } ]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Exporting to a querystring’ is closed to new replies.