Embed Third Party Web Application In VLF-ONE

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
raju
Posts: 2
Joined: Tue Sep 19, 2017 5:43 pm

Embed Third Party Web Application In VLF-ONE

Post by raju »

Hi,

We have a business case where a web application (developed in Java) needs to be embedded in VLF-ONE. What are some of the ways this can be achieved ?
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: Embed Third Party Web Application In VLF-ONE

Post by MarkD »

The shipped VLF-ONE demonstration has examples of embedded content in two places:
Capture1.PNG
Capture1.PNG (309.17 KiB) Viewed 5658 times
and
Capture2.PNG
Capture2.PNG (33 KiB) Viewed 5658 times
raju
Posts: 2
Joined: Tue Sep 19, 2017 5:43 pm

Re: Embed Third Party Web Application In VLF-ONE

Post by raju »

Hi Mark,

Thanks for the reply. Is this feature to embed only static web pages?. I am looking to embed a Web portal developed in Java (running in the same domain), by bypassing the login. In VLF13 I had achieved it by setting a cookie when user logs into the application and then embedded the portal URL in a BO. Portal reads the cookie and finds the user is authenticated and displays the content. I delete the cookie while logging out.
Appreciate your views on this.
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: Embed Third Party Web Application In VLF-ONE

Post by MarkD »

No, it is not intended to only handle static pages - that's just how the examples are.

However, since you want to alter some thing in JavaScript you might have a look at VL-Web's Widget feature.
Widget's are VL-Web's way of integrating external things into the repository in a structured way.

See http://docs.lansa.com/14/en/lansa017/in ... 1_0345.htm

They are equally usable in VLF-ONE or pure VL-Web applications.

You might want to create 2 widgets - a visual one for the interface to Java application - and a non-visual one for managing cookies.

It might be that someone on the forum can give you a cookie manipulation Widget.

Assuming you had a Widget for altering cookies you could use it in your VLF-ONE framework's IIP avCloseMAINWindow method to delete the data.
Post Reply