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

WebService: Users should be able to contact the site's support via the Moodle App

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.10
    • 3.9.3, 3.10, 4.0
    • Forum
    • MOODLE_310_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE
    • MDL-69810-master
    • Hide
      1. As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings
      2. Create a Token in the mobile app service for any user in the site (not an admin account)
        • Click on Site administration ► Plugins ► Web services ► Manage tokens
          # Go to Site administration > Server > Support contact
      3. Fill all the configuration values (support name, email and page) and SAve changes
      4. Open the console an execute this new curl request, replacing wstoken with the token you just created and the site url with yours.

        curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=tool_mobile_get_config&wstoken=3af67232a7596ceb658df4db329e5ad6' | python -m "json.tool"

      5. Confirm that:
        • In the curl request response you see the fields with the following names: supportname, supportemail, and supportpage
        • The values of the previous fields matches the values you filled
      Show
      As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings Create a Token in the mobile app service for any user in the site (not an admin account) Click on Site administration ► Plugins ► Web services ► Manage tokens # Go to Site administration > Server > Support contact Fill all the configuration values (support name, email and page) and SAve changes Open the console an execute this new curl request, replacing wstoken with the token you just created and the site url with yours. curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=tool_mobile_get_config&wstoken=3af67232a7596ceb658df4db329e5ad6' | python -m "json.tool" Confirm that: In the curl request response you see the fields with the following names: supportname, supportemail, and supportpage The values of the previous fields matches the values you filled

      We need the support information in the app to be able to recommend the app users, under certain circumstances, to contact their institution support helpdesk.

            jleyva Juan Leyva
            isabelrenedo Isabel Renedo Rouco
            Pau Ferrer Pau Ferrer
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 50 minutes
                1h 50m

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