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

Add a new param to the file serving script to get the offline version of a controlled link

XMLWordPrintable

    • MOODLE_33_STABLE
    • MDL-58334-master
    • Hide

      Setup google drive and office onedrive repositories, create some "copied files" and some "controlled links".

      When viewing the list of files (e.g. in a mod_folder) copy the link to the file and paste it in a new tab. Append &offline=1 to the end of the url. Verify in all cases you get a downloaded file in a format suitable for offline viewing. E.g. google sheet is converted to excel. 

      Show
      Setup google drive and office onedrive repositories, create some "copied files" and some "controlled links". When viewing the list of files (e.g. in a mod_folder) copy the link to the file and paste it in a new tab. Append &offline=1 to the end of the url. Verify in all cases you get a downloaded file in a format suitable for offline viewing. E.g. google sheet is converted to excel. 

      The new param will be offline=true and will download or export and download the file from the repository and return it.

            damyon Damyon Wiese
            damyon Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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