¿Qué versión de SharePoint tengo instalada?

Para saber qué versión de SharePoint tenemos instalada en nuestro servidor tan solo debemos ir a:   1. Central Administration / Administración Central 2. Upgrade and Migration / Actualización y migración 3. Check product and path installation status / Verificar el estado de la instalación de productos y revisiones.   Aquí veremos al detalle lo …

Sigue leyendo ¿Qué versión de SharePoint tengo instalada?

Hide elements in Modal Dialog (SharePoint PopUp)

When a page is loaded in a Modal Dialog, its URL ends with "IsDlg=1", that means that it's being opened in a SharePoint PopUp. If you need to hide some elements when that happens (e.g. hide master page elements) you need to add a new class to these elements: Adding class "ms-dialogHidden" to an element …

Sigue leyendo Hide elements in Modal Dialog (SharePoint PopUp)

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

Edit SharePoint Page By URL

If we couldn't acces to the menu item "Edit Page" for any reason and we want to edit that page (e.g. to remove some webpart that blocks our page) we've to add one parameter at the end: contents=1 Then, the URL would be like this: http://misyte.com/mysubsite/Pages/default.aspx?contents=1 By dong this we'll access to a standard SharePoint …

Sigue leyendo Edit SharePoint Page By URL

ERROR: Retrieving the COM class factory for component with CLSID {‘XXX…’} failed due to the following error: 80040154

ERROR Retrieving the COM class factory for component with CLSID {'XXX...'} failed due to the following error: 80040154. CAUSE You're trying to build your project in x86 and you've to do it in x64. SOLUTION 1. Go To Your Project Properties. 2. Select 'Build' (Left Tabs). 3. Change the property 'Platform Target' to 'Any CPU' …

Sigue leyendo ERROR: Retrieving the COM class factory for component with CLSID {‘XXX…’} failed due to the following error: 80040154

How To: Obtain Workflow Trace in SharePoint

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" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:MyWorkflowTrace.log" …

Sigue leyendo How To: Obtain Workflow Trace in SharePoint

SharePoint 2010 – Seguridad de Windows Pide un Certificado al Abrir un Documento Word en Cliente (HTTPS)

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 …

Sigue leyendo SharePoint 2010 – Seguridad de Windows Pide un Certificado al Abrir un Documento Word en Cliente (HTTPS)

Crear WebPart para SharePoint en Visual Studio 2010

Para crear un WebPart con código y añadirlo después a una página de SharePoint debemos seguir estos pasos: 1. Creamos un nuevo proyecto en Visual Studio 2010 a partir de la plantilla "Elemento web visual" (Visual WebPart). Cuando nos pregunte sobre el sitio que deseamos usar para la depuración, seleccionamos nuestro Sitio. 2. Dentro del …

Sigue leyendo Crear WebPart para SharePoint en Visual Studio 2010