Startup JS Code¶
This code will be executed when the app is loaded. For example, you can use it to initialize some variables:
var y = new Date().getFullYear();
srnSetVariableValue("myVar", y);
You can use any Javascript function. Here is the documentation to use the Serenytics helper functions in Javascript: Javascript helpers.