Color in calendar

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • tothewine
    replied
    I was able to manage the color of meeting only in creation, but not in update, how can I do it?

    Leave a comment:


  • victor
    commented on 's reply
    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.

  • tothewine
    replied
    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'));

    Leave a comment:


  • lazovic
    replied
    Hi tothewine,

    Perhaps the following thread will be useful for you: https://forum.espocrm.com/forum/gene...-on-the-status.

    Leave a comment:


  • tothewine
    started a topic Color in calendar

    Color in calendar

    How can I change the calendar's color of meetings with respect to a "type" field of a custom entity?
Working...