Actions
Feature #4922
closedExcel Import via PHP
Start date:
11.11.2017
Due date:
% Done:
0%
Estimated time:
Discuss:
Prio Planung:
Vote:
Description
- Der Excel Import soll via PHP implementiert werdne.
- Im Upload Dialog soll es moeglich sein bei einem Excel Import direkt einen Tab und eine Import region anzugeben.
PHP Excel
• https://github.com/PHPOffice/PHPExcel
• https://github.com/nuovo/spreadsheet-reader
• https://code.google.com/archive/p/php-excel-reader/
∘ https://stackoverflow.com/questions/11447918/php-import-excel-into-database-xls-xlsx
• Nach dem Import wird das excel sofort wieder geloescht.
• https://github.com/PHPOffice/PhpSpreadsheet
Importfeatures¶
- es wird alles importiert, ohne region
- es werden die gnannten Tabs importiert, falls nichts angeegben ist tab=1
- mariadb.spaltenamen=excel.spaltenname (A,B,...)
- Falls zieltabelle nciht existier, wird sie erzeugt.
- FE.parameter
importType = auto | xls | xlsx | odt | csv | importMode = append | replace | replaceByIndex importIndexColumn = id (default)| ... importRegion = [tab[,[startColumn],[startRow],[endColumn],[endRow]]] importToTable = <mariadb.tablename> importToColumn = <col1>,<col2>,<col3>,...
Related issues
Actions