1. Oscar Rivera
  2. PowerBuilder
  3. Tuesday, 20 February 2018 22:54 PM UTC

Good afternoon

I'm working on a PowerBuilder app migration to WEB using PowerServer. My problem is with the PBDOM library, in the application this library and their functions, types, are used to create xml files. In the desktop version everything is ok but when I do the deploy on PowerServer it says on the Unsopported Feature Analysis Report that the types PBDOM_builder, PBDOM_doc, etc are not supported crying.

Can anyone help me?

Thank you in advance.

Accepted Answer
Marco Meoni Accepted Answer Pending Moderation
  1. Wednesday, 21 February 2018 07:38 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Oscar,

what is unsupported in Appeon is the fact that PBDOM comes as a PBD/PBX library instead of PB source code.

That is the only reason why you cannot migrate the code to Appeon.

Luckily, a few years back Appeon re-wrote a PBDOM implementation called APPEONDOM.pbl (or similar).

It contains the appeondom_{attribute, builder, doctype, document, element, exception, object, text} objects.

They cover the majority of corresponding functions of PBDOM, so you can:

  1. get rid of PBDOM.PBX in your project
  2. include APPEONDOM.PBL // this is regular PB code and can deploy to Appeon Web/Mobile
  3. replace variable occurrences of PBDOM_* with APPEONDOM_*

In case some of the PBDOM methods that you have in your project are missing, you can add them yourself to APPEONDOM, after all the entire DOM is simply some sort of pattern matching.

I used APPEONDOM some 6-7 years ago and should look up in some old backups. Please ask Appeon support to send you a copy of APPEONDOM.pbl.

If you don't succeed come back to me and I will do the research on my side.

Cheers,

Marco

Comment
  1. Marco Meoni
  2. Wednesday, 21 February 2018 21:00 PM UTC
Hi Oscar,



I know that appeondom.pbl is not online, I received it directly from Appeon many years ago, that's why I suggested to ask them directly.



At any rate, please allow me two days to pass by a place where I keep an old hard drive with the pbl.



Please send me a reminder at marcomeonigmailcom (is it only me or adding an attachment with this community tool is not possible?)



Cheers,



Marco

  1. Helpful
  1. Oscar Rivera
  2. Wednesday, 21 February 2018 21:30 PM UTC
Oh right, i read your answer too fast. Ok i will ask them directly and send you a reminder if I don't get answer.



Thanks a lot.

  1. Helpful
  1. Oscar Rivera
  2. Friday, 23 February 2018 19:35 PM UTC
Good afternoon Marco



i send an email to appeon and they told me that they will check if the file if available somewhere. Have you found the file by chance?



Thanks in advance, regards!

  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 21 February 2018 02:33 AM UTC
  2. PowerBuilder
  3. # 1

If you don't want to incorporate Chris's framework, you can get the Run And Wait code from here:

http://www.topwizprogramming.com/freecode_runandwait.html

Comment
There are no comments made yet.
Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 20 February 2018 23:18 PM UTC
  2. PowerBuilder
  3. # 2

Hi Oscar,

 

The PowerBuilder Document Object Model (PBDOM) is unsupported by Appeon PowerServer. It is only available for client-server applications.

 

You could use Chris Pollach's Framework. As per his own instructions you could:

  1. Create a Web Service and call it from a PS Web or Mobile App (PBDOM would be native for that matter).
  2. Web Service calls a PB App.exe using his framework's "Run & Wait" feature.
  3. PB App.exe returns deciphered PBDOM data to Web Service.
  4. WS returns data to Caller.

 

I hope this helps.

 

 

Regards,

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.