on 10-18-2022 12:57 PM
Hi,
I am currently developing an MDK App in 6.3 version using Object Card Collection control and build a custom client with MDK SDK 6.3.0.Unfortunately, Android app is getting crashed when I try to redraw the page with Object Card Control. Its working fine in IOS. I am using Android 9 and tested the same in Android 10.
How do I resolve this error?
I am using this page on click of button from main page.
Page Definition:
{
"Controls": [
{
"_Type": "Control.Type.SectionedTable",
"_Name": "SectionedTable0",
"Sections": [
{
"_Type": "Section.Type.ObjectCardCollection",
"Target": "/DemoProject/Rules/Rule1.js",
"_Name": "SectionObjectCardCollection0",
"Visible": true,
"EmptySection": {
"Caption": "No data",
"FooterVisible": false
},
"DataPaging": {
"ShowLoadingIndicator": false,
"PageSize": 50
},
"Card": {
"Visible": true,
"Title": "{Name}",
"Subhead": "{Email}",
"Footnote": "{Gender}",
"DetailImage": "{img}",
"DetailImageIsCircular": false,
"StatusText": Location: {location}",
"OverflowButtons": [
{
"_Name": "SectionObjectCardCollection0OverflowButtons0",
"Image": "sap-icon://edit",
"Style": "Destructive",
"Title": "Edit",
"Visible": true
}
],
"PrimaryAction": {
"_Name": "Bt2",
"Style": "",
"Title": "",
"Visible": false
},
"SecondaryAction": {
"_Name": "Bt1",
"Style": "",
"Title": "",
"Visible": false
},
"Styles": {
"BackgroundColor": "ObjectCard"
},
"_Type": "Control.Type.ObjectCard"
},
"Layout": {
"NumberOfColumns": 1,
"LayoutType": "HorizontalScroll"
}
},
{
"_Type": "Section.Type.ObjectCardCollection",
"Target": "/DemoProject/Rules/Rule2.js",
"_Name": "SectionObjectCardCollection1",
"Visible": true,
"EmptySection": {
"Caption": "No data!",
"FooterVisible": false
},
"DataPaging": {
"ShowLoadingIndicator": false,
"PageSize": 50
},
"Card": {
"Visible": true,
"Title": "ID: {id}",
"Subhead": "Issue Date: {issue_Date}",
"Footnote": "Expiry Date: {expiry_Date}",
"DetailImage": "/DemoProject/Images/img2.png",
"DetailImageIsCircular": false,
"OverflowButtons": [
{
"_Name": "SectionObjectCardCollection1OverflowButtons0",
"Image": "sap-icon://edit",
"Style": "Normal",
"Title": "Edit",
"Visible": true
}
],
"PrimaryAction": {
"_Name": "bt3",
"Style": "",
"Title": "Primary",
"Visible": false
},
"SecondaryAction": {
"_Name": "bt4",
"Style": "",
"Title": "{approved}",
"Visible": true
},
"Styles": {
"BackgroundColor": "ObjectCardBg2"
},
"_Type": "Control.Type.ObjectCard"
},
"Layout": {
"NumberOfColumns": 1,
"LayoutType": "Vertical"
}
}
]
}
],
"PullDown": {
"OnPulledDown": "/DemoProject/Rules/onPulldown.js"
},
"_Type": "Page",
"_Name": "List",
"PrefersLargeCaption": true
}
MDK 6.3.1 has been released. Please download from the SAP Marketplace and test to confirm it addresses this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
9 | |
8 | |
7 | |
6 | |
5 | |
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.