Category: SharePoint OnPrem

Sometimes, when you’re developing a visual web part, the designer file (with .g.cs extension) dissapears in front of your eyes. After finding nothing in the internet, we’ve just discovered why it is happening: You've to add the "Site URL" property in the Project properties. That’s beacuse it is a web part for sharepoint, and Visual […]
<script language="javascript" type="text/javascript"> document.location.href=document.location.protocol + '//' + document.location.host </script>
You can get a LOG file with your workflow trace following this steps: 1. Edit web.config. 2. Insert the following code just BEFORE <appSettings> (always AFTER </System.Workflow.ComponentModel.WorkflowCompiler>): <system.diagnostics> <sources> <source name="System.Workflow.Runtime" > <listeners> <add name = "System.Workflow"/> </listeners> </source> <source name="System.Workflow.Runtime.Hosting"> <listeners> <add name="System.Workflow"/> </listeners> </source> <source name="System.Workflow.Activities"> <listeners> <add name="System.Workflow"/> </listeners> </source> </sources> <sharedListeners> <add name="System.Workflow" […]
If you go to the Term Store Management you can add new term sets in the taxonomy term store whenever you want. However, maybe you want to allow users to create new term sets, so you’ve to do this: 1. Go to the Term Store Management. 2. Select the Term Set that you want. 3. […]
If you want to use the details view on a list or library and you don’t want to see the list of elements (maybe you need to show only one item, or you’re going to select that item on another webpart) you can hide it doing the following: 1. Edit Page. 2. Create a new […]
You can backup your Site Collection by this steps: 1. Open new Terminal window. 2. Go to: C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14BIN 3. Execute the following: ststsadm -o backup -url http://yourSite.com -filename C:oneFolderanotherFolderyourBackupFile
If you want to hide the quick launch (vertical menu) on a specific page you’ve to do the following: 1. Edit your page. 2. Insert Content Editor wherever you want (Insert -> Web Part and add Content Editor in Media and Content category). 3. Edit HTML. Once you can write in your Content Editor, select […]
If we create a calendar for resource reservation may not be able to see the items created, because each time we enter this list you must select which resources you want to see. To show you all we have to create the default calendar as follows: 1. Create New Group Calendar. Before click the "Create" […]
Tenemos nuestro Sitio de SharePoint con documentos guardados y queremos abrirlos en Office cliente para editarlos. Si estamos entrando por HTTPS es posible que cuando intentemos abrirlos nos aparezca una ventana dándonos a elegir un certificado. Seguramente, escojamos el que escojamos no va a funcionar. Para solucionarlo, podemos ir al servidor donde esta alojado el […]
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. […]