How to launch an existing html page from bonitasoft

I have an application in which a link on a jsp page will open a page. I am looking for options to launch this page from bonitasoft. Can anyone please help me out. Thank you.

Not sure what you mean but have your link as follows:

Visit our HTML tutorial

see here http://www.w3schools.com/html/html_links.asp

using javascript on a button, in the onclick event use

window.open(“http://www.w3schools.com”);

see here http://www.w3schools.com/jsref/met_win_open.asp

regards
Sean

PS: if this answer answers your question, please mark as Resolved

Hello Sean,

Thank you for your reply. I think this can work but I would like to reframe my question. I am looking for some solution that can help me launch a webpage from bonita.

Basically I need to re write an application in Bonita and launching this page from Bonita is a first step to it. Hopefully this can help you out better to understand my problem. Thank you.

Automatically? Or from a human action like clicking a button?

regards

Human action of clicking a link, which will open the webpage that I am trying to launch.

here is the code for a button…

and here is one for a link

google

Add to a custom widget and then add that to the page…all done.

regards

Hey Sean,

Thank you. So this works well, similarly, how do I open google inside the bonita portal.

I am looking for some solution that does not redirects to a new webpage but opens inside bonita.

have a look at the link

http://www.w3schools.com/jsref/met_win_open.asp

which I gave you before, specifically the name parameter. This will tell you how to do this page, location, new page etc.

Note: Web developers can stop you from doing what your asking (google in your own window or iframe for example) so be careful it may not work. Google doesn’t work by the way… :slight_smile:

regards

Thank you Sean, yes, I have tried this already, have a look at this script:

This script opens an application that I am working on. But again, It redirects me to the application and does not open in bonita portal itself. You see what I am talking about?

There is no script…

surround it with <code> and </code> removing the _ then I will be able to see it.

What I think you need here is an

construct which is out of my area. Your javascript should change the iframe so it then shows the page you want.

regards
regards

sorry about that,

So this script is opening the page but no inside bonita. Rather, I would put it as I am looking for some option so that I can deploy this page in bonita. Thank you.