3 weeks ago - last edited 3 weeks ago
Hi Experts,
I am trying to set color for the action bar item , it is working fine in all other places but not in detail view, navigated from list to detail.
How to change the color of the left side action bar item? the text is coming by default. Even If i set Style to Add New button it is not working.
Page metadata,
{
"Controls": [
{
"FilterFeedbackBar": {
"ShowAllFilters": false,
"_Type": "Control.Type.FilterFeedbackBar"
},
"_Type": "Control.Type.SectionedTable",
"_Name": "SectionedTable0",
"Sections": [
{
"Separators": {
"TopSectionSeparator": false,
"BottomSectionSeparator": true,
"HeaderSeparator": true,
"FooterSeparator": true,
"ControlSeparator": true
},
"_Type": "Section.Type.ObjectTable",
"Target": {
"Service": "/MDK/Services/StceApi.service",
"EntitySet": "PayCodes",
"QueryOptions": "$filter=payCodeType eq 'H' and favourite eq true"
},
"_Name": "SectionObjectTable0",
"Visible": true,
"EmptySection": {
"FooterVisible": false
},
"ObjectCell": {
"ContextMenu": {
"Items": [],
"PerformFirstActionWithFullSwipe": true,
"LeadingItems": [],
"TrailingItems": []
},
"Title": "{payCodeDesc}",
"AccessoryType": "None",
"AccessoryButtonIcon": "sap-icon://delete",
"Tags": [],
"AvatarStack": {
"ImageIsCircular": true,
"ImageHasBorder": false
},
"AvatarGrid": {
"ImageIsCircular": true
},
"Selected": false
},
"HighlightSelectedItem": false
}
]
}
],
"_Type": "Page",
"_Name": "FavouritePayCode",
"Caption": "Favourite Paycodes",
"PrefersLargeCaption": true,
"ActionBar": {
"Items": [
{
"_Name": "ActionBarItem0",
"Caption": "Add New",
"Position": "Right",
"IsIconCircular": false,
"Visible": true,
"OnPress": "/MDK/Actions/Favourites/NavToPayCodeFavAddNewDialog.action"
}
],
"_Name": "ActionBar1"
}
}
Action of object cell on press item,
{
"_Type": "Action.Type.Navigation",
"ActionResult": {
"_Name": "NavToFavPaycode"
},
"PageToOpen": "/MDK/Pages/Favourites/FavouritePayCode.page"
}
Thanks in advance.
I am unable to reproduce this. At this point I would recommend opening a support case and include your mdkproject / metadata and reproduction steps so it can be investigated further
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
65 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.