开发者

Adding an invisible Document Library to a SharePoint site

开发者 https://www.devze.com 2022-12-21 07:33 出处:网络
I\'m added a document library to new开发者_如何学C SharePoint sites though the onet.xml file, <File Url=\"FooDocsPage.aspx\" Name=\"FooDocuments.aspx\"Type=\"Ghostable\">

I'm added a document library to new开发者_如何学C SharePoint sites though the onet.xml file,

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

I need to remove this web part from the page so users don't see if, but I still need the library to exist, because I'm adding and retrieving documents to the library though code.

Is there an easy way to make the made the library invisible? Or move it somewhere not accessible to the users?


You can set the list invisible by setting the list's Hidden property via code to true.

0

精彩评论

暂无评论...
验证码 换一张
取 消