diff --git a/application/Espo/Resources/metadata/scopes/PortalRole.json b/application/Espo/Resources/metadata/scopes/PortalRole.json index a5280171da..b5867b580e 100644 --- a/application/Espo/Resources/metadata/scopes/PortalRole.json +++ b/application/Espo/Resources/metadata/scopes/PortalRole.json @@ -3,5 +3,7 @@ "layouts": false, "tab": false, "acl": false, - "customizable": false + "customizable": false, + "importable": true, + "exportFormatList": ["csv"] } diff --git a/application/Espo/Resources/metadata/scopes/Role.json b/application/Espo/Resources/metadata/scopes/Role.json index a5280171da..b5867b580e 100644 --- a/application/Espo/Resources/metadata/scopes/Role.json +++ b/application/Espo/Resources/metadata/scopes/Role.json @@ -3,5 +3,7 @@ "layouts": false, "tab": false, "acl": false, - "customizable": false + "customizable": false, + "importable": true, + "exportFormatList": ["csv"] } diff --git a/client/src/views/portal-role/record/list.js b/client/src/views/portal-role/record/list.js index 4617bc824a..52410a1d6a 100644 --- a/client/src/views/portal-role/record/list.js +++ b/client/src/views/portal-role/record/list.js @@ -26,12 +26,10 @@ * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. ************************************************************************/ -Espo.define('views/portal-role/record/list', 'views/role/record/list', function (Dep) { +define('views/portal-role/record/list', 'views/role/record/list', function (Dep) { return Dep.extend({ - }); }); - diff --git a/client/src/views/role/record/list.js b/client/src/views/role/record/list.js index 7d74cebc9e..08f74f41cb 100644 --- a/client/src/views/role/record/list.js +++ b/client/src/views/role/record/list.js @@ -26,7 +26,7 @@ * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. ************************************************************************/ -Espo.define('views/role/record/list', 'views/record/list', function (Dep) { +define('views/role/record/list', 'views/record/list', function (Dep) { return Dep.extend({ @@ -34,11 +34,9 @@ Espo.define('views/role/record/list', 'views/record/list', function (Dep) { quickEditDisabled: true, - massActionList: ['remove'], + massActionList: ['remove', 'export'], checkAllResultDisabled: true }); - }); -