Thursday, September 12, 2013

SharePoint 2010 Taxonomy Term Set Exporter using CSOM and Taxonomy Web Service

Its been a while since I blogged. So, I am planning to resume it with some useful (hopefully) links and posts. Recently, I created a utility for exporting Taxonomy Term Sets into an XML file and a powershell script to recreate them in any other SharePoint 2010 environment. This utility has been developed solely using .Net Client Object Model and Taxonomy Web Service of SharePoint 2010. So you can run it from any Windows machine. I published a CodePlex project to host the same. To know more about it and to download the utility and its source code, please check the following link.

https://termsetexporterclient.codeplex.com/

Please do let me know your reviews and comments. Also, please do visit the site and leave your reviews and comments there too. Hope it is of some use.

Wednesday, January 12, 2011

Saturday, April 3, 2010

Concept of Features in SharePoint 2007

I always wanted to know why Features are called so in SharePoint 2007. Infact, many people asked me the same thing. After some research in Google, I found a link which explains this.

http://sharepoint.microsoft.com/blogs/mike/Lists/Posts/Post.aspx?ID=7

Tuesday, March 16, 2010

Difference between ArrayList And HashTable And Dictionary

I was always keen to know the difference between ArrayList,HashTable & Dictionary. Here it goes.

An ArrayList behaves just like an array, except that it will dynamically expand and contract when you add/remove elements to it. A HashTable is useful when you want to lookup objects indexed by a 'key' value. It also dynamically expands and contracts but doesn't impose an order on the elements like an array does. Put a different way: you index elements in an ArrayList with a numeric index, you index elements in a HashTable with a key. Such a key is often a string.

A Dictionary is a hash table.Dictionary is a generic type, Hashtable is not. That means you get type safety with Dictionary, because you can't insert any random object into it, and you don't have to cast the values you take out.

Thanks to the following links.

http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/84b8d2a1-e84d-446a-94bb-4ec54d3b38cf

http://stackoverflow.com/questions/301371/why-dictionary-is-preferred-over-hashtable-in-c

Wednesday, March 10, 2010

Displaying Attachments in DataView

Normally attachments don't show up in a DataView webpart in SharePoint Designer. To display the attachments, add the following lines in your DataView.

<SharePoint:AttachmentButton ControlMode="Edit" Enabled="true" ItemId="{@ID}" runat="server" Visible="false"/><SharePoint:AttachmentsField ControlMode="Display" ItemId="{@ID}" EnableViewState="true" FieldName="Attachments" runat="server"/>

Thanks to the following link.
http://dbweb.sbisite.com/blogs/bf/Lists/Posts/Post.aspx?ID=19

Monday, March 8, 2010

Cascaded Dropdown in Sharepoint using jQuery

We had to achieve the functionality of Cascaded Dropdowns in SharePoint 2007 Custom List Form web part without custom code. Thanks to the following link which helped in achieving the same

http://spservices.codeplex.com/wikipage?title=$().SPServices.SPCascadeDropdowns&referringTitle=Documentation