Custom JavaScript

Note

For the versions earlier than 4.x.x (including on-premises ones), please follow this instruction.

This step allows to specify custom JavaScript code. You can use functions from JavaScript framework to subscribe for box, tooltip, search results rendering events. Each event receives rendered element and object with field values from the data source. The object contains all fields from the data source. Find their names by clicking the Field names button. Read description of JavaScript framework for more information.

On the picture below you can see an example of JavaScript which changes the background of boxes to red for all employees from the Marketing Department.

Custom JavaScript

Note

Go to the next step of the configuration wizard Custom CSS.