下面是我在SharePoint数据视图中的示例代码,其中@Documentlocation是我的//server/folder/document.pdf位置。当我通过webpart显示它时,它也显示了链接。有没有办法隐藏服务器和文件夹位置的详细信息?
href=File:@Documentlocation><xsl:value-of select=@documentName发布于 2016-06-16 08:12:26
您要寻找的是使用服务器上的.htaccess文件创建一个指向真实子目录的“伪”文件路径。
看看这里的页面:https://css-tricks.com/forums/topic/htaccess-fake-directory-to-actual-subdirectory/
https://stackoverflow.com/questions/37847309
复制相似问题