Skip to main content

Posts

Showing posts from October, 2011

Joins in SharePoint COM

private void GetParts( string searchSku) { Parts.Clear(); List partsList = clientContext.Web.Lists.GetByTitle( "Parts" ); List inventoryLocationsList = clientContext.Web.Lists.GetByTitle( "Inventory Locations" ); CamlQuery camlQueryPartsList = new CamlQuery(); camlQueryPartsList.ViewXml = @"<View> <Query> <Where> <BeginsWith> <FieldRef Name='SKU' /> <Value Type='Text'>" + searchSku + @"</Value> </BeginsWith> </Where> </Query> </View>" ; CamlQuery camlQueryInvLocationList = new CamlQuery(); camlQueryInvLocationList.ViewXml = @"<View> <Query> <Where> <BeginsWith> <FieldRef Name='PartLookupSKU' /> <Value Type='Lookup'>" +...

Get ALL ListNames through Client object Model

ClientContext clientContext =             new ClientContext( "http://intranet.contoso.com" );         ListCollection listCollection = clientContext.Web.Lists;         clientContext.Load(             listCollection,             lists => lists                 .Include(                     list => list.Title,                     list => list.Hidden)                 . Where(list => ! list.Hidden)   ...

Client Object Model Sample

Get All List Items : ClientContext clientContext = new ClientContext( "http://intranet.contoso.com" ); List list = clientContext.Web.Lists.GetByTitle( "Announcements" ); CamlQuery camlQuery = new CamlQuery(); camlQuery.ViewXml = "<View/>" ; ListItemCollection listItems = list.GetItems(camlQuery); clientContext.Load(list);clientContext.Load(listItems); clientContext.ExecuteQuery(); foreach (ListItem listItem in listItems) Console.WriteLine( "Id: {0} Title: {1}" , listItem.Id, oListItem[ "Title" ]); Creating List using COM, Add Fields and populate Data: ClientContext clientContext = new ClientContext( "http://intranet.contoso.com" ); Web site = clientContext.Web; // Create a list. ListCreationInformation listCreationInfo = new ListCreationInformation(); listCreationInfo.Title = "Client API Test List" ; listCreationInfo.TemplateType =...

Users AD Browser Webpart

http://usersadbrowser.codeplex.com/

SharePoint 2010 News Rotator

http://newsrotator.codeplex.com/

Using the SharePoint 2010 Silverlight Client Object Model and Excel Services REST API

http://www.deviantpoint.com/post/2010/02/07/Example-Using-the-SharePoint-2010-Silverlight-Client-Object-Model-and-Excel-Services-REST-API.aspx Download: ExcelChartViewerSL.zip (975.87 kb)

SharePoint Multiple files Download as zip file

SharePoint Multiple files Download as zip file The user has selected some documents and a sub-folder so my custom ribbon button is enabled: The user clicks on this button and this feature executes and after it’s complete the user is prompted with this (note, the filename is a timestamp): The user saves it down locally to his computer and sees all the files are there: WSP file (Site collection feature): DeviantPoint.DownloadZip.wsp (84.84 kb) Visual Studio 2010 Project file: DeviantPoint.DownloadZip.zip (317.01 kb)

Exchange WebPart for SharePoint 2010

Exchange WebPart for SharePoint 2010

"Take a picture" Field for SharePoint 2010

"Take a picture" Field for SharePoint 2010 

SharePoint 2010 order ListField

&amp;lt;p&amp;gt;&amp;amp;amp;amp;amp;lt;p&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;p&amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;p&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/div&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/p&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/p&amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;lt;/p&amp;amp;amp;amp;amp;gt;&amp;lt;/p&amp;gt; http://sp2010order.codeplex.com/

Sharepoint 2010 rotator

Rotator is a web part for SharePoint 2010 that rotates through any kind of list with animations. It uses jQuery and the cycle plugin for a rich user experience without the need for Flash or Silverlight. Add a little splash to your SharePoint site!  http://rotator.codeplex.com/ 2. Silverlight Clock Webpart

SharePoint 2010 picture Library webpart

http://sp2010piclibrarywps.codeplex.com/

Edit SharePoint Field properties, including lookup column list association, with client side code only

http://sharepointjavascript.wordpress.com/2010/03/30/edit-sharepoint-field-properties-including-lookup-column-list-association-with-client-side-code-only/

List of Codeplex Downloads Part 2

1. Print  List Ribbon Item 2. SharePoint 2010 Server side Scanner webpart 3. SharePoint 2010 Batch Edit Items 4. Send  e-mail document as attachment from Sharepoint Document Library

List of Codeplex Downloads Part 1

1. Taxonomy breadcrumb inside the List Item 2. SharePoint 2010 FBA Pack 3. SP List Kit Available Free Extensions SP List Advanced Search SP List Advanced Search enables AND/OR search conditions on every SharePoint lists without SharePoint enterprise license. User can use this feature easily via Ribbon UI. SP List Item Copy SP List Item Copy enables a user to copy SharePoint list items. SP List Toolbar SP List Toolbar enables a user to navigate to the New Item page, the New Folder page, the Advanced Search page, and the List Settings page with one click, and also enables a user to change the view using a drop-down menu. SP List Quick Filter SP List Quick Filter displays the sidebar on the left side of the list view. The hyperlink on the sidebar can change the view of the list and filter the list items. SP List Creation Menu SP List Creation Menu displays items on the menu to create lists or libraries under the 'Site Actions' menu. 4. SharePoint 2010 Filtered Lookup ...