简体   繁体   中英

Worklight integration to IBM Forms

Is it possible to integrate Worklight hybrid apps to IBM Forms ?

Or is it at least possible to invoke a remote web page url during (not startup) app usage and return to the app on completion using some page events.

Btw, I'm aware of the Forms -> Portal -> Worklight integration. But that too seems to be when the entire app is just a container for the Portal web application.

Regards.

Not sure exactly what is supposed to happen after you "invoke the remote web page", so w/out knowing this I can think of right now two approaches:

  1. Use Cordova's InAppBrowser to open an external URL w/out exiting the application
  2. See this training module: Integrating server-generated pages in hybrid applications ( sample app )

There are a number of different ways to include/launch server side content in a Worklight app. The challenge is always communication between the Worklight app and the server side app.

Putting the server side content in an IFrame allows message passing between the server based app and the worklight app, but IFrames work very badly on mobile platforms. You end up with all sorts of scrolling, layout and scaling headaches.

If direct communication isn't required, then there are a number of options that are fairly easy to implement. I have a blog post looking at different methods of including server side content in a Worklight app here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM