{
"controller": "pim:controllers/record-tree",
"iconClass": "fas fa-th",
"boolFilterList": [
"onlyMy",
"notEntity",
"notChildCategory",
"notLinkedWithProduct",
"linkedWithCatalog",
"onlyRootCategory",
"allowedForProduct"
],
"hiddenBoolFilterList": [
"notEntity",
"notChildCategory",
"notLinkedWithProduct",
"linkedWithCatalog",
"onlyRootCategory",
"allowedForProduct"
],
"disabledMassActions": [
"merge"
],
"views": {
"list": "pim:views/category/list",
"detail": "pim:views/category/detail"
},
"recordViews": {
"list": "pim:views/category/record/list",
"listTree": "pim:views/category/record/list-tree",
"detail": "pim:views/category/record/detail"
},
"relationshipPanels": {
"catalogs": {
"selectAction": "selectRelatedEntity",
"selectBoolFilterList": [
"notEntity"
],
"view": "pim:views/category/record/panels/catalogs"
},
"products": {
"selectAction": "selectRelatedEntity",
"selectBoolFilterList": [
"allowedForCategory"
],
"view": "pim:views/category/record/panels/products"
}
},
"menu": {
"listTree": {
"buttons": [
{
"label": "List View",
"link": "#Category",
"acl": "read",
"style": "default"
}
]
},
"list": {
"buttons": [
{
"label": "Tree View",
"link": "#Category/listTree",
"acl": "read",
"style": "default"
}
]
}
},
"dynamicLogic": {
"panels": {
"catalogs": {
"visible": {
"conditionGroup": [
{
"type": "isEmpty",
"attribute": "categoryRouteName"
}
]
}
}
}
}
}
|