1. Bhumi Joshi
  2. PowerBuilder
  3. Wednesday, 3 July 2024 17:02 PM UTC

Hi,

Currently our application is using PB 2019 R3. Based on appeon suggestions, we tried upgrading powerbuilder to PB 2022 R3 (Build 3289).

We are opening the 3rd party URL in the web browser control. While accessing this 3rd party URL from PB 2019 R3 it loads fines. However, since upgrade to PB 2022 R3, it is taking too long and loads only after trying to refresh it multiple times. As per powerbuilder documentation, it is using webview2 web browser control with MS Edge and thus we verified the MS Edge version too.

Also, when we are trying to trigger the same URL in a local web browser control (MS Edge), it works fine.

Please note that our application is being run on a citrix workspace.

Has anyone tried using the webview2 web browser control? Has anyone faced this issue earlier?

Please share suggestions/path forward for this issue.

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 3 July 2024 18:13 PM UTC
  2. PowerBuilder
  3. # 1

Hi Bhumi ;

  What happens when you run your PB App on a real MS-Windows 10 / 11 machine - how is the performance there web browser wise?

Regards .. Chris

Comment
There are no comments made yet.
Bhumi Joshi Accepted Answer Pending Moderation
  1. Wednesday, 3 July 2024 19:07 PM UTC
  2. PowerBuilder
  3. # 2

Hi Chris,

Our PB 22 R3 setup is on Microsoft Windows Version 10, where we are facing this issue.

Thanks and Regards,
Bhumi Joshi

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 3 July 2024 19:33 PM UTC
Hi Bhumi ;

Thanks for that update. That eliminates Citrix then (most likely) as the performance hindrance - unfortunately, that just leaves your PB App and / or DBMS as the issue.

If you can replicate this issue on your development PC though, then I would then suggest using the Application Profiler feature to get a handle on where long wait times and / or high CPU issues are occurring that might be causing your pain. HTH.

Regards .. Chris

  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 4 July 2024 16:45 PM UTC
  2. PowerBuilder
  3. # 3

Hi Bhum, We are not aware of any such performance regression issue, and in fact the latest builds of PB 2019 R3 is also using WebView2 now (same as what you have in PB 2022 R3).  Anyway, if you can create a little test case that replicates the issue, please open a support ticket: https://www.appeon.com/standardsupport/newbug

Comment
There are no comments made yet.
Kishor Nagawade Accepted Answer Pending Moderation
  1. Thursday, 11 July 2024 12:47 PM UTC
  2. PowerBuilder
  3. # 4

Hi, As per the link https://docs.appeon.com/pb2022/application_techniques/PowerBuilder_runtime_files.html#d0e23888, it mentions about additional runtime files required for webbrowser support as pbwebbrowser.dll and "pbcef" folder as mandatory in PB2022 for webbrowser control. However, during installation even on selection of WebBrowser Support as shown in screenshot below, we are not getting the folder "pbcef" installed. Can you confirm on the same, if it’s required of not?

Attachments (1)
Comment
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Thursday, 11 July 2024 13:05 PM UTC
  2. PowerBuilder
  3. # 5

Hi.

If you are using PB 2022 R2 or later version PBCEF folder, isn't needed. In fact it's not present in PB 2022 R2 and later Runtimes. In original PB 2022 (R1) you would need to deploy that folder... Pbwebbrowser.dll is still needed.

Andreas.

Comment
There are no comments made yet.
Bhumi Joshi Accepted Answer Pending Moderation
  1. Thursday, 11 July 2024 16:20 PM UTC
  2. PowerBuilder
  3. # 6

Hi Andreas,

We are having trouble loading some URLs/Sites on the new WebView2 browser control (MS Edge). So, is there a method/function/setting in PB2022 R3 to load in the URL in new browser control (MS Edge) with IE compatibility mode?

Thanks and Regards,

Bhumi Joshi

Comment
  1. Kai Zhao @Appeon
  2. Friday, 12 July 2024 00:48 AM UTC
Hi Bhumi, WebView2 doesn't support IE mode, you can find this information in article below. Please try OLE - Microsoft Web Browser.
https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/browser-features
  1. Helpful
There are no comments made yet.
Bhumi Joshi Accepted Answer Pending Moderation
  1. Thursday, 11 July 2024 21:44 PM UTC
  2. PowerBuilder
  3. # 7

Hi,

In addition, also do we have any option to set a profile for the MS Edge WebView2 browser from Powerbuilder 2022 R3?

Thanks and Regards,

Bhumi Joshi

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 12 July 2024 17:14 PM UTC
Please put different question in a separate post
  1. Helpful
There are no comments made yet.
Bhumi Joshi Accepted Answer Pending Moderation
  1. Friday, 12 July 2024 17:48 PM UTC
  2. PowerBuilder
  3. # 8

Hi,

Thanks for the responses.

It seems that the third party URLs which are not being loaded on the new MSEdge WebView2 web browser control (with PB2022 R3 Build 3289) is when a profile is not logged-in/associated.
These URLs were loaded successfully on the older PB2019 R3 windows when the webbrowser control was Chromium based.
These URLs cannot be loaded in IE due to certain JS script errors, hence OLE - Microsoft Web Browser cannot be used.
Is there a way to associate a user profile when loading the URL via the new MSEdge WebView2 web browser control so that the page loads?

This is for an upcoming release and we are trying to find ways to make it work with the upgraded Powerbuilder(PB2022 R3 Build 3289). Kindly suggest.

Thanks and Regards,

Bhumi Joshi

Comment
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.