Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Use 3rd party components

Mark Prins edited this page Aug 1, 2016 · 4 revisions

How to configure Flamingo to use 3rd party components.

First we need a directory with 3rd party components. For example: /my-flamingo-components There you need to add a components.json (with all the metadata for the new components) and all the .js files that implement the component functions.

Next we need to configure the Tomcat in which Flamingo is running to overwrite the components path. This is done by adding a context parameter. This can be done for the 'viewer' and 'viewer-admin' at once in the file (if this file doesn't exists, create it with as root element ): CATALINA_BASE/conf/context.xml or you can add it in the application in: CATALINA_BASE/conf/Catalina/localhost/viewer.xml There add the following parameter: <Parameter name="componentregistry.path" value="/viewer-html/components,/my-flamingo-components" override="false"/>

Clone this wiki locally