Skip to main content
← Data, API & Backend
Data, API & Backend November 7, 2021 · 3 replies

Color of element / text depending value in API

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

Hello.
In my API return I received the status of my element (ex : 1 for OK, 2 for Non OK). 
I just want in detail page display an element in green for OK and red for Non OK.

Is it possible to do that ?
Regards 🙂

3 replies

Valter November 7, 2021

If on the data base you place an color element to each row. Than you can call it on the detail page. If i understand right this must solv your problem.

Fabrice November 8, 2021

Thank you for your answer.
Unfortunately I don’t have access to the database, only the API witch the status of the elements. :-(
So I need to translate status in color …

Javier Felipe Bravo team November 8, 2021

Hi , this is not possible at the moment, but we're currently working on adding more of these features into our product :)

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord