cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a simple url link in WebDynpro

Former Member
0 Kudos

Hello,

I would like to create a simple link in web dynpro.

meaning that a text i will have will be linked to an address in my computer, for example:

"My Documents" will link to c:\douments and settings\my documents\

I tried to use LinkToUrl but it seems that it only supports navigation within the portal PCD which is not suitable for me.

Is this possible? thanks.

Eli.

Accepted Solutions (1)

Accepted Solutions (1)

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi Eli

>"My Documents" will link to c:\douments and settings\my documents\

This is not possible because there is no an access by HTTP from the WebDynpro server to the local folder (or any other folder) by technical and security reasons.

>I tried to use LinkToUrl but it seems that it only supports navigation within the portal PCD which is not suitable for me.

This is not true. With LinkToUrl you use any URLs not even related to Portal.

BR, Siarhei

Former Member
0 Kudos

what is the difference then between linking to www.google.com or an address on the local portal?

you mean there is no possible way to open a new window and set a certain address for it? may it be something on the network or an external web site?

siarhei_pisarenka3
Active Contributor
0 Kudos

I meant that remote address (like www.google.com or URL to Portal) is completely different thing then a folder name "C:\My Documents...". What do you mean by 'address' in your questions, URL (remote address) or folder name?

>you mean there is no possible way to open a new window and set a certain address for it?

No, I did not write this. It's possible of course but with URLs, not local folders.

BR, Siarhei

Former Member
0 Kudos

My exact scenario is that a link that will be clicked by the user will refer him to a network location:


local_server\local_links\link folder\

Is there really no way of doing that? i dont want to wrap the folder in KM then having to maintain the KM repository and all. I just want a simple reference to a folder without having to implement the KM browsing.

christiansche
Active Participant
0 Kudos

Hi,

it's not a hard thing. Use as reference for your LinkToUrl the following: "file://server/folder/file". You have to use the protocol "file" that your browser knows, that you want to open a Network resource and not an http document.

Usually, you have to use file://///server/fol...... for firefox. but neiter file:// nor file:///// works on my machine for firefox. both work for intenet explorer.

Best regards,

Christian Schebesta

Answers (0)