cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
aishwaryap
Community Member

Canvas custom variables deprecation

Jump to solution

I'm having LTI 1.3 with custom parameters,

  • Canvas.course.id
  • Canvas.user.id

I get these values while launching LTI and used them in the initial logic of my application. Now I went through this documentation - Canvas Platform Breaking Changes It seems these two parameters are going to deprecate soon. 

I checked similar parameters in canvas document But those are also present in the deprecation list. Is there any other way to get these values while launching LTI-1.3?

As this matter is urgent, I would appreciate a reply as soon as possible,

- Aishwarya 

 
Labels (4)
0 Kudos
1 Solution
chriscas
Community Champion

Hi @aishwaryap,

As I read it, the variables will all still be there, but they are changing from being sent as numeric to being sent as a string (probably just the same information with quotes around it).  If you have your own application, just make sure it can handle those coming in as a string (or convert them from a string back to a numeric value at the beginning of your code).

-Chris

View solution in original post

3 Replies
chriscas
Community Champion

Hi @aishwaryap,

As I read it, the variables will all still be there, but they are changing from being sent as numeric to being sent as a string (probably just the same information with quotes around it).  If you have your own application, just make sure it can handle those coming in as a string (or convert them from a string back to a numeric value at the beginning of your code).

-Chris

Thank you very much for the confirmation @chriscas ✌️

Hi Chris, 

Is this a deprecation release with canvas's last update? (2022-10-15) I could see the reference documents based on their changes related to variable substitutions. Could you please share its status? 

0 Kudos