Forzar el Stop de los Crawls por Power Shell

Este comando detiene todos los Crawls que no estén en estado "Idle": Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | ForEach-Object { if ($_.CrawlStatus -ne "Idle"){ $_.StopCrawl() } } Con este comando podemos ver el estado de los Content Source: Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | select Name, CrawlStatus

Error: Field type ‘XXX’ is not installed properly. Go to the list settings page to delete this field

Normalmente suele producirse cuando desplegamos una columna de sitio errónea y la modificamos. Para resolverlo debemos buscar ese campo en la base de datos de contenido y borrarlo. Lo encontramos con: SELECT * FROM [CONTENT_DB].[dbo].[ContentTypes] WHERE Definition Like '%COLUMN_GUID%' Y lo borramos con: DELETE FROM [CONTENT_DB].[dbo].[ContentTypes] WHERE Definition Like '%COLUMN_GUID%' En ambos casos debemos escribir el …

Sigue leyendo Error: Field type ‘XXX’ is not installed properly. Go to the list settings page to delete this field

Crear SPSubscription Settings Service Application (5 Pasos)

1. Abrir SharePoint Management Shell. 2. Crear el Pool: $AppPool = New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account DOMAINuser 3. Crear la App: $App = New-SPSubscriptionSettingsServiceApplication -ApplicationPool $appPool -Name SettingsServiceApp -DatabaseName SettingsServiceDB 4. Crear el Proxy: $proxy = New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $App 5. Iniciar la instancia: Get-SPServiceInstance | where{$_.TypeName -eq "Microsoft SharePoint Foundation Subscription Settings Service"} | Start-SPServiceInstance

Workflows en SharePoint 2013

1. Instalar y configurar Workflow Manager: http://ranaictiu-technicalblog.blogspot.com.es/2013/02/sharepoint-2013-workflow-manager.html 2. Crear App Management Service Application + Proxy: http://www.c-sharpcorner.com/UploadFile/anavijai/error-app-management-shared-service-proxy-is-not-installed/ 3. Crear State Service Application + Proxy: http://www.codeproject.com/Articles/710271/State-Service-configuration-in-SharePoint-for

Cambiar MasterPage via PowerShell

Para cambiar la MasterPage de SharePoint por PowerShell tan solo debemos abrir la consola de SharePoint (SharePoint Management Shell) como administradores y ejecutar: $web = Get-SPWeb http://MY_SITE.com $web.CustomMasterUrl = "/_catalogs/masterpage/MY_MASTER.master" $web.MasterUrl = "/_catalogs/masterpage/MY_MASTER.master" $web.Update() También podemos crearnos un fichero ".ps1" para tener el script guardado y ejecutarlo (Siempre como administrador).

Ejecutar funcion JS al final de todo de la carga de pagina de SharePoint

Podemos ejecutar funciones JS al final de la carga de la página por medio de JQuery. No obstante, en SharePoint esto no siempre funciona: $(document).ready(function(){ //My code }); Esto ocurre porque aveces el document ya está cargado pero SharePoint todavía sigue cargando elementos. Para evitarlo, podemos insertar nuestra funcion en la lista de funciones que …

Sigue leyendo Ejecutar funcion JS al final de todo de la carga de pagina de SharePoint