165
Views
4
Comments
Solved
Invalid Expression "Can't identify 'Color' element in Expression"

Hi guys. Good day.


I am currently taking the course on Mobile Development (OutSystem 11), Blocks Exercise [9.2]. I am in this portion where I am supposed to use a tag widget which will change background colors depending on the Priority Id of the Local Input Parameter, LocalToDo. I typed in the instructed expression completely, but it does not work. I changed Entities.Color.Red to Entities.DEPRECATED_Color.Red and it was possible to publish, unlike before. Can someone kindly help me understand why?


Best Regards

OutSysError9.2.PNG
2026-02-26 06-29-24
Rahul
 
MVP
Solution

Hi Rafael,

Please check in Data tab "Outsystem UI" has reference of Color entity

If not than go to manage dependancy and find outsystem ui and take reference 


Hope his will help you

Regards

Rahul Sahu

UserImage.jpg
Rafael Guevara

Rahul Sahu wrote:

Hi Rafael,

Please check in Data tab "Outsystem UI" has reference of Color entity

If not than go to manage dependancy and find outsystem ui and take reference 


Hope his will help you

Regards

Rahul Sahu

 Oh wow. It was that simple! Your response was spot on. :)

 

If you don't mind me asking, what led you to believe that it was a dependency issue? Is that one of the probable reasons/cases when Invalid Expression error appears?


Thanks again, Rahul!

 

2019-11-11 17-10-24
Manish Jawla
 
MVP

Hi Rafael,

Can you share the sample oml or can you share the color entity structure?

Regards,

Manish Jawla

2026-02-26 06-29-24
Rahul
 
MVP
Solution

Hi Rafael,

Please check in Data tab "Outsystem UI" has reference of Color entity

If not than go to manage dependancy and find outsystem ui and take reference 


Hope his will help you

Regards

Rahul Sahu

UserImage.jpg
Rafael Guevara

Rahul Sahu wrote:

Hi Rafael,

Please check in Data tab "Outsystem UI" has reference of Color entity

If not than go to manage dependancy and find outsystem ui and take reference 


Hope his will help you

Regards

Rahul Sahu

 Oh wow. It was that simple! Your response was spot on. :)

 

If you don't mind me asking, what led you to believe that it was a dependency issue? Is that one of the probable reasons/cases when Invalid Expression error appears?


Thanks again, Rahul!

 

2026-02-26 06-29-24
Rahul
 
MVP

Hi Rafael, 

as you provided screen shot of issue and here see "can't identify 'Color' element in expression" and color is a static entity which is default OS UI static entity. thats why i guess it is dependency issue.


Regards

Rahul Sahu

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.