So I made the same change to the last line, and the error went away. But, the value is still not going thru (the parameter still has the initial value of 0.
I also tried putting a custom property on the canvas, called MyID and linked it’s value to the ID of the Root Container. Then I moved the script from the Root Container Property change to the Canvas Property Change and got the same result of staying 0.
See if I understand this script - event.newValue is supposed to contain the value of ID in the Root Container, and then change the parameter to that value with the last command.
Since the value is being set when you call the page, could I be not seeing it as a change? Maybe we need something in the initializeTemplate?