LogoLogo
Home
Core Platform
Core Platform
  • Introduction
    • Overview
    • Use Cases
    • Architecture
    • Built with ML & AI
    • Quick Start
  • Examples
    • Training Examples
      • API Flow Examples
      • Microservice Examples
      • UI Example
      • Exercise: Hello World API
      • Exercise: Test State
      • Exercise: Test UI
    • Exercise: To-do List
      • To-do List Runner
      • To-do List Gateway
      • To-do List UI
      • To-do List Query
  • Troubleshooting
    • Rierino Packages
    • Release Notes
    • Useful Checks
    • Error Codes
  • Devops
    • Overview
    • API Flows
      • Using the Saga Screen
      • Defining a Saga
      • Configuring Saga Steps
        • Event Step
        • Transform Step
          • Transform Classes
        • Condition Step
          • Condition Classes
        • Step Link
      • Injecting Variables
    • Microservices
      • Runners
        • Using the Runner Screen
        • Defining a Runner
        • Managing Runner Settings
        • Adding Runner Elements
        • Deploying Runners
          • Spring Runners
          • Samza Runners
          • Camel Runners
      • Elements
        • Systems
        • State Managers
          • Typical Use Cases
          • State Data Structure
          • Local States
            • In-Memory Map
            • Caffeine Cache
            • Samza Based
            • Lucene Based
            • Single File
            • Multiple Files
            • Selected IDs Map
            • Indexed Map
          • Shared States
            • MongoDB Collection
            • Jooq (SQL) Table
            • Redis Map
            • Couchbase Collection
            • Elasticsearch Index
            • Elasticsearch Joined
            • Etcd Namespace
          • Specialized States
            • CRUD Service
            • Odata Service
          • State Coordinators
            • Lazy Cache Coordinator
            • Event Store Coordinator
            • Write thru Coordinator
          • Loading Strategies
          • ID Generators
        • Listeners
        • Query Managers
          • MongoDB
          • Elasticsearch
          • Lucene
          • SQL Based
          • Odata Service
        • Handlers
          • Core Handlers
            • Write Data
            • Read Data
            • Query Data
            • Apply Rules
            • Call Rest API
            • Generate Text/Html
            • Parse Html
            • Generate Secrets
            • Orchestrate User Task
            • Perform File Operation
            • Run Shell Command
            • Send/Receive Emails
          • Custom Code Handlers
            • Run Scripts
            • Run Java Code
            • Run Java Package
          • Flow Handlers
            • Orchestrate Saga
            • Loop Each Entry
            • Run Multiple Steps
            • Buffer Payloads
            • Merge Parallel Steps
            • Log Event
            • Send Event
            • Validate Event
            • Transform Event
            • Perform DB Transaction
            • Trigger Runner Command
            • Do Nothing
            • Modify Role Data
            • Enrich Role Data
            • Convert Pulse to Journal
          • Gateway Handlers
            • Authenticate
              • No Authentication
              • State Based
              • Keycloak Based
            • Sessionize
          • Specialized Handlers
            • Apply Advanced Rules
            • Calculate Real-time Metrics
            • Score ML Models
            • Score LangChain Models
            • Service MCP Requests
            • Service A2A Requests
            • Consume Web of Things
            • Perform Text Embedding
            • Run Python Procedure
            • Generate Excel
            • Generate PDF
            • Call SOAP API
            • Integrate with Camel
        • Actions
        • Streams
          • Kafka Topic
          • CDC Feed
          • Camel Component
        • Roles
        • Generic Settings
        • Global Settings
      • Deployments
        • Defining a Deployment
        • Alternative Loaders
    • Gateway & Security
      • Gateway Servers
        • Gateway Systems
        • Gateway Channels
        • Gateway Services
        • Gateway Tokens
      • APIs
        • OpenAPI Specification
        • Response Formats
    • Administration
      • Managing Deployments
      • Sending Commands
      • Streaming Messages
      • Migrating Assets
    • Batch Tasks
      • Python Processes
      • Python Iterators
      • Python Processors
    • Pro-Code
      • Custom Handlers
      • Custom State Managers
      • Custom Query Managers
      • Custom CDC Managers
  • Design
    • Overview
    • User Interface
      • Apps
      • UIs
        • Listers
        • Widgets
          • Value Widgets
          • Array Widgets
          • Object Widgets
          • Indirect Widgets
          • Atom Widgets
        • Menus
          • Lister Menu Actions
          • Selection Menu Actions
          • Editor Menu Actions
          • Widget Menu Actions
          • Custom Menu Actions
          • RAI Menu Actions
        • Extended Scope
          • Conditional Display
          • Data Context
          • Extra Data
          • Default Item
          • Extra Events
      • Options
      • Translations
      • Icons
      • Styles
      • Components
    • API Mapping
    • Data Schema
      • Common Data
  • Configuration
    • Overview
    • Queries
      • Query Types
      • Query Platforms
        • MongoDB Queries
        • Odata Queries
        • SQL Queries
        • Elasticsearch Queries
        • Lucene Queries
        • Siddhi Queries
    • Business Rules
      • Drools Rules
    • Dynamic Handlers
  • Data Science
    • Overview
    • ML Models
      • Scheduler Platforms
        • Airflow Scheduler
    • GenAI Models
    • MCP Servers
    • Complex Event Processing
      • Siddhi Data Flows
    • Data Visualizations
    • Customizations
  • EXTENSIONS
    • JMESPath
    • Handlebars
Powered by GitBook

© Rierino Software Inc. 2025. All rights reserved.

On this page
  • Implementation Domain
  • Server Side
  • Client Side
  • Functions
  • not(boolean)
  • eq(any, any)
  • neq(any, any)
  • gt(any, any)
  • gte(any, any)
  • lt(any, any)
  • lte(any, any)
  • and(...boolean)
  • or(...boolean)
  • cond(boolean, any, any)
  • max(array)
  • min(array)
  • range(number)
  • slice(array, number=0, number=array.length)
  • size(array)
  • len(string)
  • arr(...any)
  • coalesce(...any)
  • lines(string)
  • math(number, string, number)
  • toJson(string)
  • md(string)
  • eval(object, string)
  • dateToString(number, string="en-US", string="MM-dd-yyyy")
  • stringToDate(string, string="en-US", string="MM-dd-yyyy")
  • dataLookup(string, string | string[])
  • setVar(string, any)
  1. EXTENSIONS

Handlebars

Admin UI has custom functions added to standard Handlebars library

The following functions can be used in addition to specification provided by Handlebars language, to support common use cases:

Implementation Domain

Server Side

These functions are available for server side rendering using Handlebars template event handler.

Client Side

These functions are available for Handlebars widgets and menus.

Functions

not(boolean)

Returns opposite of the given boolean value.

eq(any, any)

Returns true if the provided two values (e.g. number, string) are equal to each other.

neq(any, any)

Returns true if the provided two values (e.g. number, string) are not equal to each other.

gt(any, any)

Returns true if the first provided value is greater than the second.

gte(any, any)

Returns true if the first provided value is greater than or equal to the second.

lt(any, any)

Returns true if the first provided value is less than the second.

lte(any, any)

Returns true if the first provided value is less than or equal to the second.

and(...boolean)

Returns true if all of the provided values are true.

or(...boolean)

Returns true if any of the provided values is true.

cond(boolean, any, any)

If a given condition value is true, returns the first given parameter, otherwise returns the second given parameter.

max(array)

Returns the maximum value in provided array.

min(array)

Returns the minimum value in provided array.

range(number)

Creates an array with elements ranging from 0 to provided value-1.

slice(array, number=0, number=array.length)

Returns array elements from start to end index.

size(array)

Returns the number of elements in an array.

len(string)

Returns the length of a given string.

arr(...any)

Converts provided list of values to an array.

coalesce(...any)

the first non-null element in an array.

lines(string)

lines of string into an array of string.

math(number, string, number)

Calculates given operation (+,-,/,*,%) between two given numbers.

a given json object into string.

toJson(string)

Converts a given string into json object.

md(string)

provided markdown text into HTML string.

eval(object, string)

a JMESPath expression string on a given object.

dateToString(number, string="en-US", string="MM-dd-yyyy")

given epoch milliseconds into date with given locale and pattern strings.

stringToDate(string, string="en-US", string="MM-dd-yyyy")

Converts given date string in given locale and pattern into epoch milliseconds.

dataLookup(string, string | string[])

and returns record(s) from a given source, using a given id or ids. If "*" is given as the id, all records in the source are returned. If a string array is provided as the ids, their list is returned as an array. Otherwise, a single record for the provided id is returned.

For client side, the source given must match a source record from design application.

For server side, the source given must match a state name on current runner.

As this helper gives access to all states on a runner without checking access rights, it is recommended to limit its use to runners that do not have access to sensitive states such as customer data for server-side use cases.

setVar(string, any)

Creates a contectual variable with given name and value, typically used for storing and reusing calculated values without "with" expressions.

PreviousJMESPath

Last updated 8 months ago