Not storable field on all entities

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • a.slyzhko
    Member
    • Oct 2023
    • 90

    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!​
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Entity Manager hooks might be helpful. https://docs.espocrm.com/development...ntity-manager/
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...