Saola Page with dynamic content

Can I use saola page to display dynamic content on saola page?

For example - I want create a dashboard page after login where in the top right corner there will be something like — Welcome {UserName}

So the {UserName} is the keyword which has to be dynamic and shown on the saola page dynamically.


Yes, you can do that by adding a Run JavaScript action to Scene Activate event:

function onSceneActivated(doc, e) {
  // theUserName can be a global variable, or a function call to get the username
  doc.getElement('element name').setText('Welcome ' + theUserName);