Start a new topic
Answered

xDM 2024.1 : conditional text color for attribute in authoring

Hello, 


In previous versions (2023.4 and before) I managed to change the text color of attributes with an SemQL function in authoring forms. 

But since the upgrade it seems to not be possible anymore.

I used the following SemQL :  

Case 	
 when EtatAdministratif = 'F' then 'md:red' 	
 when EtatAdministratif = 'A' then 'md:green' 	
 else '' 
End

This SemSQL works for the background color . 


Thanks



Best Answer
I  tried this and it is working fine in 2024.1.






Can you clear the cache on the browser or use another browser other than Edge ?


Hello,


Still KO, here is what I tried:

  • Firefox + cache clearing
  • G Chrome + cache clearing

Answer
I  tried this and it is working fine in 2024.1.





Hello,

I tried, and it works but not in the case of attributes in authoring mode "force-read-only".

image


image



In those case, only the background color works. 

image


Login to post a comment