Announcement

Collapse
No announcement yet.

afterRead hooks?

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

  • afterRead hooks?

    Just need to perform some calculations to show in non-dabatase fields, just after read the entity. I know that constructing a custom-view could be a solution, but for my needs, it's more easy and convenient use a small piece of code attached to the hook.

    Whitch could be the best HOOK to use for?

    Why don't you implement a full CRUD set of hooks?

    Refards

  • #2
    You need to inherit this method in the service class https://github.com/espocrm/espocrm/b...ecord.php#L305

    Comment


    • #3
      Or overwrite actionRead in the controller

      Comment


      • #4
        Thanks, both sollution are suitable ...

        Comment

        Working...
        X