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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 2.4.1
    • None
    • 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.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abgreeve Adrian Greeve
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: