Hi Roman,
thanks for your answer, it helped to start with decorations.
I experimented a lot, but my action does not show up in the pages app.
I can easily add my action to the dam app. So, the config should be fine.
Is there something special about the pages app?
I have:
my-module/decorations/pages/apps/pages/pages.subApps.detail.actionbar.sections.pagePreviewActions.groups.myaction.yaml:
items:
- name: myaction
my-module/decorations/pages/apps/pages/pages.subApps.detail.actions.myaction.yaml
class: com.xxx.MyActionDefinition
icon: 'icon-edit'
label: 'do something'
dialogId:my-module:pages/myDialog
MyActionDefinition extends OpenDialogActionDefinition
The definition app shows my action, so it is found and configured.
But the action is never shown. I tried setting the availabilty explicit, but it did not help.
Thanks, Heike