Carol Shergold

Arithmetic operations in LTI variable substitutions

Discussion created by Carol Shergold on Aug 10, 2018
Latest reply on Aug 13, 2018 by Carol Shergold

Hi everyone


Can I create an external tool with parameters using LTI variable substitutions with arithmetic operations? 


For example, if we wanted to set a date via LTI substitution, could we set it to something like:


   $Canvas.assignment.dueAt.iso8601 + 86400


(where 86400 is the number of seconds in 24 hrs)


I can't see anything documented on this, and I'm thinking it's probably not possible but I know that sometimes there are unexpected solutions, such as the one Peter Love was able to help us with on another LTI variable substitution question we had (LTI Variable Replacement as part of a custom field )


Thanks for any advice