Hi I have a custom block that we use to access our middlewear from within Moodle. I've setup an LTI and I want to automatically add the External Resources activity to a course, after our middlewear configures the service its connecting to. I'm looking for either a function I can call to create the activity or a web service I can call from my middlewear to accomplish this. Any help would be greatly appreciated.
Thanks
Shaun