on 2022 Oct 18 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
}
Request clarification before answering.
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.
I setup a test app and was able to see a crash just loading your page with MDK 6.3.0. Using an internal build for 6.3.1 everything appears to be working as expected. Based on that I am hopeful the patch will also address the issue for your specific app as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are aware of some issues with the Object Card collection that we are addressing in the upcoming MDK 6.3.1 patch. How are you triggering the redraw? I want to see if your scenario will be addressed with the upcoming patch fixes or if this is a new scenario we need to investigate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
9 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.