How can I change the calendar's color of meetings with respect to a "type" field of a custom entity?
Color in calendar
Collapse
X
-
I tried this formula but it gives me an error on the parentheses
ifThen(entity\isAttributeChanged('status'),
ifThen(status == 'Planned', entity\setAttribute('color', '#0ea5e9'));
ifThen(status == 'Held', entity\setAttribute('color', '#10b981'));
ifThen(status == 'Not Held', entity\setAttribute('color', '#eab308'));Comment
-
Because you copied it incorrectly, pay attention again to how the author rabii describes it, copy it and do everything absolutely identically. And when everything works - you can experiment with other colors and statuses.
Here is another topic with working options: https://forum.espocrm.com/forum/gene...-on-the-status.👍 1
-
Comment