Files
alfresco-content-app/projects/aca-content/ms-office/assets/aos.plugin.json
swapnil-verma-gl 4357fe9c08 [ACS-8694] Re-introduce visibility rules cleanup (#4516)
* [ACS-8694] Cleanup of visibility rules for extensions in ACA (#4140)

* [ACS-9369] Resolved issues where visibility rules with a single element array would log errors (#4416)

* [ACS-9369] Resolved issues where visibility rules with a single element array would log errors

* [ACS-9369] Improved rule array filtering logic

* [ACS-9369] Added type to variable

(cherry picked from commit 4e33f1126d)

* [ACS-8694] Removed unneeded test cases

* [ACS-8694] Fixed 'Favorite' option showing up in toolbar when opening search page
2025-05-15 10:44:00 +02:00

81 lines
1.8 KiB
JSON

{
"$schema": "../../../../extension.schema.json",
"$id": "9a635542-d87a-4558-ae64-ffa199d1a364",
"$version": "0.0.10",
"$name": "Edit in Office",
"$description": "Extension that provides Office Edit Online Action",
"$vendor": "Hyland Software, Inc. and its affiliates",
"$license": "LGPL-3.0",
"actions": [
{
"id": "aos.openWith.office",
"type": "AOS_ACTION",
"payload": "$(context.selection.first.entry)"
}
],
"features": {
"toolbar": [
{
"id": "app.toolbar.more",
"children": [
{
"id": "aos.toolbar.openWith.office",
"order": 90,
"icon": "edit",
"title": "AOS.ACTION_TITLE",
"actions": {
"click": "aos.openWith.office"
},
"rules": {
"visible": [
"aos.canOpenWithOffice"
]
}
}
]
}
],
"contextMenu": [
{
"id": "aos.context.openWith.office",
"order": 450,
"icon": "edit",
"title": "AOS.ACTION_TITLE",
"actions": {
"click": "aos.openWith.office"
},
"rules": {
"visible": [
"aos.canOpenWithOffice"
]
}
}
],
"viewer": {
"toolbarActions": [
{
"id": "app.viewer.toolbar.more",
"children": [
{
"id": "aos.viewer.openWith.office",
"order": 1,
"icon": "edit",
"title": "AOS.ACTION_TITLE",
"actions": {
"click": "aos.openWith.office"
},
"rules": {
"visible": [
"aos.canOpenWithOffice"
]
}
}
]
}
]
}
}
}