1. Devesh Bhatia
  2. PowerBuilder
  3. Monday, 16 April 2018 09:19 AM UTC

Hi ,

Can I use external .js files in pb ?

 

Regards

 

Devesh

 

 

Marco Meoni Accepted Answer Pending Moderation
  1. Monday, 16 April 2018 10:31 AM UTC
  2. PowerBuilder
  3. # 1

Hi Devesh,

  • for Desktop or PowerServerWeb applications, you can leverage the MS Web Browser control (create a window and insert a Control -> OLE -> Insert Control -> MS Web Browser). Then you can display your Html/JS file with ole_1.object.navigate(ls_filename);
  • for PowerServerMobile applications you can use the powerful eon_mobile_webviewex control from appeon_workarounds.pbl. And you can even run JS and get the result of the JS into your PB code.

Best,

Marco

Comment
  1. Devesh Bhatia
  2. Monday, 16 April 2018 13:50 PM UTC
Thanks Marco,



So I feel I can use all Jquery widgets in powerbuilder ,right ?



Regards



 



Devesh



 



 



 

  1. Helpful
  1. Yuri Denshchik
  2. Tuesday, 17 April 2018 18:11 PM UTC
You definitely can with MS Web Browser!

  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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.