Skip to main content

Report to Find External Tool Usage

Comments

4 comments

  • Jason Rodgers

    Would something like this help?

    Select MLT.name as LTItype,MLT.baseURL,MLT.ltiversion,  ML.course, ML.name, MC.fullname from mdl_lti ML
    LEFT JOIN mdl_lti_types MLT ON MLT.id=ML.typeid
    LEFT JOIN mdl_course MC ON MC.id=ML.course
    LEFT JOIN mdl_course_categories MCC ON MCC.id=MC.category

    where MCC.path like '/4/%' and MLT.name is not NULL

    Change the above line with MCC.path to whatever category you want to limit your scan to.  If you want a full system scan then just remove the  MCC.path like '/4/%' part

     

    1
  • Janelle Cleaves

    Oh wow! That works super nice. Thank you so much. My only complaint is that there are some empty cells for the ltitype, baseurl, and ltiversion columns for certain courses. By looking into a few of those, I'm thinking they are either manually created LTIs or instances where the LTI was deleted at the site level but the activity remained in the course. Do you have any idea?

    1
  • Jason Rodgers

    Just looked in our instance and the blanks look to be the old manually created ones.

    You could add in ML.toolurl to the Select and it will show.

    1
  • Janelle Cleaves

    Gotcha. Good deal. I really appreciate this! Do you mind if I share with my peers?

    Additionally, I know virtually nothing about SQL and running the deferred admin reports. If you have any resources you recommend for learning more, please let me know!

    1

Please sign in to leave a comment.