Using constant value in Index page

Hi All, Is it possible for me to use constant value in index page. For example we have a constant called IsProd of datatype boolean. Can I retrieve this constant within index page, if yes how can I achieve this? Thanks in advance..!!
2 answers

Hi Mohammed,

Why don't you configure this from the modeler? Assuming that you want to have this functionality to see on what environment the app is running, you could do this:

We have a widget called: Environment Badges. You can find it in the appstore. This will make it a lot easier for you to show badges based on what environment your app is running on.


The best solution depends on what you exactly would like to achieve.

For example, you could create a non-persistent object, which uses the constant in an attribute.