TireSwingSoftware/openassign-server — Issue #37: Upload Exam XML File
Author: mhrivnak
Created: 2011-11-06 19:09:27+00:00
State: open

Our code can import an exam from XML. However, at the moment the only way to do so is to pass the XML as a string over RPC. This is a pain because Flex cannot read the contents of local files, so the user has to open an XML file in some other app and then copy-paste the text into Flex. We should be able to just upload the file.

See pr_services.ImportManager for how we upload CSV files, and this should probably be done in a similar way. Once the file is uploaded, its contents can be passed to ExamManager.create_from_xml()