cancel
Showing results for 
Search instead for 
Did you mean: 

Link to shared folder.

Former Member
0 Kudos

Hi all,

I have a table.One column is filled by file paths (path to some documents)

for ex : //aljs003/mse/mse3/imp2001.xls.

This is shared folder on a different system.

My requir is I want to give a hyperlink to this column.

Once i click on the path it should take me to that document.

Tried with link to url and mapped the path to it.It is giving invalid url.

Can anybody suggest how to solve it.Any other way of doing it.

Thanks and regards,

Rajesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You have to use file download UI Element.

Former Member
0 Kudos

hi sudhir,

Thanks for the reply.I have two problems in using file download in my scenario.

1)If i use file downlaod it is directly opening the document .it is not taking to the path.

2)As i said there are lot of records some paths are urls like

http://livelink/livelink/livelink.exe/Jan_IMP_2001.xls?func=doc.Fetch&nodeId=7619857&docTitle=JanIMP2001&viewType=1.

How to address these two issues.

Thanks and Regards,

rajesh

Former Member
0 Kudos

Hi,

If you want to open the folder then you have to use link to url only.If you type the url you have mentioned in the browser is that folder opened?If it opens then it should also work with linkToUrl.

Former Member
0 Kudos

Dear sudhir,

It worked fine.Actual there are mix of records

Some paths are like

"http://livelink/livelink/livelink.exe/Jan_IMP_2001.xls?func=doc.Fetch&nodeId=7619857&docTitle=JanIMP2001&viewType=1"

some are like

//aljs003//public//mse//mse3//imp2001.xls

The first one works with link to url.

The second one works with file download.

Fo my scenario is a column in a table.

Thanks and Regards,

Rajesh

Former Member
0 Kudos

Hi,

Create a calculated attribute, and check the starting of the string(first 3 char) based on that make sure which protocol you need to add to this before assinging to the link to URL .

Ex:

if string starts with html

use as its

else if it starts with //

add the file://to the url.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Ayyaparaj,

I tried what you said.

I gave the path as file://aljs003/public/mse/mse3/imp2001.xls

It is giving invalid url error.Any more suggestions.

Thanks and Regards,

Rajesh

Former Member
0 Kudos

Hi,

Syntax of file protol is

file:///sDrives[|sFile]

//Specifying a drive and a file name.

file:///C:/My Documents/ALetter.html

//Specifying only a drive and a path to browse the directory.

file:///C|/My Documents/

//Specifying a drive and a directory using the command line representation of the directory location.

C:\My Documents\

//Specifying only the directory on the local primary drive.

\My Documents\

http://msdn.microsoft.com/en-us/library/aa767731(VS.85).aspx

Regards

Ayyapparaj