1. Sivaprakash BKR
  2. Beta Testing
  3. Monday, 7 January 2019 07:47 AM UTC

Hello,

Will the mobile apps, developed with Universal edition of PB, can enjoy the features of C# Web API calls ?  Can CRUD operations be performed from Mobile Apps developed using PB 2018 ?  If yes, will they need PowerServer or not ?

Happiness Always
BKR Sivaprakash

 

Sivaprakash BKR Accepted Answer Pending Moderation
  1. Tuesday, 8 January 2019 04:51 AM UTC
  2. Beta Testing
  3. # 1

Thanks Marco and Chris Pollach,

My client's requirement is :

1.  Database in the local server
2.  Mobile application to scan barcode and prepare an Invoice
3.  Should update the server database connecting via WiFi.  C# server side code could be deployed in local server.
4.  Print the Invoice
5.  No WEB 

My initial thought was to create a Mobile apps to capture the necessary data and update the server database via HTTPClient object, transferring the data in JSON format.  No PowerServer in the local server.

Will a Mobile application, developed using PB, work out, in this scenario ?  Any available / possible solution ?

Happiness Always
BKR Sivaprakash

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 7 January 2019 18:45 PM UTC
  2. Beta Testing
  3. # 2

Hi BKR;

  Marco is correct in that any Mobile or Web based PB app's will require PowerServer in order be developed & run. The new release of PS2019 in Q1 of 2019 though will not address your question as the RESTful and related JSON pieces will be for WEB Apps only.

FYI ... some PS2019 feature REST highlights:

  • HTTPClient object: supported by both PowerServer Web and PowerServer Mobile
  • JSONGenerator object: supported by PowerServer Web only
  • JSONParser object: supported by PowerServer Web only
  • RESTClient object: supported by PowerServer Web only

   So the answer to your question is maybe in PS 2019 Mobile Apps as long as you can perform the necessary processing only via the HTTPClient  object class. You would then have to use the PowerServer JSON objects and not the PB JSON objects to parse out the JSON data stream via PowerScript (supplied in the PS "workarounds.pbl" library). Thus a little more extra coding.

Regards ... Chris

Comment
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Monday, 7 January 2019 15:45 PM UTC
  2. Beta Testing
  3. # 3

Hi Sivaprakash,

mobile apps are based on the PowerServer framework, you cannot develop them without it.

Of course you can make the mobile apps capable of consuming C# Web APIs via the new PB HTTPclient and RESTclient objects (which will be available in upcoming PowerServer 2019).

Best,

Marco

 

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.