1. Jari Lähde
  2. PowerBuilder
  3. Tuesday, 28 December 2021 06:01 AM UTC

I have a problem with new Chromium based WebBrowser to show XML-files in spite I have used constructor and  WebBrowserSet("allow-file-access-from-files","true") seems that it only reads first row. Files like *.pdf or *.jpg are shown correctly.

XML-file starts like this. This worked with previous IE-based Browser but now the old IE browser does not open links correctly.

<?xml version="1.0" encoding="ISO-8859-15"?><?xml-stylesheet type="text/xsl" href="/Finvoice.xsl"?><Finvoice xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="3.0" xsi:noNamespaceSchemaLocation="Finvoice3.0.xsd">
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 28 December 2021 07:49 AM UTC
  2. PowerBuilder
  3. # 1

Hi Jari,

What's the PowerBuilder version you are using? Does the XML file work well on Chrome?

Please note that:
1. You need to call WebBrowserSet("allow-file-access-from-files","true") in the open event of the application object.
2. If you run the application in PB IDE, you need to restart IDE to make the above setting take effect.

If there is still the issue, please open a support ticket in the support portal and please provide a simple PB case, XML, and related files for more study, Many thanks in advance.
https://www.appeon.com/standardsupport/

Regards,
Kai

Comment
  1. Jari Lähde
  2. Thursday, 30 December 2021 12:52 PM UTC
Thanks partly solved. Means that 1. helped to open XML but still problems opening links. New browser opened but without any content.
  1. Helpful
  1. Kai Zhao @Appeon
  2. Friday, 31 December 2021 02:47 AM UTC
Does the XML file work well on Chrome? please open a support ticket in the support portal and please provide a simple PB case, XML, and related files for more study, Many thanks in advance.

https://www.appeon.com/standardsupport/

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.