ARCHIVED: Using Oncourse Web Content, how do I pass variables to an outside application?

This content has been archived, and is no longer maintained by Indiana University. Resources linked from this page may no longer be available or reliable.
Important:
Oncourse is retired. For details, see About the Oncourse retirement.
Note:
To complete these procedures, you must be assigned a role having the necessary permissions. If you're not sure what your role is, see the "Role" column in the Roster tool. For permissions, see ARCHIVED: What can I do in read-only Oncourse?

Note: The following instructions apply only to official course sites and practice course sites.

To pass variables to an application on your server using the Web Content tool, first add a Web Content item to your site; see ARCHIVED: Adding, editing, or deleting a Web Content item.

For the URL, you can enter an address similar to:

https://server.iu.edu/application/index.jsp?userid=${USER_ID}&course_id=${SITE_PROP:site-oncourse-course-id}&role=${USER_ROLE}&eid=${USER_EID}

Each variable passes particular information:

  • ${USER_EID}: User's enterprise ID (Network ID username)
  • ${SITE_ID}: Oncourse siteID
  • ${USER_ROLE}: User's role in the site (e.g., instructor, student, or assistant)
  • ${USER_FIRST_NAME}: User's first name
  • ${USER_LAST_NAME}: User's last name
  • ${USER_ID}: Internal ID (User's UUID, a unique identifier assigned to each user in Oncourse)

This is document auit in the Knowledge Base.
Last modified on 2018-01-18 15:39:18.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.