Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37503

Create an import preview for importing entries into the database activity.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.4.1
    • MOODLE_24_STABLE
    • wip-MDL-37503-master
    • Hide
      1. Either create or use an existing database activity.
      2. To easily prepare a file for import, first export the current entries (enter some data if you created a fresh activity).
      3. Delete the data (but keep the headings) and create new data.
      4. Import the new file. [Settings ► Database activity administration ► Import entries].
      5. Submitting the form should take you to a preview page.
        • Check that there is a 'Field mappings' section and that the field names in the select box defaults to the field name text.
      6. Click submit.
        • Ensure that the entries are correctly entered into the database.
      7. Go back to the import section and load another file (or the same file).
      8. Click Submit. You should be back at the preview screen. Click 'Cancel'.
        • Make sure that you are redirected back to the database activity.
      9. This time create a file, but use different headings for the fields.
      10. Import this file and map the headings to the correct fields.
        • Ensure that the entries import properly.
      Show
      Either create or use an existing database activity. To easily prepare a file for import, first export the current entries (enter some data if you created a fresh activity). Delete the data (but keep the headings) and create new data. Import the new file. [Settings ► Database activity administration ► Import entries] . Submitting the form should take you to a preview page. Check that there is a 'Field mappings' section and that the field names in the select box defaults to the field name text. Click submit. Ensure that the entries are correctly entered into the database. Go back to the import section and load another file (or the same file). Click Submit. You should be back at the preview screen. Click 'Cancel'. Make sure that you are redirected back to the database activity. This time create a file, but use different headings for the fields. Import this file and map the headings to the correct fields. Ensure that the entries import properly.

      Currently there is no preview page when importing entries into the database activity.
      Most other areas of moodle provide this.
      It is proposed that field handling be incorporated into this preview page.

            Unassigned Unassigned
            abgreeve Adrian Greeve
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.