Notice that, for avoid errors, this last change should be done once the file plugins/grades/main.js file existsġ3. Add also the name of the plugin you are developing at the final of the plugins parameter: Edit the config.json file and change the wsservice parameter in order to point to the shortname of the Service you created before: Go to phpMyAdmin/yourdatabase/ mdl_external_services table and add manually a shortname for the new Serviceĩ. When creating, the flats 'Can download files' and 'Enabled' must be checkedĨ. Add a new external service: custommm for ex.Ħ. Go to Home > Site administration > Plugins > Web services > External servicesĥ. Unzip this folder in /moodle/local folderĤ. Enable debugging, Disable all caches (Im not sure what i have to do to disable all caches so please if you can tell me what I have to do), Enable WebServices in Advanced options, Enable WebServices protocols (REST), Enable Mobile Services (in Plugins -> WebServices-> Services)ģ. I asked already a question about how to add a plugin and I followed these Steps:ġ.