Changes between Version 10 and Version 11 of BluePrint/Importer/Excel
- Timestamp:
- 09/19/13 11:07:46 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrint/Importer/Excel
v10 v11 31 31 The {{{xls2tree}}} method is much more flexible than the current importer front-end suggests - it can read any sheet in the workbook and a range of rows/columns anywhere on the sheet (i.e. not only top left). It also accepts a column mapping as parameter which allows to specify which column corresponds to which field instead of reading the column headers from the sheet. 32 32 33 This flexibility could be utilized to implement a front-end that allows the user to import from any XLS document even if there is no " SahanaData" sheet in CSV format. These "XLS format configurations" (sheet name, cell range, column mapping) could be saved ("Saved XLS Formats"), and then re-used for other documents - which allows to quickly adapt to various document sources.33 This flexibility could be utilized to implement a front-end that allows the user to import from any XLS document even if there is no "!SahanaData" sheet in CSV format. These "XLS format configurations" (sheet name, cell range, column mapping) could be saved ("Saved XLS Formats"), and then re-used for other documents - which allows to quickly adapt to various document sources. 34 34 35 35 Xls2tree can also work from open work books, which can be used to implement an XLS bulk importer to import multiple resources and/or multiple sheets from the same XLS work book in one go.