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

My CSS File

1 answer

This one is the BEST answer!

The issue is that you actually set the CSS classes property to be a "dynamic value" instead of a "constant": you probably accidentally client on the "fx" icon on the right hand of "CSS classes" property.

If you click on the "x" icon to get back to a constant and type again "myCSS" it will work just fine (at least it did in my test using your CSS).


Submitted by on Tue, 06/27/2017 - 18:28

Perfectly, that was what was locking, thanks for the help