AnsweredAssumed Answered

Can you create a dynamic iFrame URL using student user ids?

Question asked by Shanna Harper on Mar 28, 2017
Latest reply on Apr 12, 2017 by Raul Vega

I'm a new Canvas admin and am trying to figure if I can annotate iFrame URLs with user information. I have a survey that I'd like to embed in a Canvas page; the first question is hidden and ideally would populate with the student's Canvas user ID. Theoretically, the HTML content of the page would look like the following, but the portion in pink would be dynamic to the viewing user's ID. Is this something that (1) is doable in Canvas and (2) someone with limited API/LTI knowledge would be able to easily implement? Thanks!

 

<iframe src="https://survey.clicktools.com/app/survey/go.jsp?iv=3vo8w3wtc10a5&q1=user_id" width="100%" height="600"></iframe></p>

Outcomes