[ARCHIVED] App Configuration Parameters (url query params)

Mike311
Community Member

Hello,

I have submitted my app to Edu App Center and trying to pass params by url https://www.eduappcenter.com/configurations/92o995pg5z4y84fg.xml?channel=my-channel&hostname=my-host

I want query params

  • to be used in custom properties
  • to be used in launch_url
Spoiler
<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_v1p0p1.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>Nectir 3 (Dev)</blti:title>
  <blti:description>
    <!--[CDATA[Nectir (Dev) App]]-->
  </blti:description>
  <blti:launch_url>http://%hostname% [hostname]/api/v1/canvas.redirect</blti:launch_url>
  <blti:custom>
    <lticm:property name="channel"></lticm:property>
    <lticm:property name="hostname">nectir</lticm:property>
  </blti:custom>
  <blti:extensions platform="canvas.instructure.com">
    <lticm:property name="tool_id">nectir_dev_three</lticm:property>
    <lticm:property name="privacy_level">public</lticm:property>
  </blti:extensions>
</cartridge_basiclti_link>
 

Some apps that support query params properly:

Sorry to say there are no docs, examples, etc.

Does anybody knows how to make it work? 

Labels (2)
0 Likes