- Marcin Jurkowski
- PowerServer Mobile (Obsolete)
- Monday, 9 September 2019 11:15 AM UTC
Hi,
We are using eon_mobile_webviewex to display PDFs on our mobile app for example:
ls_url = gn_app.getproductspath() + is_product_id + '.pdf'
uo_product.of_startloading(ls_url)
uo_product.show()
We could have some products without a PDF document.
In this case it'll display a blank page/object (when I open this url in web browser it says "File not found" or HTTP ERROR 404).
Is it possible to check that the PDF exists on the server / determine a url link is returning a 404?
Note: PDFs are not on Appeon server.
P.S. I found StackOverflow post from ZhaoKai pointing to this demo for GetUtl http://demo.appeon.com/ear/geturl.zip but the link no longer works.
Regards,
Marcin
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.