Mostrando entradas con la etiqueta Index Locations. Mostrar todas las entradas
Mostrando entradas con la etiqueta Index Locations. Mostrar todas las entradas

martes, 15 de enero de 2013

Tips Info #91 Sharepoint 2010

1-Agregar un nuevo favicon.ico en Sharepoint 2010

Abre el archivo v4.master con el Sharepoint Designer, y busca el control SPShortcutIcon

<SharePoint:SPShortcutIcon runat="server" IconUrl="/_layouts/images/favicon.ico"/>

Para cambiar el icono, vaya al siguiente path:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES

2-Error: "List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user". O no se puede crear/editar una View

http://support.microsoft.com/kb/2732632

3-Services Pack 1 – Recuperar Site Collections

Get-SPDeletedSite – este comando obtiene una lista de site collections borrados en la granja

Restore-SPDeletedSite – este comando se usa para hacer el restore de un site collection

Remove-SPDeletedSite – este comando es para hacer un clean out de los sites collection (Emty Recycle Bin)

4-Handler mappins requeridos para que funcione Sharepoint 2010

5-Saber el index location del search de Sharepoint

Hay dos manera de revisar la carpeta donde se mantiene el index location del search. Vía Central Administration:

Central Admin -> Application Management -> Manage service applications
   -> Search Service Application ->Search Application Topology (Modify)
      -> IndexPartition/Query Component (Edit Properties).

Vía PowerShell:

  $(Get-SPEnterpriseSearchServiceInstance).CrawlComponents.Item(0).IndexLocation

sábado, 5 de enero de 2013

Tips Info #89 Sharepoint 2010

1-Mostrar los recursos de lenguaje y la fonética de Sharepoint

El siguiente script nos muestra todos los recursos de lenguaje de Sharepoint:

$searchApp = Get-SPServiceApplication | where{$_.DisplayName -eq "Search Service Application"}
Get-SPEnterpriseSearchLanagueResourcePhrase -SearchApplication $searchApp

image

Recuerde cambiar el nombre del search services application (ver en el CA)

El siguiente script nos muestra todos los nombres y nicknames, para el lenguaje Argentina:

Get-SPEnterpriseSearchLanguageResourcePhrase -Type NickName -Language es-AR -SearchApplication $searchApp | Format-Table -Property Phrase,Mapping

2-Cambiar la página de inicio de un site mediante powershell

$spsite = Get-SPSite http://url_webapplication/sites/nombreSiteCollection
$spweb = $site.RootWeb
$spfolder = $spweb.RootFolder
$spfolder.WelcomePage = "Inicio.aspx"
$spfolder.update()
$spweb.Dispose()
$pssite.Dispose()

3-Error : Unable to restore ‘file name’ al querer hacer un restore de la papelera de reciclaje

Verifica si no existe una carpeta o archivo (en la ubicación original) con el mismo nombre que la carpeta o archivo que quiere restaurar. En caso afirmativo, renombre la carpeta/archivo de la ubicación original.

4-Set-SPUser

Este comando de powershell nos permite configurar propiedades de un usuario de Sharepoint.

Ej:Este ejemplo setea al usuario (Contoso\christian) como contribuidor  del site http://test.

Set-SPUser -Identity "Contoso\christian" –Web http:// test –AddPermissionLevel "Contributor"

El siguiente ejemplo setea el mail para un usuario para un web application específico.

Set-SPUser -Identity "Contoso\christian" -Email 'email@contoso.com' -Web http://webapplication

http://technet.microsoft.com/en-us/library/ff607827.aspx

5-Cambiar la ubicación de los índices de search de Sharepoint 2010

Se puede ejecutar el siguiente comando:

stsadm -o spsearch -indexlocation "D:\IndexSearch\Data"

Para verificar que se haya ejecutado de forma correcta se puede ejecutar el siguiente comando:

stsadm -o spsearch -action list

Más información: http://technet.microsoft.com/en-us/library/cc262920(v=office.12).aspx

domingo, 8 de enero de 2012

Mover el directorio de logs de Sharepoint

For production SharePoint 2010 servers, the C drive should be at least 80 GB.

When I do SharePoint 2010 installs I always recommend to my customers that they have a secondary drive. That drive serves a few purposes, and one of them is to serve as a place to store stuff you can move off of your C drive. SharePoint’s logs are a great candidate for that.

There are two sets of logs you want to move, the diagnostic logs and the usage logs. An important note is that every machine in the farm must have the same paths for this to work. If one doesn’t have a D drive or something SharePoint will freak out.