Category: SharePoint OnPrem

SharePoint nos permite subir varios items al mismo tiempo usando Drag&Drop en sus librerías, basta con arrastrar nuestros ficheros del ordenador a la zona central de la lista.Esta acción tiene […]
En el menú lateral izquierdo de nuestras páginas de SharePoint podemos ver que el último enlace es el de “Contenidos del Sitio”. Este menú está distribuído en dos bloques: El […]
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 […]
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 […]
Error Error occurred in deployment step 'Add Solution': An object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 Parent=SPSolution Name=XXXXXXXXXX.wsp", depends on other objects which do not exist. Ensure that all […]
SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite("YOURSITE")) { using (SPWeb web = site.OpenWeb()) { //Obtain the page PublishingPageCollection publishingPages = PublishingWeb.GetPublishingWeb(web).GetPublishingPages(); PublishingPage page = publishingPages.FirstOrDefault(f => f.Uri.AbsoluteUri == "YOURPAGE"); […]
Unpublish and Checkout SharePoint Page: SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite("YOURSITE")) { using (SPWeb web = site.OpenWeb()) { //Obtain the Page PublishingPageCollection publishingPages = PublishingWeb.GetPublishingWeb(web).GetPublishingPages(); PublishingPage page = […]
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: […]