【问题标题】:Adding an invisible Document Library to a SharePoint site将不可见的文档库添加到 SharePoint 网站
【发布时间】:2010-02-22 17:23:56
【问题描述】:

我通过 onet.xml 文件向新的 SharePoint 网站添加了一个文档库,

<File Url="FooDocsPage.aspx" Name="FooDocuments.aspx"  Type="Ghostable">
    <View List="Foo Documents" BaseViewID="10" WebPartZoneID="Left" WebPartOrder="3" ReadOnly="TRUE"/>
...

我需要从页面中删除此 Web 部件,以便用户看不到,但我仍然需要库存在,因为我正在通过代码向库中添加和检索文档。

有没有一种简单的方法可以使库不可见?或者将其移动到用户无法访问的地方?

【问题讨论】:

    标签: sharepoint


    【解决方案1】:

    您可以通过将列表的Hidden property 通过代码设置为true 来设置列表不可见。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-18
      • 1970-01-01
      • 1970-01-01
      • 2022-06-23
      • 2020-05-04
      • 2023-04-04
      相关资源
      最近更新 更多