Changes between Version 6 and Version 7 of BluePrint/Importer/Excel
- Timestamp:
- 09/18/13 12:34:14 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrint/Importer/Excel
v6 v7 5 5 The limitations of CSV, however, are that there is no client-side Validation or Online Help, so it is very easy for users to input incorrect data (e.g. Dates). 6 6 7 We'd like to allow deployers to build custom Excel workbooks which have protected fields for the core data inputs (like those used for feeding Assessments to the Survey module) and can then add additional Online Help & client-side Validation. They can also be customised more easily for local contexts, such as providing localised names for the Location Hiearrchy rather than 'L1', 'L2', 'L3', etc 8 9 This project, therefore, is about designing a pre-processor for the current Importer back-end to allow .xls files to be uploaded & converting them to CSV before passing them to the current CSV importer. 7 We have now got a pre-processor for the Importer back-end to allow .xls[x] files to be uploaded & converting them to CSV before passing them to the current CSV importer. 10 8 11 9 NB This should also help us with ensuring that imported data is properly UTF-8. MS Excel tends to save CSVs as ANSI whilst it defaults to UTF-8 from 97+ & provides the encoding sed for older versions which can be picked up by xlrd: 12 10 * https://secure.simplistix.co.uk/svn/xlrd/trunk/xlrd/doc/xlrd.html 13 11 12 == Templates == 13 We would like default Excel Workbooks for all of our major resources which have protected fields for the core data inputs (like those used for feeding Assessments to the Survey module). 14 15 We would like some Excel routines for: 16 * Date[Time] Validation 17 * Selection from pre-populated dropdowns 18 * Selection of Location Hierarchy 19 * Online Help 20 21 Deployers can then customise the default Excel workbooks for local contexts, such as providing localised names for the Location Hierarchy rather than 'L1', 'L2', 'L3', etc and prepopulating the spreadsheet with a valid lookup lists. 22 14 23 == Extensions == 15 24 The link to download the template should check for the existence of an .xls in static/formats/s3csv & use that instead of the .csv one where-present.