on 08-20-2008 6:37 AM
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
Hi,
You have to use file download UI Element.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.