...
Currently, the MyUCDavis cms runs on ColdFusion MX 6 with an Oracle database. New code for exporting question pools will use the existing environment and will include ColdFusion code, CF components, and JavaScript. The export file generated via download will be Samigo-compliant XML.
Code modifications to 5 existing files in the quiz directory is required. No new files are anticipated at this time.
File Name | Proposed Addition/Modification |
---|---|
/login/CourseManagement/quiz/qz_win_ques_list.cfm | Modifications to add the Export Question Pool link to this page will be limited to code where mode=question, since this same list box is used for questions and quizzes under various pages. Code modifications include adding a link with JavaScript functionality to open a new window. No query calls will be made from this page. |
/login/CourseManagement/quiz/qz_col_title.cfm | Modifications to add the Export Collection link to this page will be limited to code for editing an existing collection. Code modifications include adding a link with JavaScript functionality to open a new window. No query calls will be made from this page. |
/login/CourseManagement/quiz/qz_quiz_exportxml.cfm | This file is currently used to display export instructions including a Download button and link for the export xml and media zip files. Text will be added to the reflect information specific to a question pool or collection rather than a quiz. Text will be visible based on a variable passed in through the new window link. |
/login/CourseManagement/quiz/qz_quiz_exportxml.cfc | This component file contains functions for generating quiz information in string or array formats for delivery to the xml file generation page. Additional functions will be added to pull and format the questions for a user's question pool or collection. |
/login/CourseManagement/quiz/qz_quiz_exportxmldoc.cfm | This file generates the downloadable xml file for a quiz/assessment. This file will be modified to allow question pool or collection data to be delivered in the same downloadable xml format. |
Code Review
Brian Donnelly, or another qualified member of the MyUCDavis team, will perform code review on these file changes.