Hi Forum, I would like to know if there is a way to Read "Constant" value defined in Studio Pro from a Pluggable Widget? Like, can I use Client API or Mendix Platform SDK to achieve this? Thanks in advance.
You can get all the constants that have been exposed to the client using…
You’ll need to find the constant by name there, probably using a filter(). When you have that, you can call the .value() method to get the value.