1. Phyllip Hall
  2. PowerServer 2020 or older (Obsolete)
  3. Thursday, 4 July 2019 17:37 PM UTC
We're attempting to migrate a PowerBuilder app to PowerServer. The app runs great in PB 2019.
 
We’re trying to launch a user interactive process in a response window that must be available to the user AFTER the window is opened AND visible to the user.
 
In the response window’s “open" event (after code that initializes the window) we make the following call which is flagged by the PowerServer Analyzer as unsupported:
 
this.post event ue_response_run()
 
 
Using “trigger” rather than “post” (as in the following) doesn’t work because the code in “ue_respone_run” executes before the response window is visible to the user:
 
this.trigger event ue_response_run()
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Friday, 5 July 2019 00:21 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Hi Phyllip,

The post call is supported and it is work well on our end. Please open a support ticket in the support portal and please provide a test case to reproduce the issue to us for more study, Many thanks in advance.

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

Regards,
ZhaoKai

Comment
There are no comments made yet.
Phyllip Hall Accepted Answer Pending Moderation
  1. Friday, 5 July 2019 14:38 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

Hi Kai, thanks for the response. When I created a test case (attached) I couldn't recreate the issue (the analyzer does not flag the "post" event).

The application is rather large so I'll do some more testing in an attempt to better isolate the issue before creating a support ticket.

Phyllip

 

 

Attachments (1)
Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 5 July 2019 14:54 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 3

Hi Phyllip;

  As Zhao Kai mentioned, that form of the Post Event is supported by PowerServer. If not many applications based on the PFC would not work for example.

  I am not sure why your App is getting that syntax flagged. The other alternative (workaround) might be ...

Yield()

this.trigger event ue_response_run()

Regards ... Chris

 

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Friday, 5 July 2019 19:54 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 4

Maybe there is something inside your ue_response_run() event which is not supported?

regards

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.