app/admin/scripts/config.js. The following configuration options are
available:
LDAP
If you connect ASEE Flow with the LDAP identity service, you have read-only access to the users and groups. Create new users and groups via the LDAP system, but not in the admin application. Find more information about how to configure the process engine in order to use the LDAP identity service here.Logo and header color
You can change the visual aspects of Admin. The user stylesheet file is located inapp/admin/styles/user-styles.css. This file contains CSS, which is loaded into Admin
and can override the standard styles.
app/admin/scripts/config.js configuration file as follow:
Localization
Admin can be localized. ASEE Flow maintains English and German translation files. You can find and download community maintained translation files at the ASEE Flow webapp translations repository. The localization of Admin is contained in theapp/admin/locales/ directory. This
directory contains a separate localization file for every available language. The file name
consists of the language code and the suffix .json (e.g., en.json).
Admin uses a locale file corresponding to the language settings of the browser. You can
set the availableLocales property in the configuration file to provide a list of available
locales. Every locale contained in this list must have a locale file in the locales
directory with the corresponding language code.
If the browser uses a language which is not available, Admin uses the locale defined via the fallbackLocale property in the configuration file:
Custom scripts
Admin allows you to include arbitrary JavaScript files. This allows you to extend admin with custom code. The script file might contain a custom frontend module. Admin shares the frontend module structure with Cockpit Plugins. Add your files to thecustomScripts property of the app/admin/scripts/config.js file:
custom-module/module.js file. The path is relative to the app/admin folder in the ASEE Flow webapp .war file.
Change CSRF cookie name
The default name of the CSRF Cookie isXSRF-TOKEN. When using other applications within the
same origin, the CSRF mechanisms could interfere with each other. To avoid the name conflict, change the name of the CSRF cookie in the config.js file as follows:
Disable welcome message for new users
First-time visitors are shown a message directing them to the ASEE Flow welcome page. If you do not want this message to be shown, you can disable it by adjusting theconfig.js as follows:
User operation log annotation length
The default maximum length of a user operation log annotation is 4000 characters. Some databases have smaller limits. You can change the maximum allowed input length in theconfig.js file as follows:
Task worker metrics
The task worker metrics (TW) on the metrics page are displayed by default. You can disable this behavior by adjusting theconfig.js as follows:
Advanced styles customization
In addition to the basicuser-styles.css file, you can edit the source style and layout files
using less to change the overall appearance of Admin.
To customize the interface with less, start by having a look
at the variables defined in the following files:
node_modules/camunda-commons-ui/node_modules/bootstrap/less/variables.lessdefines the original Bootstrap variablesnode_modules/camunda-commons-ui/resources/less/cam-variables.lessoverrides some Bootstrap variables (above) and add some custom ones
Compiling with Grunt
From within thecamunda-bpm-webapp directory: