Announcement

Collapse
No announcement yet.

custom extension Mass Action Disabled Error

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

  • custom extension Mass Action Disabled Error

    Hello,

    Im using espo version 7.0.9 and php 7.4.
    I've created a custom extension and, in that Mass Action, is not working. Error saying 403 Mass Action 'update' is disabled for 'Entity'

    Error log
    [2022-05-13 15:46:25] ERROR: (403) Mass action 'update' is disabled for 'Project'.; POST /MassAction; line: 60, file: /var/www/html/crm/application/Espo/Core/MassAction/MassActionFactory.php [] []


    I need support on this to fix the same.
    Last edited by Nishan Perera; 05-13-2022, 04:01 PM.
    Cheers!
    Nishan.

  • #2
    Can someone help me on this ?
    Cheers!
    Nishan.

    Comment


    • #3
      Look recordDefs

      Comment


      • #4
        item Thank you!

        With regards to that below what I did and it worked.

        File Path - /application/Espo/Modules/Crm/Resources/metadata/recordDefs/Project.json

        -If the entity file not existing, you have to create the json file and include below code for delete, update, follow.

        Code:
        {
            "massActions": {
                "delete": {
                    "allowed": true
                },
                "update": {
                    "allowed": true
                },
                "follow": {
                    "allowed": true
                }
            }
        }
        Cheers!
        Nishan.

        Comment

        Working...
        X