+ Start a Discussion
gsickalgsickal 

Can URL fields support file:// URLs?

I want to put a file url (file://host/path/filename.pdf) that points to a file on my local network in a field of type url so when a user clicks on it in a custom object detail view, it links to the document and opens it in the same way as a normal hyperlink using the http:// protocol.  When I do this though, the text "http://" gets appended to the field and it ends up looking like (http://file://host/share/filename.pdf) which doesn't work.  How can I make this work?
 

Message Edited by gsickal on 08-27-2007 07:34 AM

gsickalgsickal
any ideas on how to support file urls in a url field?  when i click on them i want them to open up a file on my local network instead of a general http url... thanks
TJuradoTJurado
I am also very interested in knowing the solution to this.
sfdcfoxsfdcfox

You can't do it in a URL field, but you can do this in a text area field. Try this:

c:\Documents%20and%20Settings\

In a Text Area or Text Area (Long) field, this text will become an active hyperlink.

The \\computer%20name format is also supported.

~ sfdcfox ~

Pat McQueenPat McQueen

Check out the Case Detachifier as a good sample.  It is on the appexchange. 

http://www.salesforce.com/appexchange/detail_overview.jsp?NavCode__c=&id=a0330000002f60QAAQ

they use very small html files that are essentially re-directs.

pat

ChrisMcLChrisMcL
Internet Explorer will not allow you to redirect to files on your harddrive due to security zone settings of the browser. However, it will allow urls to the local network.