1. Marcin Jurkowski
  2. PowerServer Mobile (Obsolete)
  3. 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

Accepted Answer
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 10 September 2019 00:31 AM UTC
  2. PowerServer Mobile (Obsolete)
  3. # Permalink

Hi Marcin,

Please refer to attached PB case.

Regards,
ZhaoKai

Attachments (1)
Comment
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.