content-instances-list-item-actions
[
{
"evaluator": "document-is-favorite",
"config": {
"content-instances-list-item-actions": [
{
"key": "favorite",
"iconClass": "fa fa-star",
"action": "remove-from-favorites",
"order": 9000
}
]
}
},
{
"evaluator": "document-is-folder",
"condition": true,
"config": {
"content-instances-list-item-actions": [
{
"key": "folder",
"iconClass": "fa fa-folder-open-o",
"link": "/#/projects/{{project._doc}}/documents/{{document._doc}}/browse"
}
]
}
},
{
"config": {
"content-instances-list-item-actions": [
{
"key": "edit-document",
"link": "/#/projects/{{project._doc}}/documents/{{document._doc}}/properties",
"iconClass": "fa fa-pencil"
},
{
"key": "view-json",
"link": "/#/projects/{{project._doc}}/documents/{{document._doc}}/json",
"iconClass": "fa fa-code"
}
]
}
},
{
"evaluator": "and",
"condition": [
{
"evaluator": "document-is-file"
},
{
"evaluator": "document-is-locked"
}
],
"config": {
"content-instances-list-item-actions": [
{
"key": "locked-unlock",
"iconClass": "fa fa-lock",
"action": "unlock-document",
"order": 8000
}
]
}
},
{
"evaluator": "not",
"condition": {
"evaluator": "document-is-favorite"
},
"config": {
"content-instances-list-item-actions": [
{
"key": "favorite",
"iconClass": "fa fa-star-o",
"action": "add-to-favorites",
"order": 9000
}
]
}
},
{
"evaluator": "and",
"condition": [
{
"evaluator": "document-is-file"
},
{
"evaluator": "not",
"condition": {
"evaluator": "document-is-locked"
}
}
],
"config": {
"content-instances-list-item-actions": [
{
"key": "locked-lock",
"iconClass": "fa fa-unlock",
"action": "lock-document",
"order": 8000
}
]
}
}
]```