【问题标题】:no style library in SharePoint site collection, can't reference XSL fileSharePoint 网站集中没有样式库,无法引用 XSL 文件
【发布时间】:2013-11-07 18:18:18
【问题描述】:

我正在尝试在此处学习本教程 https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-Integrate-a-Slider-with-the-Content-Query-Web-Part-Part-3-Integration-with-the-CQWP.aspx

在我的共享点站点上放置一个滑动轮播,但是我的共享点站点类似于

https://www.sharepointsite.com/OPS/CCC/Sandbox

现在,根站点有一个样式库,但没有一个子站点有。因此,当我为 Web 部件引用 XSL 文件时,会出现以下错误

The web part references an untrusted XSL file. Only XSL files contained in this site's Style Library may be referenced. 

我引用XSL文件的方式是这样的

<property name="ItemXslLink" type="string">sites/Style Library/XSL Style Sheets/Slider/ItemStyle.xsl</property>

有没有更好的方法来引用它?或者我可以在 Sandbox 子站点中创建样式库吗?

【问题讨论】:

  • 尝试在站点级别启用发布功能。

标签: xslt sharepoint-2010 web-parts


【解决方案1】:

我使用了这条路径,它成功了

/sites/OPS/Style Library/XSL Style Sheets/<filename>.xsl

【讨论】:

    猜你喜欢
    • 2014-08-27
    • 1970-01-01
    • 1970-01-01
    • 2021-02-03
    • 1970-01-01
    • 1970-01-01
    • 2012-01-30
    • 2011-03-16
    • 1970-01-01
    相关资源
    最近更新 更多