1. Ludwin Feiten
  2. PowerServer Mobile (Obsolete)
  3. Friday, 16 November 2018 10:33 AM UTC

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 @Appeon Accepted Answer Pending Moderation
  1. Friday, 16 November 2018 14:58 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

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.
  • Page :
  • 1


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