-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.example.xml
41 lines (40 loc) · 2.49 KB
/
install.example.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
APP_STORE_TITLE It shows up in the Settings -> Apps config list.
APP_DESCRIPTION I think this also shows in the app store, but tbh I'm not sure.
APP_URL Path to localhost or your app server, without trailing slash. ex: https://localhost
APP_ID Like a uuid or something.
SIDEBAR_TEXT The text property is the app name as it appears in the sidebar placement.
also, how about those optional properties.
<?xml version="1.0" encoding="UTF-8"?>
<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>APP_STORE_TITLE</blti:title>
<blti:description>APP_DESCRIPTION</blti:description>
<blti:icon></blti:icon>
<blti:launch_url>APP_URL</blti:launch_url>
<blti:extensions platform="canvas.instructure.com">
<lticm:property name="tool_id">APP_ID</lticm:property>
<lticm:property name="privacy_level">anonymous</lticm:property>
<lticm:options name="course_navigation">
<lticm:property name="url">APP_URL</lticm:property>
<lticm:property name="text">SIDEBAR_TEXT</lticm:property>
<lticm:property name="visibility">admins</lticm:property>
<lticm:property name="default">enabled</lticm:property>
<lticm:property name="enabled">true</lticm:property>
</lticm:options>
<lticm:options name="custom_fields">
<lticm:property name="lis_course_offering_sourcedid">$CourseOffering.sourcedId</lticm:property>
<lticm:property name="canvas_api_baseurl">$Canvas.api.baseUrl</lticm:property>
<lticm:property name="canvas_course_id">$Canvas.course.id</lticm:property>
<lticm:property name="canvas_course_name">$Canvas.course.name</lticm:property>
</lticm:options>
</blti:extensions>
<cartridge_bundle identifierref="BLTI001_Bundle"/>
<cartridge_icon identifierref="BLTI001_Icon"/>
</cartridge_basiclti_link>