function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JManchesterJManchester 

Opening Local Files

I have a field on my page layout that is utilized as a file name.

Another field that is a formula to concatenate "file://N:/Folder1/"&{!File_Name__c}&".pdf"
I tested this with the formula Hyperlink and works perfect from the details page.

Within my Visualforce page I have a table for Contacts.

 

<apex:outputLink value="{!c.URL}">View File</apex:outputLink>
When I test this it does not open a page or do anything. 

 

Everything has been copied into a sandbox

When I test the same code above the link works.

Is there any differences between a Sandbox server making a call to a local file on my computer as apposed to from Production?

 

ABHIKSARKARABHIKSARKAR

Can you please share the code used in the VF page ?