What view do I leverage/extend to add customizations to a Create Call modal view?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SkerryAmp
    Junior Member
    • Feb 2025
    • 8

    #1

    What view do I leverage/extend to add customizations to a Create Call modal view?

    I have been tasked with adding functionality to the activities -> Create Call view from any given entity. I have done several customizations elsewhere so I think I understand the pattern but am struggling to get this view.

    We are on 8.3.2 right now (we are upgrading to 9.1 but that is a bigger project due to the changes we have to make for compatibility)

    I know it is a "Call" since I made a custom view for the detail which I found in crm:views/call/detail so that was just like the other entities . However I do not see any other views there to take advantage of.

    So if someone could point me to what view that is and what to extend from I would be greatly appreciative.

    It is the model that comes up when clicking the phone icon in activities panel and displays the following.

    Click image for larger version

Name:	image.png
Views:	9
Size:	40.7 KB
ID:	117772
  • victor
    Active Community Member
    • Aug 2022
    • 905

    #2
    The window shown on your screenshot responsible for the appearance of Administration > Entity Manager > Call > Layouts > Detail (Small).

    Comment

    • SkerryAmp
      Junior Member
      • Feb 2025
      • 8

      #3
      Originally posted by victor
      The window shown on your screenshot responsible for the appearance of Administration > Entity Manager > Call > Layouts > Detail (Small).
      Thank you, yes that is what is used to change the layout. I am looking for what I would need to extend in the .js to create a custom view.

      For example in a custom detail.js

      Espo.define(
      "custom:views/call/detail",
      "crm:views/call/detail",
      function (Dep) {


      And I see in crm/src the detail.js (which makes sense as I can use that one and things work as expected). But I cannot locate what to use for that modal

      Click image for larger version

Name:	image.png
Views:	0
Size:	13.0 KB
ID:	117776
      I am unable to locate or determine what is used for that particular view. I have tried variations of detail-small, edit-small etc, but am missing something key to making it work.

      Comment

      Working...