Announcement

Collapse
No announcement yet.

clientDefs -menu - buttons - target _blank ?

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

  • clientDefs -menu - buttons - target _blank ?

    Hi there

    in clientDefs <entity> .json

    I'd like to add a new button like that :

    PHP Code:
    "menu": {
    "list": {
    "buttons": [
    {
    "label""Dashboard",
    "link""?entryPoint=Dashboard",
    "acl""read",
    "style""default",
    "aclScope""xxxxxxx"
    }
    ]
    }
    }, 
    Is there a way to open that link in a new window ? adding an extra attribute like target="_blank" ?
    Thanks

  • #2
    Hello
    Remove link parameter, add action and open new window in your action

    Comment


    • #3
      meaning that i need to write my custom JS file ?

      Comment


      • #4
        yes..

        Comment


        • #5
          ok thanks tanya ! i was thinking about that but wondering if there were any other tricks to avoid writing that JS file

          Comment

          Working...
          X