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

Link to another Database in same course

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_27_STABLE

      Description

      Scenario 1:
      There is a one Database to store a Student’s personal information like Age, Gender, and Characters etc. There is another database to store all kind of files submitted or related by/for this students. We can search Database 1 for a student to bring up his/her detail and then display all files of his/her from Database 2.

      Scenario 2:
      There is a one Database to store an Image’s information like source, price, and license. There is another database to store all that image’s files in different size and formats. We can search Database 1 to bring up image copyright details and then display all files from Database 2.

      Work around:
      Create the same filed in both Database, like [[ID]]. In search tab, search for ID, get the search result URL. In View templates create a ‘Text Link’ (e.g ‘Info’ and ‘Files’) and use the ID search result to link to the OTHER database.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wenxin Wenxin Lu
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: