Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  1. Provide a method for faculty to download multiple media files associated with a quiz, question pool or collection.
  2. Provide identification information specifying which media file(s) are associated with each question that is being exported.
  3. Include question title, media file name and question text in the identification information.
  4. Rename image files from their AFS storage name to their original file name as recorded in the myucdavis database, if possible.
  5. If image files are renamed, deal with name collisions in an intuitive, documented manner.

GUI Review

Media export is tied into the Quiz Builder export of quiz, collection or question pool, so the information and download are located on the export screen. The text associated with the export function is shown below.

Image Added

If the user is exporting media as part of a quiz, the information lists the section and question number with which it is related. If the question exists in a pool or collection, there is no associated question number (or there will not be after import into Samigo) so the files are simply listed in the order that they are pulled from the database.

For graphic files, such as .gif, .jpg, or .bmp, the user can click to view and/or save the graphic individually. The user is provided with a download button which displays the filename as "media_quiz#.zip" where # is the id of the quiz or "media_for_kname.zip" where kname is the user's Kerberos name for collection or question pool media.

Image Added

A ReadMe.txt file is included in each media download indicating the filename, question name, original (user's) filename, and question text. Because the media file is renamed for storage on upload to Quiz Builder, the information is here to assist the user in identifying their content and/or to allow them to rename their files back to the original, descriptive name. The question name will not be imported into Samigo.

Image Added

Code Functionality

Currently, the MyUCDavis cms runs on ColdFusion MX 6 with an Oracle database. New code for exporting question media in a zip file 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 1 2 existing file files and 1 new file in the directory 'login/CourseManagement/quiz/' are required.
The addition of the component zip.cfc in the root directory level 'login' is also required.

File Name

Proposed Addition/Modification

qz_quiz_exportfiles.cfm

Calls function to pull information associated with the media files for a quiz, aan entire question pool, or a collection. Calls function to generate a ReadMe.txt message. Calls zip function to generate a zip folder and populates it with the media and ReadMe files. Generates a downloadable zip file screen.

login/zip.cfc

This imported component is setup in the main cms directory so that it can be access globally. It's Java-based and contains the functions which generate the zip folder and copy copied files into it. It's a Java-based function.

qz_quiz_exportxml.cfm

Includes the download link for the user to generate their media files into a zip file.

qz_quiz_exportxml.cfc

Includes query calls which pull the requested media files and provide user information about those files.

...

  1. Locate the Export Question Poollink Pool link in Quiz Builder
  2. Successfully download any media associated with their question pool
  3. Verify that a ReadMe.txt contains accurate information about their media
  4. Verify that the exported media can be imported into SmartSite Resources

Part 1: Export Media with their Collection:

  1. Locate the Export Collectionlink Collection link in Quiz Builder
  2. Successfully download any media associated with their collection
  3. Verify that a ReadMe.txt contains accurate information about their media
  4. Verify that the exported media can be imported into SmartSite Resources

...

  • Website Setup
    Tester logs into MyUCDavis dev/test environment and using Secure Login. Tester will need course management (cms) permission to access Quiz Builder. Tester may request access via CM Guest under My Options on the main menu.
    • Testers must have or create questions in Quiz Builder , ideally with one of each typeof the following media types attached: .jpg, .gif, .pdf, .mp3, .doc, .bmp
    • Testers must have or create at least one quiz containg questions with media in Quiz Builder.
    • Testers must have or create at least one Collection containg questions with media in Quiz Builder.
      Testers unfamiliar with MyUCDavis may contact Lisa at 757754-8390 4983 to schedule training.
  • Additional Setup for Advanced QA
    Advanced QA will be limited to those testers with SuperUser access to MyUCDavis dev/test systems.
    **SU access to list of user accounts provided by Lisa
TEST DOCUMENT

MyUCD-matrix-exportMedia.xls

Release

Release of the export question pool, collection and media will be concurrent and are expected to go to production late November/early December. Code releases include r71 - r76 from mware.ucdavis.edu/svn/coursemanagement/trunk/login

Jira Story Card Description

...