I'm new to canvas and I really need some kind of help to fix the issue. I'm trying to call an external app (Web application deployed in Tomcat server locally) in one of the pages that I had created in Canvas using <iframe> tag. The issue is that I need to pass the logged in User id in the iframe src URL as a parameter. For ex: something like this
<p><iframe src="http://localhost:8080/SBAScholarships/Test.jsp?testVal=$Canvas.user.id" width="1000" height="600" allowfullscreen="allowfullscreen"></iframe></p>
But for some reason, the $ is automatically encoded as %24 and not able to get the logged in user ID. Is there any way that I can achieve this functionality ?
Any help is highly appreciated.