1. Marcos Bolonha
  2. PowerServer Mobile (Obsolete)
  3. Wednesday, 11 September 2019 21:39 PM UTC

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 @Appeon Accepted Answer Pending Moderation
  1. Thursday, 12 September 2019 14:27 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # Permalink

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.
Marcos Bolonha Accepted Answer Pending Moderation
  1. Thursday, 12 September 2019 18:33 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

Hi Chris,

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

Thanks.

Marcos

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 12 September 2019 18:40 PM UTC
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. 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.