on 12-26-2007 4:51 AM
Hi.
I need to access the file content which is placed in the local system.
The format of the url is:
file://<Server Name>/<FolderName>/FileName
example: file://pwdf1234/sample/abc,jpg
Is there any specific criteria if the url starts with file:// or
Should I configure in Visual administrator if the url starts with file://
Could you please let me know.
Regards
Bala
Hi,
1. Login to visual Admin.
2. Goto HTTP Provider service
3. Set HTTP Alias for the local path of your file system
eg. local path: C:\ABC\XYZ
http: /xyz
Now you can set the url to http://<servername>:<port>/xyz
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are you using link to URL.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj.
Thanks for your reply.
No, Im not using Link To URL
It (the url which starts with file://) is a hyperlink.
If you click from webdynpro UI it should navigate to the actual content.
If it is a http url(for ex: http://www.google.com), it works but if it is a url which starts with file://
does'nt seems to work.
Regards
Bala
Edited by: Balachandar P on Dec 26, 2007 5:58 AM
Hi Balachandar,
I don't think that LinkToUrl will accept the url in the form of file://..... , it will accept it in the form of http://..
Regards,
Murtuza
Hi,
Use link to URL and map the reference with an attribute of type string
Ex:
A context attribute created with fileURL
set the value
wdContext.currentContextElement().setFileUrl("file://10.53.142.110/Shared/books.txt");
map this attribute to Linkto url
and onclick of this its opening for me. Hope itshould work at your end too.
Regards
Ayyapparaj
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.