dynamic class dialog cannot retrieve the user role variable

0
I would like to use the  [%UserRole_Administrator%] or other variable in dynamic class dialog, but not work right now. Can I ?
asked
2 answers
1

Short answer, no.  Dynamic classes and conditional visibility both differ from xpaths. In xpaths this would indeed be valid. I would suggest looking at the answer of Rishadh, on the same question.

 

Also you’re adding inline styling this way instead of a class. Make sure to add a class with this specific styling to the scss file(s) and use a class here.

answered
5

Hey yunlong,

I have answered this in your last question,

https://forum.mendix.com/link/questions/120050

Hope it helps!

answered