Buzz: Product Feedback

Passing URL Parameter Values

Follow
Answered
Ole Thomassen

Does Agilix plan to add a feature to Activity --> File or Website so that dynamic URL parameters can be passed along to the referring website or file?

Example:

http://www.someurl.com?AgilixCourseId={CourseId}

http://www.someurl.com?AgilixExternalCourseID={ExternalCourseId}

 

This would be similar to how a dynamic URL parameter can be passed along when using the custom survey object.

 

Thanks,

 

Ole Thomassen

 

Comments (2)

Sort by
Brad Marshall
  • Agilix team member

You can do that right now. You an use any of the course variables.

Adding name-value pairs in this Advanced screen causes the system to perform an HTTP POST (instead of an HTTP GET) when navigating to the specified web site. All name-value pairs are POSTed to the site.

You can pass user-specific values to the web site by using system variables in the Value column. Surround variable names in the Value column with "$" characters like this: $USER$

These are the available system variables:

COURSEID ID of the current course
COURSENAME Name or title of the current course
COURSEREFERENCE External ID of the current course
DOMAINID ID of the school or institution
DOMAINNAME Name of the school or institution
ENROLLMENTID ID of the current enrollment
ENROLLMENTFIRST First name of the current enrollment user
ENROLLMENTLAST Last name of the current enrollment user
ENROLLMENTUSER Full name of the current enrollment user
ENROLLMENTREFERENCE External ID of the current enrollment user
ITEMID ID of the activity or item the user is currently viewing
ITEMNAME Name or title of the activity or item the user is currently viewing
SECTIONID ID of the current section
SECTIONNAME Name or title of the current section
SECTIONREFERENCE External ID of the current section
USER Full name of the currently logged in user
USERFIRST First name of the currently logged in user
USERID ID of the currently logged in user
USERLAST Last name of the currently logged in user
USERNAME Username of the currently logged in user
USERSPACE Login or domain prefix of the currently logged in user
USERREFERENCE External ID of the currently logged in user

In your example, you could use:

http://www.someurl.com?AgilixCourseId=$COURSEID$
0 Comment actions Permalink
Ole Thomassen

Thank you Brad!

I discovered the course variables a few days after posting my question.

This will come in very handy.

0 Comment actions Permalink
Please sign in to leave a comment.