No hay una lista “oficial” por parte de Microsoft para los Content Class pero aquí tenéis los STS disponibles (Ejemplo: contentclass:STS_Site): STS_Site – Site CollectionSTS_Web – Site (Web)STS_List_850 – Page LibrarySTS_ListItem_850 – PageSTS_List_DocumentLibrary – Document LibrarySTS_ListItem_DocumentLibrary – Document Library ItemsSTS_List – Custom ListSTS_ListItem – Custom List ItemSTS_List_Links – Links ListSTS_ListItem_Links – Links List ItemSTS_List_Tasks – …
Etiqueta: search
Excel – Buscar si una Celda contiene alguno de los elementos de una lista
Si tenemos una celda con varios valores (por ejemplo, separados por 'punto y coma') y queremos saber si alguno de esos valores esta dentro de una lista de elementos, utilizaremos: =SUMPRODUCT(--ISNUMBER(SEARCH(MY_LIST,CELL_TO_CHECK)))>0 Donde MY_LIST es el rango de celdas donde tengamos nuestra lista de elementos y CELL_TO_CHECK es la celda que queremos comprobar (Estos valores tambien …
Sigue leyendo Excel – Buscar si una Celda contiene alguno de los elementos de una lista
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
Stop-Start SharePoint Services On Server using Management Shell and their Names
We can start and stop SharePoint server services using SharePoint Management Shell and this Scripts: get-spserviceinstance | ? {$_.Typename -eq "YOURSERVICENAME"} | Stop-SPServiceInstance get-spserviceinstance | ? {$_.Typename -eq "YOURSERVICENAME"} | Start-SPServiceInstance We don't have to know the service GUID, we only need its name. For example: get-spserviceinstance | ? {$_.Typename -eq "User Profile Service"} | Stop-SPServiceInstance …
Sigue leyendo Stop-Start SharePoint Services On Server using Management Shell and their Names
CAML Query Auto-Created in C# with Loops
This is a function in order to create a CAML Query specified for Filters. Once we have the filters, we've to create the parameters for the function, following this template: Parameters Template Name1|Type1|Operation1|Value1,Name2|Type2|Operation2|Value2... [Operation property can only be "Equal" or "Contains", 'cause that's what I need, but it can be modified] Example Title|Text|Contains|Document,Category|Choice|Equal|Docs [Filter items …
Find Public Key Token of my Project in Visual Studio 2012
In order to find the public key token of your project you need to follow this: 1. Open the Developer Command Prompt fot VS2012. 2. Write this command (Use full path of your DLL file): sn -T C:MyDLLdirectoryMyDLLfile.dll 3. Automatically it shows you your token: Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.17929 Copyright …
Sigue leyendo Find Public Key Token of my Project in Visual Studio 2012
SharePoint 2013: Create JS File From HTML Display Template
When you create a custom Display Template and you deploy it, you can see the HTML uploaded, but you can't see its JS (created automatically in theory). Problem: You don't have the correspondent JS of your HTML Display Template Solution: 1. Access to your Site with SharePoint Designer 2. Go To: All Files -> _catalogs …
Sigue leyendo SharePoint 2013: Create JS File From HTML Display Template
SharePoint 2013: Configure Search Application Topology
You can configure your Search Application Topology through your servers and manage all its parts separately, or (like in my case) you only need to configure it all in one server. Using PowerShell I've only need to run this following commands:1. Get the Search Service Instance of my server into a variable (The second command …
Sigue leyendo SharePoint 2013: Configure Search Application Topology
SharePoint 2013: Stop Crawls using PowerShell
Run this Script in PowerShell to stop all your Crawls: Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | ForEach-Object {$_.StopCrawl()} You could also start full Crawls on every Content Source changing the StopCrawl command like this: Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | ForEach-Object {$_.StartFullCrawl()}
SharePoint 2013 – The search request was unable to connect to the Search Service
Error The search request was unable to connect to the Search Service. Solution 1. Central Administration 2. Application Management 3. Manage Web Applications 4. Select the Web Application 5. Ribbon: Service Connections 6. Search Application must be checked If you don't se any Search Application, do the following 1. Central Administration 2. Application Management 3. …
Sigue leyendo SharePoint 2013 – The search request was unable to connect to the Search Service