Expand my Community achievements bar.

Access files on network folders as hyperlink

Avatar

Former Community Member

Hi Experts,

I can use app.LaunchURL for links that use HTTP protocol. But now I wanted to access some docs that are shared on the internal network. i.e with an extension like \\servername\location\foldername\..........\foldername\filename.

Is there  a way to access these files? would something like app.opendoc( ) help? Please suggest something in Javascript.

Regards,
Amith

1 Reply

Avatar

Level 10

Hi Amith,

I think you will have to copy them to a location that can be referenced via a http/https url.  Then using app.launchURL will open the document in whatever application is registered on the client machine to handle that extension type.  We have forms containing links to documents uploaded by the user and stored in Sharepoint.  When the user clicks the link on the PDF form a webservice is called to copy the Sharepoint file to the webserver and returns the url of the file, which we then pass into app.launchURL().

Regards

Bruce