1. Marcos Bolonha
  2. PowerServer Mobile
  3. Wednesday, 11 September 2019

Hi,

We are using PB2019 for developing a new mobile app that consume Web APIs developed in C#. These Web API returns standard JSON strings that we are trying import to DW with ImportJSON(). It doesn't work on mobile app? Any advice how to import JSON data to DW in this case? Will ImportJSON available on mobile app in the future versions?

Regards,

Accepted Answer
Chris Pollach Accepted Answer Pending Moderation
0
Votes
Undo

Hi Marcos;

   For a Mobile based PB application, you would use the "eon_cjsonnode" object class located in the "Appeon_Workarounds.pbl" library, as follows:

 

HTH

Regards ... Chris

Comment
There are no comments made yet.
  1. Thursday, 12 September 2019
  2. PowerServer Mobile
  3. # Permalink
Marcos Bolonha Accepted Answer Pending Moderation
0
Votes
Undo

Hi Chris,

Perfect. It is not like a RestClient or ImportJson, but works fine for me.

Thanks.

Marcos

Comment
Hi Marcos;

Yes, it's not like PB because the PowerServer Mobile product had JSON support before PowerBuilder. I am sure that Appeon Engineering will "level the paying field" on this feature set. The priority for the moment was PowerServer Web Apps as they had no JSON support until the PS2019 release.

Thanks for understanding.

Regards ... Chris
  1. Chris Pollach
  2. Thursday, 12 September 2019
There are no comments made yet.
  1. Thursday, 12 September 2019
  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.