How to Test Magic Function
Standard functions (that are not bound to currentObject) can be tested in the browser console as follows:
magicUniversalFunction("${currentClan:name}")
-> returns: "Your Company Name"
Functions that refer to data from an FE object and are therefore bound to the currentObject can be tested in the browser console as follows:
var currentObject = {"name":"Hello World"}
magicUniversalFunction("${currentObject:name}", {currentObject})
-> returns: "Hello World"
Updated over 3 years ago