Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
languagexml
titleCustom XML
<cartridge_basiclti_link xmlns="http://www.imsglobal.org/xsd/imslticc_v1p0" xmlns:blti="http://www.imsglobal.org/xsd/imsbasiclti_v1p0" xmlns:lticm="http://www.imsglobal.org/xsd/imslticm_v1p0" xmlns:lticp="http://www.imsglobal.org/xsd/imslticp_v1p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imslticc_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticc_v1p0.xsd http://www.imsglobal.org/xsd/imsbasiclti_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imsbasiclti_v1p0.xsd http://www.imsglobal.org/xsd/imslticm_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticm_v1p0.xsd http://www.imsglobal.org/xsd/imslticp_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticp_v1p0.xsd">
  <blti:title>badgebook</blti:title>

  <blti:description>
    Integrate with Badgr Server to award badges to students for Module completion.
  </blti:description>

  <blti:launch_url>https://api.badgr.io/badgebook/</blti:launch_url>

  <blti:extensions platform="canvas.instructure.com">
    <lticm:property name="privacy_level">public</lticm:property>
    <lticm:property name="tool_id">badgebook</lticm:property>
    <lticm:options name="custom_fields">
    <lticm:property name="person_address_timezone">$Person.address.timezone</lticm:property>
    <lticm:property name="canvas_module_id">$Canvas.module.id</lticm:property>
    <lticm:property name="canvas_module_item_id">$Canvas.moduleItem.id</lticm:property>
  </lticm:options>

  <lticm:options name="user_navigation">
    <lticm:property name="url">https://api.badgr.io/badgebook/user</lticm:property>
    <lticm:property name="text">My Badges</lticm:property>
    <lticm:property name="enabled">true</lticm:property>
  </lticm:options>

  <lticm:options name="course_navigation">
    <lticm:property name="url">https://api.badgr.io/badgebook/</lticm:property>
    <lticm:property name="text">Badges</lticm:property>
    <lticm:property name="enabled">true</lticm:property>
    <lticm:property name="default">disabled</lticm:property>
  </lticm:options>

  <lticm:options name="account_navigation">
    <lticm:property name="url">https://api.badgr.io/badgebook/</lticm:property>
    <lticm:property name="text">Badgr Analytics</lticm:property>
    <lticm:property name="enabled">true</lticm:property>
  </lticm:options>

  <lticm:options name="resource_selection">
    <lticm:property name="url">https://api.badgr.io/badgebook/link-selection</lticm:property>
    <lticm:property name="selection_width">800</lticm:property>
    <lticm:property name="selection_height">500</lticm:property>
    <lticm:property name="enabled">true</lticm:property>
  </lticm:options>

  </blti:extensions>
</cartridge_basiclti_link>

With this custom XML, Badgr will be available in all courses, but with the navigation entry disabled by default. The below is the property that varies from the default configuration:

Code Block
<lticm:property name="default">disabled</lticm:property>

User navigation (a view of all badges earned by a student on the canvas server from their profile navigation menu) will be available if this XML is installed at the root account level.

Info
titleLTI Configurations

For more information about controlling the configuration of LTI apps in Canvas, see Instructure's Importing Extended Tool Configurations

 

...