Skip to content

Dev: MyLA tool url in canvas pages

Pushyami Gundala edited this page Sep 14, 2020 · 4 revisions

Adding MyLA tools links to Canvas

  1. This is a separate process that add MyLA link to canvas via custom Javascript. The Java script can be embedded inside your institutions existing custom java script (if using) just copy/paste the code in between $( document ).ready(function() {}
  2. Get the Javascript from this repo, change the mylaToolId to your institution MyLA tool id for test and prod canvas instance as per LTI configuration
       if (hostname.includes("test")) {
			mylaToolId = 'Test_myla_tool_id'
		} else {
			mylaToolId = 'Prod_myla_tool_id'
		}
  1. Currently links will be placed on grades, assignment and files page regardless if you have enabled or disabled corresponding views in MyLA. When student click on these link it will redirect to MyLA tool that is configured in the left navigation and after LTI Launch tool is shown.

    Note: When Canvas supports intool Links LTI launch we will support adding view in MyLA to respective grades/assignment/files canvas pages

  2. Students can only see the links in canvas. You need to become a student in the course to see the links in canvas.

    Note: We are working towards enabling the links to all the users in the course not just student. There is bug in script that students having more roles than ['user', 'student'] the links won't show up but they can always access the tool from left navigation.