• Resolved Sam L.

    (@scionet)


    Hello

    Is there a way to auto update the descriptions of tables via Auto Import Tables? Also when exporting tables, is it possible not to add the date of the download to the exported files.

    Thank you very much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Updating the Description of a table during Auto Import would only be possible if you use the full JSON format that TablePress offers, as only that contains the table description. CSV and XLSX don’t contain the description, but only the table content.

    Changing the download file name is not so easy right now, you would have to modify the PHP code for this.

    Regards,
    Tobias

    Thread Starter Sam L.

    (@scionet)

    Can you point me in the right direction for the JSON format used by Tablepress, specifically if there is a template file that I can use as a starting point? I see the option to JSON on auto update, but don’t know how to format my data to JSON.

    I would be happy to pay you and the time in takes to assist with this – please provide quote and turnaround time.

    Thank you, TablePress rocks.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    to get a template, just export any of your tables to the JSON format and inspect that.

    Unfortunately, I can not offer assisting professional services here at the moment. As I’m not a professional web developer but only do this as a hobby, I just don’t have the time, sorry.

    Regards,
    Tobias

    Thread Starter Sam L.

    (@scionet)

    Hello

    So, I am using the JSON format to auto update my tables. If the table I am overriding with new content already has description text, it will not update the Table Content, but not the Description. Any ideas on why or how to make the Description update as well.

    Thank you.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    ah, indeed, we might need a code change in the file “tablepress-table-auto-update.php” of the Extension. Can you please comment out line 193 in that file, i.e. put // before the line

    $imported_table['description'] = $table['description'];
    

    ?

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Auto Update Descriptions’ is closed to new replies.