cancel
Showing results for 
Search instead for 
Did you mean: 

Active a URL in web dynpro iview with out using LinkToURL button?

Former Member
0 Kudos

Hello everybody;

Is it possible to directly activate a URL in iview without using any buttons (e.g. LinkToURL)?

I've develloped a Web Dynpro project. I have placed my code in the INIT function in iview, and I want the URL to activate automatically when INIT is opened. At the moment I have used the LinkToURL function to activate the URL, but I want to avoid this step.

In EP iview it is possible to do this using Javascript, but Javascript is not allowed in Web Dynpro.

Any ideas and suggestions are very welcome.

Reza

Accepted Solutions (1)

Accepted Solutions (1)

roberto_tagliento
Active Contributor
0 Kudos

Really i did not understood well what you wish.

You wanna open at startUp e new window with an URL???

Former Member
0 Kudos

Hello Roberto, thanks for replying so fast.

Yes, I want the URL to open in a new window. Do you have a suggestion how I may do this?

Reza

roberto_tagliento
Active Contributor
0 Kudos

Look here

https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f1cfe990-0201-0010-22ac-dbe4cbdef504

Use the code for open "www.google.com" into yuor wdInit or wdModify

[

if (firsttime) {

// THE CODE

}

]

method.

Former Member
0 Kudos

Thanks Roberto.

I am going to try that.

Reza

Former Member
0 Kudos

Now it's work Thanks .

roberto_tagliento
Active Contributor
0 Kudos

Answers (0)