03-07-2024 3:14 PM - edited 03-07-2024 3:20 PM
Hello Gurus,
I have a RAP-based Fiori app (OData V2).
I want to create a menu button on my app's Object Page within the "myObjectFacet" section.
To do this I used the approach described in the standard documentation (here).
So, I expect to see three buttons (Action1, Action2, Action3) inside one (Actions), but I see them as separate button.
The "menu" property doesn't seem to have any effect at all.
I would be grateful for any useful hint, link or advice from your side.
Thank You!
My implementation (manifest.json)
"sap.ui.controllerExtensions": {
"sap.suite.ui.generic.template.ObjectPage.view.Details": {
"controllerName": "...ObjPageExt",
"sap.ui.generic.app": {
"ZC_MyObjPg": {
"EntitySet": "ZC_MyObjPg",
"Sections": {
"myObjectsFacet": {
"id": "myObjectsFacet",
"Actions": {
"ActionOne": {
"id": "ActionOne",
"text": "{@i18n>actOne}",
"press": "onExecAction",
"visible": true,
"enabled": true
},
"ActionTwo": {
"id": "ActionTwo",
"text": "{@i18n>actTwo}",
"press": "onExecAction",
"visible": true,
"enabled": true
},
"ActionThree": {
"id": "ActionThree",
"text": "{@i18n>actThree}",
"press": "onExecAction",
"visible": true,
"enabled": true
},
"MenuActions": {
"text": "{@i18n>act}",
"visible": true,
"menu": [
"ActionOne",
"ActionTwo",
"ActionThree"
]
}
}
}
}
}
}
}
}
Result
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.