[LON-CAPA-admin] link to a course

Stuart Raeburn raeburn at msu.edu
Wed Sep 11 09:39:36 EDT 2013


Hi,

> What is the format for a link that points directly to a course for a
> student?

The following link would prompt the student to enter a username and  
password on the login page for s10 (the MSU LON-CAPA library server)  
and after authentication would display the specified homework item  
(msu/nagytibo/Mechanics/Dynamics/003a.problem) in the course:

https://s10.lite.msu.edu/adm/roles?role=st./msu/33803011027874598msul1&symb=uploaded/msu/33803011027874598msul1/default.sequence___33___msu/nagytibo/Mechanics/Dynamics/003a.problem

Omit the symb=... part of the query string for the student to be taken  
to the first item in the course.

Similar deep linking works on the MSU LON-CAPA portal server, when  
using Single Sign On, e.g., from the MSU LON-CAPA portal/load  
balancer: loncapa.msu.edu

https://loncapa.msu.edu/adm/roles?role=st./msu/33803011027874598msul1&symb=uploaded/msu/33803011027874598msul1/default.sequence___33___msu/nagytibo/Mechanics/Dynamics/003a.problem

In your case:

replace:
msu with fsu
33803011027874598msul1 with the appropriate courseID

Note: The courseID can be found in the URL of the syllabus link on the  
roles page, or (as Domain Coordinator) click: More ... after the title  
when viewing the course with an ad hoc Course Coordinator role.

Note: it appears that the role argument is ignored for a URL such as:
https://loncapa.msu.edu/adm/login?role=st./msu/33803011027874598msul1

i.e., for a non-SSO log-in on a load balancer server. I need to  
investigate further.

It is planned to replace these long query strings with abbreviated  
versions in the future (see:  
http://bugs.loncapa.org/show_bug.cgi?id=6400)


Stuart Raeburn
LON-CAPA Academic Consortium

Quoting hkng <hkng at fsu.edu>:

> Hi,
>
> What is the format for a link that points directly to a course for a
> student?
>
> Thanks,
> -hk
>





More information about the LON-CAPA-admin mailing list