1. Marcin Jurkowski
  2. PowerServer Mobile
  3. Monday, 09 September 2019

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
Zhao Kai Accepted Answer Pending Moderation
0
Votes
Undo

Hi Marcin,

Please refer to attached PB case.

Regards,
ZhaoKai

Attachments (1)
Comment
There are no comments made yet.
  1. Tuesday, 10 September 2019
  2. PowerServer Mobile
  3. # Permalink


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