Transformation Functions Error: Read Properties of undefined
What is the problem?
In your JENTIS configuration you want to apply a transformation function in a tags placeholder on a variable. But the result is an error in the client-side browser developer tools console:
Uncaught TypeError: Cannot read properties of undefined (reading 'getSHA256')
This or a similar error text appears in the console output when you launch a preview in your browser.
What is the solution?
Application of transformation functions in client-side executed tags is currently limited. Not all transformation functions can be used. Functions where the source code of the function starts with “async” or those that require certain ECMA Script version or a node JS package will fail when executed client-side.
Currently the use of transformation functions in tags is not limited in the User Interface. But we are aware of this shortcoming and are working on it to create a better user experience.
Please apply only transformation functions on client-side tag configurations if they use only features that are supported by any modern browser (no use of node packages, async operations, etc).