JavascriptEncode
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns a text that contains a JavaScript literal.
Returns null
if the value is unknown.
value
any WEM value
see hint below
Value - any WEM value (strings, numbers, boolean, etc.). The following encoding is used for non-native JavaScript types:
Concept - the concept ID is used
Concept set - array of concept ID's is used
Duration - the number of ticks (milliseconds) is used
File - the URL as a string
Reference - string representation of the referenced list and rowID