Page 1 of 1
Embed Third Party Web Application In VLF-ONE
Posted: Tue Sep 19, 2017 5:56 pm
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 ?
Re: Embed Third Party Web Application In VLF-ONE
Posted: Wed Sep 20, 2017 8:33 am
by MarkD
The shipped VLF-ONE demonstration has examples of embedded content in two places:

- Capture1.PNG (309.17 KiB) Viewed 5659 times
and

- Capture2.PNG (33 KiB) Viewed 5659 times
Re: Embed Third Party Web Application In VLF-ONE
Posted: Wed Sep 20, 2017 2:58 pm
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.
Re: Embed Third Party Web Application In VLF-ONE
Posted: Wed Sep 20, 2017 3:55 pm
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.