Announcement

Collapse
No announcement yet.

Not storable field on all entities

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Not storable field on all entities

    Hello there!

    I'm currently working on a project aimed at highlighting rows in a list that haven't been marked as read notifications. I've successfully implemented this feature for a task entity, and I've also grasped the process of applying a new list view globally, as well as fetching additional data when requesting a collection for the frontend. The only aspect still unclear to me is how to add a non-storable field for all existing entities and those that will be added in the future. Is there a method to create a non-storable field that will apply universally across all entities? Alternatively, is there a way to prevent this field from being unset after the SQL is executed and the collection is created, as not it only maps to fields defined in entityDefs?
    Thanks!​

  • #2
    Entity Manager hooks might be helpful. https://docs.espocrm.com/development...ntity-manager/

    Comment

    Working...
    X