http://www.microsoft.com/resources/TechNet/en-us/Office/media/WindowsPowerShell/WindowsPowerShellCommandBuilder.HTML
sharepoint & project server
Sharepoint me proporciona seguridad y me hace sentir más fuerte. Las 10 cosas que más me gustan de Sharepoint.
Microsoft Project es quizá la herramienta de gestión de proyectos más conocida y utilizada por los líderes de proyectos...
Serie de artìculos que nos ayudan a incorporar diseño gráfico en las implementaciones de SharePoint...
Artículos publicados en la revista especializada en SharePoint: CompartiMOSS.
No dejen de ver este script propuesto por Juan Manuel Herrera para automatizar esta tarea con Power Shell:
Script para permitir a las bibliotecas abrir los archivos PDFS en SharePoint 2010
Gustavo nos explica en su blog como bloquear el acceso a una colección de sitios, utilizando PowerShell:
Set-SPSite -Identity http://servidor -LockState "ReadOnly"
Leer el artículo completo en: http://www.gavd.net/servers/sharepointv4/spsv4_item.aspx?top=4&itm=1418
No dejen de leer este post de Juan Carlos en donde encontraremos varios links para cumplir con este requerimiento con distintas opciones: PowerShell, Tipos de contenido, JavaScript, InfoPath y programáticamente.
Recomendado: http://geeks.ms/blogs/ciin/archive/2012/02/20/sharepoint-2010-ocultar-des-ocultar-campos-de-formulario-de-lista-i.aspx
Una de las posibilidades más interesantes respecto a la administración de Project Server 2010 es que ahora podemos utilizar PowerShell para algunas tareas de configuración. Les dejo el enlace de MSDN con la referencia:
http://technet.microsoft.com/en-us/library/ee890097.aspx.
Transcribo una parte:
Returns an instance of a Project Server Service application.
New-SPProjectServiceApplication
Creates a new Project Server Service application.
New-SPProjectServiceApplicationProxy
Creates a proxy for a Project Server Service application.
New-SPProjectSiteAdministrator
Creates a Microsoft Project Server 2010 administrator account for the requested user.
Creates a new instance of a Project Server Service application.
Remove-SPProjectSiteAdministrator
Removes an account from a Microsoft Project Web App (PWA) instance.
Deletes an instance of a Project Server Service application.
Set-SPProjectServiceApplication
Sets properties of a Project Server Service application.
Sets the properties of an instance of a Project Server Service application.
Upgrades a single Project Web App site.
Qué lo disfruten!
Vean este interesante artículo: http://get-spscripts.com/2011/10/copy-sharepoint-lists-and-document.html.
Transcribo:
This article is the first in a series on exporting and importing SharePoint objects using the Content Deployment API and PowerShell. I’m not going to cover the API itself, as there are lots of articles doing this already, notably this series from Stefan Goßner and MSDN, which I would urge you to check out for more details.
You can achieve some of this functionality with the Export-SPWeb and Import-SPWeb cmdlets provided with SharePoint 2010, but a) these are not available with SharePoint 2007 and b) using the Content Management API directly provides access to extra capabilities. I have written these scripts to work on SharePoint 2007 and 2010 (WSS and Foundation included), although to date I have only tested them on SharePoint Server 2010.
This first article provides a couple of functions for exporting a list or document library and all items contained within it from one site and importing it into another site. The destination site can be in a different site collection, web application and even farm. I have provided command parameters for what I think will be the most popular configuration options, but as we have full access to the API, the scripts can be adapted to suit requirements.
Continuar leyendo en: http://get-spscripts.com/2011/10/copy-sharepoint-lists-and-document.html.
Los manejadores de eventos son una de mis funcionalidades favoritas de SharePoint, ya que permiten resolver cuestiones de negocio. Si no conocen el tema, les dejo un breve screencast que armé hace un tiempo: http://surpoint.blogspot.com/2010/10/manejadores-de-eventos-en-sharepoint.html.
Pero si lo conocen, seguramente tomarán como buena noticia que en SharePoint 2010 podemos podemos adjuntar los eventos a una lista desde PowerShell. Realmente esto facilita el despliegue de los mismos. ¿Cómo hacerlo? Está explicado en este artículo de SolidQ que pueden leer en: http://blogs.solidq.com/sharepoint/Post.aspx?ID=80&title=How+to+add/delete+an+event+receiver+to+a+single+list+with+PowerShell+in+SharePoint+2010
Espero que les sea útil. Saludos!
Hola a todos, en una reciente implementación sobre Sharepoint 2010, me encontré con el pedido del usuario que ciertos campos que corresponden a la lista, no deberían estar disponibles al dar de alta un nuevo elemento en la lista. Esta misma problemática la habíamos tenido en Sharepoint 2007 y una forma elegante y fácil de hacerlo era usando JQuey y Javascrip (Preseleccionar u ocultar valores en las pantallas de alta).
Ahora bien, para Sharepoint 2010 estamos utilizando el poder de PowerShell integrado con Sharepoint 2010. Lo que tienen que hacer es tomar un editor de texto y generar un archivo PS1 con las siguientes instrucciones:
#Abro el sitio
$site = new-object Microsoft.SharePoint.SPSite("http://MiServidor")
$web = $site.OpenWeb()
#Abro la lista
$list = $web.Lists["MiLista"]
#Configuro Columna1, en este caso la columna no se ve en ningún formulario standard.
$field = $list.Fields["Columna1"]
$field.ShowInNewForm = 0
$field.ShowInEditForm = 0
$field.ShowInDisplayForm = 0
$field.Update()
#set Columna2, en este caso, inhabilito la columna sólo para el alta.
$field = $list.Fields["Columna2"]
$field.ShowInNewForm = 0
$field.Update()
#Update y Dispose
$list.Update()
$web.Dispose()
$site.Dispose()
Luego lo ejecutan para el sitio correspondiente, y listo. Una forma sencilla de ocultar campos y con las herramientas que provee Sharepoint 2010.
Hasta el próximo truco.
Denso, pero necesario. Pueden descargarla de: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=32ae8cbe-a657-481d-a1d6-46140495231a.
Dos interesantes artículos de Juan Carlos González Martín, para los que estén empezando a meterse con este tema. Que los disfruten!
