Announcement

Collapse
No announcement yet.

JS Function call in detail view

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

  • JS Function call in detail view

    Hi there,
    any way to call js function in detail view?
    Eg. have an "Album" entity and I want to call console.log("Album Loaded"); in record detail view.
    Any help?
    Thanks

  • #2
    Hi,

    I recommend using a view setup handler for calling custom code within a detail view. https://docs.espocrm.com/development...etup-handlers/

    You can access the model there: this.view.model, listen to model events.

    Comment

    Working...
    X