Tomasz Rabiński | zavaz Blog

C# SharePoint VSTO

Assembla – free svn

Assembla is a free subversion for any types of projects. You can use it to store solution online, follow the changes you made(file versioning), share Your work etc. Using Assembla is free and the only thing You have to do is registering on the site and creating a new space for Your project.

Additionally, with a help of third-party tools it’s possible to extend Your Visual Studio 2005/2008/2010 with ability to manage Your Assembla source code. Continue reading

SPSecurity.RunWithElevatedPrivileges – the way to become a god

Permission levels in SharePoint are very important thing. They define actions which specified users can perform on sites, lists etc. But, in vast amount of applications, there is a way to bypass permission checking and become a “god” who can do almost everything. I’m talking about SPSecurity.RunWithElevatedPrivileges method. This method lets’ You get a reference to the SPSite object and with it You can access any of the site collection elements with administrator rights.

Continue reading

VSTO Part 1 – Excel Add-In

Have You ever wondered how to create AddIns for Microsoft Office Applications? In this tutorial I’ll show You how to create an Microsoft Office Excel 2007(although, I think there’s no difference with 2010) AddIn with ribbon  and custom task panes with variuos funcionality. This post, as Part 1 of the tutorial, will describe how to create a solution and ribbon with one button.

 

Continue reading

SharePoint Web Services

WSS 3.0 and MOSS 2007 give developers ability to manage it’s resources by Web Services. With their help You can do things like add attachment to the specified list item or add a new user to the site collection. Full list of Web Services can be found here. Exception is SharePoint 2010 which doesn’t provide Web Services(asmx), but it enables communication through WCF(details here).

Continue reading