Cannot Add a Linked Field to VOIP Call Popup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • josbourn
    Junior Member
    • May 2025
    • 6

    #1

    Cannot Add a Linked Field to VOIP Call Popup

    Hello all.

    I am using the VOIP integration extension and am having issues with adding a custom link field to the call popup. I am trying to add a "CallScript" link field of the "Call" entity. The "Call" entity works fine with the "CallScript" link, but referencing that field in the "popupNotifications.json" file doesn't work properly. The call popup shows the field properly, but when you click to select one, it returns a null error in the console. I'm assuming this is because there is no call record associated with the current VOIP popup, therefore it cannot get the CallScript for that call?

    I have referenced "https://docs.espocrm.com/extensions/voip-integration/customization/#adding-a-call-name-to-a-call-popup" and that is what led me to the error. Do I need to add a link to the "VoipEvent" entity? Or am I completely missing something else?
  • lazovic
    Super Moderator
    • Jan 2022
    • 1187

    #2
    Hi josbourn,

    Could you please tell me which specific field you'd like to add to the call popup? How should it work for you?

    Comment

    • josbourn
      Junior Member
      • May 2025
      • 6

      #3
      Hi lazovic,

      We have a custom base entity we created called "CallScript". The "Call" entity has a "Many-to-One" relationship to the "CallScript" entity. The "VoipEvent" entity has a "Many-to-One" relationship to the "Call" entity. I am trying to add the "CallScript" linked field to the VOIP call popup.

      Essentially "VoipEvent" > "Call" > "CallScript".

      I can add some screenshots and/or snippets if needed.

      Comment

      Working...