1

I've installed an LTI tool into my canvas-lms as at an account level, but I want to use the canvas data API to programatically enable/disable the tool in specific courses.

How do I enable the navigation placement for a tool defined at the account level for a specific course?

1 Answers1

0

You would do this by managing the availability and the order of specific tabs within the course itself.

Navigation order and hidden/visible can be edited using the Tabs API PUT method.

You'll first need to get all of the tab ids, then identify which one is associated with the external tool, then use the API to either move or enable/disable them respectively.

pfranza
  • 3,292
  • 2
  • 21
  • 34
  • I gave it a try and that seems to work for my needs, thanks again. – Brice Wendell Aug 18 '17 at 12:50
  • Hey Tabs APIs are of course level. is there any way to do it while adding app using LTI-2? or on account lever? – A H K Mar 21 '18 at 19:43
  • No, not really, and LTI2 is dead(ish) it is being replaced with LTI1.3+Advantage, but within this new specification I don't believe you can set the tab order without using the course level API referenced above. – pfranza Aug 09 '18 at 20:23