0

Below is my sample code in SharePoint Data view where @Documentlocation is my //server/folder/document.pdf location. When I display this via webpart, it shows the link also. Is there way I can hide server and folder location details?

href=File:@Documentlocation><xsl:value-of select=@documentName
YakovL
  • 7,557
  • 12
  • 62
  • 102
WOWAJ
  • 1
  • 3

1 Answers1

1

What you're looking for is using the .htaccess file on the server to create a "fake" file path to an actual subdirectory.

Take a look at this page here: https://css-tricks.com/forums/topic/htaccess-fake-directory-to-actual-subdirectory/

Akjm
  • 66
  • 3