Announcement

Collapse
No announcement yet.

Hiden default massAction in specific entity

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

  • Hiden default massAction in specific entity

    How can i hiden some actions in the specific entity?

    according to the picture I the entiy.
    When i create entity the actions will be created by default.
    I want to remove Mass update and export.

    I can add more action like the image below "test" but i cannot find out how to hidden default action.

    I tried searching in the clientdef folder products.json but couldn't find any lines that define show those actions.

  • #2
    try to make it as empty array and see if it works.

    Code:
    "massActionList" : [ ]
    I have not tested this but worth testing

    Comment


    • #3
      To disable in back-end (no ability to perform via API call):

      metadata > recordDefs > {YourEntityType}

      https://docs.espocrm.com/development...s/#massactions

      Set
      Code:
      "disabled": true
      for all actions.

      To disable the export action in frontend:

      metadata > clientDefs > {YourEntityType}

      HTML Code:
      "exportDisabled": true
      There's no ability to remove the mass-update action from UI w/o defining a custom record/list view for your entity type.


      Last edited by yuri; 06-15-2022, 07:44 PM.

      Comment

      Working...
      X