cancel
Showing results for 
Search instead for 
Did you mean: 

Get a window with external website when loading iview

kai_unewisse3
Active Contributor
0 Kudos

Hi,

i wrote a iView which calls a external website with a couple of computed parameters .

The iview has the following JS code :

function openSite(){
	var oChild = window.open("https://emea.website.com/login.jsp?un=usernameABC&pw=B0C328098DA439DEC12578B000407BED",  "website","width=768,height=1024");
	return false;
}

I call the function in the body using onload and as a anchor with onclick.

So far so good outside the portal. But when i call the iview in the portal nothing happens.

When i click on the link, it brings me to the correct website.

My Question : What do I have to do to get the window open within the portal?

Regards,

Kai

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Did you try with EPCM.doNavigate?

Regards,

Atul

kai_unewisse3
Active Contributor
0 Kudos

Hi,

i found a solution by myself:

My body tag was not the only one within the HTML, hence no onload method was called.

I added a javascript tag and called the javascript function there.

Thanks for trying to help.

Kai