LTI custom Issue

wilson_espinosa
Community Novice

I am trying to use the variables that LTI has to obtain information on the sections of a course (http://www.imsglobal.org/specs/ltiv1p1/implementation-guide#toc-19), but when using them in the lti element: custom of the MXL structure that the application invokes, the values are not being loaded.

The only variable that loads information is $Course.Section.sourceId but it brings the data of the course.

How should I use the variables?.

Should an additional configuration be done?

<blti:launch_url>https://edouibeta.engdis.com/Runtime/customIncludes/Canvas/Entrance.aspx</blti:launch_url>
<blti:custom>
<lticm:property name="custom_canvas_section_id">$CourseSection.sourcedId</lticm:property>
<lticm:property name="custom_canvas_section_label">$CourseSection.label</lticm:property>
<lticm:property name="custom_canvas_section_title">$CourseSection.title</lticm:property>
<lticm:property name="custom_canvas_section_shortDescription">$CourseSection.shortDescription</lticm:property>
<lticm:property name="custom_canvas_section_longDescription">$CourseSection.longDescription</lticm:property>
<lticm:property name="custom_canvas_section_courseNumber">$CourseSection.courseNumber</lticm:property>
<lticm:property name="custom_canvas_section_credits">$CourseSection.credits</lticm:property>
<lticm:property name="custom_canvas_section_maxNumberofStudents">$CourseSection.maxNumberofStudents</lticm:property>
<lticm:property name="custom_canvas_section_numberofStudents">$CourseSection.numberofStudents</lticm:property>
<lticm:property name="custom_canvas_section_dept">$CourseSection.dept</lticm:property>
<lticm:property name="custom_canvas_section_timeFrameB">$CourseSection.timeFrame.begin</lticm:property>
<lticm:property name="custom_canvas_section_timeFrameE">$CourseSection.timeFrame.end</lticm:property>
<lticm:property name="custom_canvas_section_accept">$CourseSection.enrollControl.accept</lticm:property>
<lticm:property name="custom_canvas_section_allowed">$CourseSection.enrollControl.allowed</lticm:property>
<lticm:property name="custom_canvas_section_dataSource">$CourseSection.dataSource</lticm:property>
<lticm:property name="custom_canvas_section_sourceSectionId">$CourseSection.sourceSectionId</lticm:property>
</blti:custom>

C.5    LIS Course Section Variables

Message Variable Name

XPath for value from LIS Database

$CourseSection.sourcedId

courseSection/sourcedId

$CourseSection.label

courseSectionRecord/courseSection/label

$CourseSection.title

courseSectionRecord/courseSection/title

$CourseSection.shortDescription

courseSectionRecord/courseSection/catalogDescription/shortDescription

$CourseSection.longDescription

courseSectionRecord/courseSection/catalogDescription/longDescription

$CourseSection.courseNumber

courseSectionRecord/courseSection/courseNumber/textString

$CourseSection.credits

courseSectionRecord/courseSection/defaultCredits/textString

$CourseSection.maxNumberofStudents

courseSectionRecord/courseSection/maxNumberofStudents