Announcement

Collapse
No announcement yet.

a new button for connecting another function

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

  • a new button for connecting another function

    I started to use EspoCRM and i want to add a new button which can connect to another program (via link). Then that program should run via the button. How can i create that, have you any tips?

  • #2
    Add to file crm/client/custom/src/views/YOURENTITY/detail.js :



    Code:
                    this.menu = {
                        'buttons': [
                            {
                                "label": "Your Label",
                                "link": "Your link",
                                "target": "_new",
                                "acl": "read"
    
                            }
                        ],
                        'dropdown': [],
                        'actions': []
                    };

    Comment


    • #3
      Thanks!

      Comment


      • #4
        Hi,
        I am not able to create a button and a action linked with that, I have tried the code snippet you have provided but its not working for me. Can you please guide if there is any other thing which is required.
        Thanks!

        Comment


        • #5
          Hello

          https://stackoverflow.com/questions/...20526#44820526
          https://github.com/espocrm/documenta...ustom-views.md

          Comment

          Working...
          X