創建文件夾,我需要在Sharepoint 2007的根目錄下創建文件夾在Sharepoint
1
A
回答
0
使用SharePoint Designer中創建的文件夾。
2
SPContext.Current.Site.RootWeb.Folders.Add("MyFolder");
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfoldercollection%28office.12%29.aspx
相關問題
- 1. 在Sharepoint
- 2. 在Sharepoint
- 3. 在Sharepoint
- 4. 在SharePoint
- 5. 在SharePoint
- 6. 在SharePoint 2010
- 7. 在SharePoint Designer
- 8. 問題在SharePoint
- 9. 不能在SharePoint
- 10. 在sharepoint 365 Angularjs
- 11. 在SharePoint 2013
- 12. R在SharePoint中
- 13. 如何在SharePoint
- 14. 「手動」在SharePoint
- 15. 獲取在SharePoint
- 16. 無法在SharePoint
- 17. 在sharepoint 2010中顯示Sharepoint組徽標
- 18. Sharepoint列表視圖在sharepoint 2013 custmization
- 19. SharePoint Online與SharePoint 2010
- 20. 使用JavaScript在SharePoint
- 21. 預覽在Sharepoint 2013
- 22. 在非的SharePoint Environemnt
- 23. 自動化在SharePoint
- 24. 變化在SharePoint 2013
- 25. 自定義在SharePoint
- 26. 在Sharepoint流視頻
- 27. sharepoint 2013在線mime
- 28. 返回在SharePoint庫
- 29. ASP.net版本在Sharepoint
- 30. 在SharePoint文檔庫
我沒有權限在SharePoint ASPX頁上運行代碼。 – Rick 2010-07-30 19:04:14
這是正確的。代碼需要位於DLL中,並且不能在ASPX頁面上內聯。您還可以使用SharePoint Designer創建文件夾。如果DLL和SharePoint Designer不是選項,我會建議編輯您的問題,更詳細地說明您要完成什麼以及哪些選項不可用。 – 2010-07-30 19:39:25
那不正確。你可以在aspx頁面運行代碼。您需要使用該頁面的路徑修改web.config文件。 PageParserPaths - > –
2010-07-31 14:14:26