cancel
Showing results for 
Search instead for 
Did you mean: 

URL with different protocols

Former Member
0 Kudos

Hello,

<p>

I need to create a link to launch a netmeeting conference,so i'm using a LinkToURL ui element.

The form of the URL is :<br>

<i>callto:<user></i> <br>

but I get a

com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=callto:user

<br>

I also tried calto:// but with same result.

<p>

Is like the "mailto" protocol, but I can get it work in WD. It works perfect on standard html, for instance <i>&lt;a href=callto:user"&gt;user&lt;/a&gt;.</i>

<br>

Any idea about how to fix it or a workaround?

<p>

Thank you in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos
Former Member
0 Kudos

Hi people!

I'm reopening this post.

I have a problem with file:// protocol.

In html standard I could open external applications like Excel by writing the following code:

<html>
<body>
<a href="file: ///C:Documents and SettingsAll UsersStart MenuProgramsMicrosoft OfficeMicrosoft Office Excel 2003.lnk">Excel</a>
</body>
</html>

I tried to do something like that using LinkToURL control, but I got the same error:

InvalidUrlRuntimeException

If I change the backslashes to slashes no errors occurs, but the link doesn't work.

Any ideas?

Thanks,

Former Member
0 Kudos

There is an automatic check of URLs in the Web Dynpro runtime that forbids certain protocols by default. You can configure which protocols are allowed using the NW administration tool.

See <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_wd/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383634383432%7d">SAP Note 864842</a>

Armin

Former Member
0 Kudos

Hi all,

Finally I used a IFrame that contains a servlet with the code I need.

Thank you

Former Member
0 Kudos

Joan,

Workaround could be, use LinkToAction instead of LinkToURL and create an external window with the callto: url. If it works, then the user might need to close the opened browser once the net meeting session starts.

Hope that works.

Cheers,

Rajit