Export to CSV without using dialog

  • Views Views: 13,687
  • Last updated Last updated:

Navigation

  • To customise the CSV export without user dialog compose a URL

    index.php?option=com_fabrik&view=list&listid=listid&format=csv&download=1

    You can append parameters to the URL to alter the output of the CSV file. These correspond with the settings located on the export CSV dialog box:
    • incraw=0 or 1
    • incfilters=0 or 1
    • inctabledata=0 or 1
    • inccalcs=0 or 1
    • excel=0 or 1
    By default this will export all of the table's Elements. If you want to specify which element's are exported append the following the url:

    Code:
    &fields[tablename___elementname]=1&fields[tablename___elementname2]=1

    You can use this URL in a menu item System Links/URL,
    in a link
    or to customise the CSV export button in list view (via a custom list template).
Back
Top