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.
Oncourse is retired. For details, see About the Oncourse retirement.
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:${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.

Contact us

For help or to comment, email the UITS Support Center.