1. Zhang JX
  2. PowerServer
  3. Wednesday, 4 May 2022 05:18 AM UTC

Hi All,

I am trying to build admin function to manage sessions(retrieve all, kill etc.), regardless which webapi server deployed to and running.

 

Thank you.

Best Regards,

JX

mike S Accepted Answer Pending Moderation
  1. Wednesday, 4 May 2022 12:28 PM UTC
  2. PowerServer
  3. # 1

No. There is no function that provides the URL that the running application has been deployed to.  You have to either hard code it, or deploy it in a file with the application.   Enter it as a bug/enhancement request so that appeon knows it is important to have this feature.

 

How can I determine the WebAPI Url from my application in my application (appeon.com)

 

Also, I assume you are asking about PS2021.    PS2020 and prior work differently

 

Comment
  1. Zhang JX
  2. Wednesday, 4 May 2022 13:42 PM UTC
Hi Mike,

Thank you, yes, it is PS2021 Cloud deployment, and I am loading the URL + JWT username/pwd fron applicaiton ini for as workaround for now.

JX
  1. Helpful
  1. Logan Liu @Appeon
  2. Thursday, 5 May 2022 07:30 AM UTC
Hi Jianxin, there is already an enhancement requirement about supporting of_getappurl() and of_getwebapiurl() in PowerScript, which has been scheduled to support in the next release.

Regard, Logan
  1. Helpful 2
  1. Armeen Mazda @Appeon
  2. Thursday, 5 May 2022 14:50 PM UTC
Just to clarify what Logan said, the next release means PowerBuilder 2022, which we hope to release 1st week of September.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 4 May 2022 10:13 AM UTC
  2. PowerServer
  3. # 2

Hi JX;

   Here is a good start... http://chrispollach.blogspot.com/2022/04/psconsole.html

The code is free & open source. Feel free to expand the console or take whatever code you want & build your own. HTH

Regards ... Chris

Comment
  1. Zhang JX
  2. Wednesday, 4 May 2022 13:43 PM UTC
Hi Chris,

Thank you and will explore the PS Console more in detail.



JX
  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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.