Color on calendar widget

0
Hi  How can I set color on calendar widget depend on condition ? such as day 15/12/2021 my progress is done , I would like to show green color,22/12/2021  my progress is in progress I would like to show red color  
asked
6 answers
1

Hello Somboon,

I think I found a way to solve this. My steps would be.

 

Create Color String Attribute for you Calendar Item Entity:

 

Set as color attribute in calendar widget:

 

Create event handler in calendar item entity:

 

In the microflow: check the status of the parameter object

 

For each status flow, set the color you want the calendar item to be.

 

This solution worked for me, I hope it does for you

answered
1

Lenny Puente

 

answered
0

Hi,

May be you can try by configuring the color based on the status, something like master data and show it accordingly.

During onload of calendar widget check the status and update the coloring for each event.

answered
0

This is how it looks for me, the color attribute is at the end

 

I don’t know why it doesn’t show up for you. Maybe you need to update the widget? Via App > Tools > Update Widgets

answered
0
Guys, I'm glad I found you. Now I will try to use this code. 
I forget to check the status in the microflow
answered
0

@Lenny Puente

I use this one

answered