1. Ludwin Feiten
  2. PowerServer Mobile
  3. Friday, 16 November 2018

Hi,

is there a function in a PowerBuilder Mobil App to read the datetime when the app was deployed to the server?

Kind regards,

Ludwin

 

Chris Pollach Accepted Answer Pending Moderation
0
Votes
Undo

Hi Ludwin;

  No, there is no PowerServer method call provided for that. However, that would be an excellent enhancement suggestion IMHO.   wink

  As a workaround though, here are my suggestions ....

One:

Instance Variable (compiled - not deployed)

Constant  Date   id_compiled    = Today ( )       // Date last Compiled
Constant  Time   it_compiled    = Now ( )         // Time last Compiled

Two:

  1. Create a Web Service for the same IIS instance
  2. Read the App's folder in PS's IIS area and look for App files date & timestamp

 

Three:

  1. Create an App INI file
  2. Add a Deployed_Date = "yyyy-mm-dd hh:mm:ss" entry
  3. Read the INI at run time in the mobile App.

HTH

Regards ... Chris

Comment
There are no comments made yet.
  1. Friday, 16 November 2018
  2. PowerServer Mobile
  3. # 1
  • Page :
  • 1


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