Tag: check

Windows PowerShell: New-ItemProperty HKLM:SystemCurrentControlSetControlLsa -Name "DisableLoopbackCheck" -Value "1" -PropertyType dword
function inIframe () { try { return window.self !== window.top; } catch (e) { return true; } }
Para poder detectar si se ha publicado un ítem en una lista no existe ningún evento del tipo “ItemPublished”, pero si tenemos el evento “ItemCheckedIn” que nos avisará cada vez […]
Tenemos 5 tipos de Event Receivers para programar en SharePoint: SPEmailEventReceiver (Para los emails) SPFeatureReceiver (Para las características) SPItemEventReceiver (Para los elementos de las listas/librerías) SPListEventReceiver (Para las listas/librerías) SPWebEventReceiver […]
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 […]
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 = […]
Sometimes we could have some problems to access to a specific machine where we have some of our code checked out. Maybe the person who was programming those files left, […]
We want to hide “Level1” div that contains inside any “Level3” div in this code: <div class="level1"> Level 1A <div class="level2"> Level 2A <div class="level3"> Level 3A </div> </div> </div> […]