Blog Archives

Delete List Items Powershell Script

$url = “http://portal.lab.local/”$listName = “Test” Write-Host “Starting…” $site = Get-SPSite $urlWrite-Host “Site Guid is:” $site.ID$web = $site.OpenWeb()$list = $web.Lists[$listName] Write-Host “List Guid is:” $list.ID “List Title is: ” $list.Title $listItems = $list.GetItems()$itemCount = $listItems.Count Write-Host “List Item Count is:” $itemCount

Rate this:

Tagged with: ,
Posted in 2010, PowerShell

Script to Stop List Permissions Inheritance via API

Rate this:

Tagged with: ,
Posted in 2010, JavaScript, Microsoft SharePoint Server

SharePoint Web Part – Event Flow

Rate this:

Tagged with:
Posted in 2007 (MOSS), 2010, Microsoft SharePoint Server

SPRequestStackTrace

To determine where this object was allocated, create a registry key at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\HeapSettings.  Then create a new DWORD named SPRequestStackTrace with the value 1 under this key.

Rate this:

Tagged with:
Posted in 2007 (MOSS)

Access UserInformation List via ListData.svc web service

/_vti_bin/ListData.svc/UserInformationList

Rate this:

Tagged with:
Posted in 2010, Microsoft SharePoint Server

Sending ics Event link in email

http://<<SiteURL>>/_vti_bin/owssvr.dll?CS=109&Cmd=Display&List=<<GUID>>&CacheControl=1&ID=<<ITEMID>>&Using=event.ics

Rate this:

Tagged with: , ,
Posted in 2010, Microsoft SharePoint Server

Server Object Model to Client Object Model Mapping

Server OM       Client OM SPContext       ClientContext SPSite         Site SPWeb        Web SPList          List SPListItem   ListItem

Rate this:

Tagged with:
Posted in 2010, Microsoft SharePoint Server

SharePoint 2010 BLOB Caching

SharePoint 2010 BLOB Caching

Rate this:

Tagged with:
Posted in 2010, Microsoft SharePoint Server

SharePoint 2010 Enable output caching

Following links will provide access to Output Caching settings if those aren’t available via Site Collection Settings: /_layouts/sitecachesettings.aspx /_layouts/areacachesettings.aspx /Cache%20Profiles/AllItems.aspx

Rate this:

Tagged with:
Posted in 2010, Microsoft SharePoint Server

SharePoint Get Content Types using SP.ClientContext

Rate this:

Tagged with:
Posted in 2010, Microsoft SharePoint Server
Antek Group Blog
Categories