PS > $spWeb = Get-SPWeb http://sp01/site
PS > $spList = $spWeb.GetList ("http://sp01/site/Lists/MyList")
PS > $spList.EnableFolderCreation = $true
PS > $spList.Update()
Más información:
http://blog.falchionconsulting.com/index.php/2009/07/setting-list-properties-using-stsadm/
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.enablefoldercreation.aspx
http://bytes.com/topic/net/answers/867481-trying-create-folder-programatically-doc-library-sharepoint-site
No hay comentarios:
Publicar un comentario