How to use CSS file in UI Designer?

I was able to import a * .css file into the UI Designer following the documentation provided by BonitaSoft:

But following step by step documentation, I still could not use CSS to edit the content of the Text, my need now is to be able to use the CSS in UI Designer after being imported as an asset?

My UI Designer

Quentin Choulet's picture
Quentin Choulet

In UI Designer, allow the use of relative url for external assets. For example, if I have a my.js file in tomcat home directory I can reference it with '/my.js' instead of 'http://server:port/my.js'.

This idea comes from a question I created few days ago to discuss the best way to manage assets in custom pages, forms and widgets ( you can see the whole discussion here ).

What is the best way to manage assets for forms and custom widgets ?


I'm writing this post to discuss asset management on forms, pages, and custom widgets. We are developing an application with a lot of complex custom widgets. These widgets rely on several angular modules and can have up to 15 javascript and css assets (some are developed by our team and some are third party libraries). Bonita offers two options : local files or external url.