tSM JEXL
📄️ JEXL Overview
This guide describes JEXL as it is used in the tSM frontend: form configuration, widgets, validations, data-source parameters, small calculations, and Public API lookups.
📄️ Evaluation And Context
A JEXL expression:
📄️ JEXL Syntax
Literals
📄️ Practical Patterns
Hide A Field
📄️ Runtime And Public API
JEXL expressions can call three kinds of runtime functionality.
📄️ Functions: Date And Time
This section lists the non-entity JEXL helper functions currently available in tSM configuration. Entity calls such as crm.customer.find(...) are covered separately in the Public API section.
📄️ Functions: Arrays And Objects
This section lists the non-entity JEXL helper functions currently available in tSM configuration. Entity calls such as crm.customer.find(...) are covered separately in the Public API section.
📄️ Functions: Strings
This section lists the non-entity JEXL helper functions currently available in tSM configuration. Entity calls such as crm.customer.find(...) are covered separately in the Public API section.
📄️ Functions: Numbers And Validations
This section lists the non-entity JEXL helper functions currently available in tSM configuration. Entity calls such as crm.customer.find(...) are covered separately in the Public API section.
📄️ Functions: Runtime Utilities
This section lists the non-entity JEXL helper functions currently available in tSM configuration. Entity calls such as crm.customer.find(...) are covered separately in the Public API section.
📄️ Practices And Cheat Sheet
Keep expressions short. If an expression combines an API call, multiple nested ternary branches, and several transformations, it will be hard to maintain.