JavaScript reflection functions

As well as replacing complete menu items and panels, JRNI Extensibility allows you to add reflection functionality into certain standard panels and facets within Studio. These functions break into a few core pieces of functionality.

Validators

Validators are functions that are called and expected to return a promise that resolves into if a action is valid or not, This could be something such as performing an action, such as checkout out a basket, or enabling a certain button, or it can be for validating a specific field in a form

FormTransfrom

JRNI Uses standard schema forms to create it UI elements for creating and updating many more objects. These forms can often be controller with configuration via the Configurator - however they can also be more finely controlled with a FormTransform function that can replace and enhance key elements of the form

ActionTriggers

These functions are called to signify that some action is occurring in the platform. The purpose of the callback is not generally to prevent the action from happening, but to allow you to provide extra data manipulation around the action. A good example is in adding an item to a basket where addition properties or data might want to be parsed and sent to the server at the time

ActiveFilters

Much of JRNI's functionality involves providing a valid list of data for a customer or staff member, for example a list of services that can be booked. This promise based callback enables you to receive a list of data objects that are about to be shown to the user around some context and add an enhanced filter to that list based on context and properties. This is very useful when adding extra business rules around process and usage of the platform