on 2025 Mar 08 8:58 AM
hello MDK experts,
i am facing an issue trying to use openDocument action with a pdf.
Symptom : after a reset of my app, the very first occurrence of openDocument action crashes the app. reopening the app, the openDocument action is working fine.
versions : Mobile Svcs 24.11.2 / iOS 18.3.1
app: built a simplified demo app to isolate this behavior:
on the main page : one single button
"OnPress": "/mdktest/Actions/openDummyPDF.action"
and the action is an OpenDocument pointing to a public url from w3.org.
{
"_Type": "Action.Type.OpenDocument",
"ActionResult": {
"_Name": "openDummyPDF"
},
"OnFailure": "/mdktest/Actions/FailurePdfload.action",
"Path": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"MimeType": "application/pdf"
}
pattern of error : opening the app in mobile svcs for the first time > click on the button > crash
reopening the app, click on button > pdf is displayed fine.
reset of the app > close mobile Svcs > onboarding of the app > click button > crash again.. etc .
Has anyone already experienced similar issue with OpenDocument?
Am I missing something here? any suggestion of workaround?
I am tempted to think this is an MDK bug with OpenDocument action. so I ll raise an incident to SAP support for this one. but in case someone faced the same problem, any thought is appreciated!
thanks
Damien
Request clarification before answering.
I see you have opened a support ticket for this issue. We will respond on the support ticket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.