You need help with Your SharePoint? SharePoint 4 Business is for You!

(continue reading…)

Connecting to Office 365 using Client Side Object Model and Web Services

Office 365 gives You a chance to host SharePoint in the cloud. You can use SandBox(legacy) or new App infrastructure to write custom applications running in SharePoint Online environment. If You want to connect to SP Online from external environment, then You have to use CSOM – Client Side Object Model.

Office 365 uses claims-based authentication which caused many problems in the previous SP 2010 version. To connect to the service, user had to first log in to SP Online web site directly from the browser to acquire cookies that were later on used by the application to authenticate in the cloud. More about this trick You can read here.

With SP 2013 Micorosft introduces a new object – SharePointOnlineCredentials. Now authentication is fully ‘automatic’ and it does not require any user action. Below is the code that reads the web site title using new SharePointOnlineCredentials object:

(continue reading…)

SharePointOnlineCredentials and msoidcliL.dll File Not Found exception

SharePointOnlineCredentials is an object that allows You to authenticate in Office 365(SharePoint 2013 Online) portal. You have to use it when You want to connect to SharePoint online using ClientContext or call any web service hosted within Office 365. The usage of the object is very simple. You just have to create a new instance passing proper arguments and assign it to the ClientContext.Credentials property:

(continue reading…)

Bugs hit SharePoint, the new year is full of challenges

Sharepoint users and developers have been hit by bugs with recent back end upgrades. Microsoft admitted that there had been problems and posted a bug list in a support note, which it has since been steadily chopping its way through. This of course is no good for those who build and run applications off the Microsoft application. This however is just one of the issues that Microsoft will have face this year as SharePoint expands its role within the company’s suite of services. This is the new wave that is carrying all before it from SharePoint to Poker.

Over 2013 Microsoft will seek to integrate Windows 8, Sharepoint 2013 and Office 2013 – all will not only share a common look and feel, and integrate Yammer (which Microsoft bought last year) but more importantly be connected to the Cloud. In fact the cloud version of the software is going to be the main focus. Cloud-ification seems to be a trend at the moment. Even in the world of online gaming and poker is the Cloud hanging over the landscape. With the rise of online poker came the rise of poker analytics, that allows you to keep a record of all your partypoker hands, stats, with handy graphs etc. The two largest movers in the market being Poker Tracker and Hold’em Manager, however the newest player is intending to ‘make it Cloudy’ as James Brown might almost have said. is the product of two North Carolina graduates, Chaz Littlejohn and Bryon Zandt, who both also happen to love poker. Their innovation was to change from desktop applications and database servers to online servers and software. This primarily means that poker players are no longer tied to one computer where they might play the game most often. In future they will be able to have all their data captured whether they are fitting in a cheeky game in their lunch break at work, while round at a friend’s house or they are on holiday. SharePoint will also have the same advantages – although hopefully the users won’t be using it while on vacation.

Add ribbon button to one list or library in SharePoint 2010

Sometimes You need to add a new button to the list’s/library’s ribbon – nothing more simple than that. You jut need to create a new SharePoint project, add a feature, add an empty element with an Elements.xml file and define in it XML structure that will represent the new bottom. (continue reading…)

Missing comment box in a note board web part

Note board web part is available in SharePoint 2010 Standard(and higher) edition. It can be used by users to post comments, ask questions or discuss on different topics. Sometimes it can happen that when You add a SharePoint’s note board web part to a page, it will display only the web part’s header. This problem is strictly connected to User Profiles Service. (continue reading…)

Enable or disable custom ribbon button in SharePoint 2010

My prevoius posts(here and here) described how to create a custom ribbon action and how to retrieve selected list items in SharePoint 2010. Right now I’ll show You one more thing that can be usefull while creating Your own ribbon buttons – how to enable or disable ribbon button using defined by You conditions. (continue reading…)

Get selected items from SharePoint 2010 list

Fetching selected list items in SharePoint 2010 is very simple. To achieve such a functionality You can use Custom Ribbon Button. In this example I will use the code from my previous post on creating custom ribbon button. (continue reading…)

SharePoint 2010 Custom Ribbon Button

Ribbon in SharePoint 2010 comapring with previous versions of SharePoint is a big change and a vast improvement in the GUI. When You use it for the first time it can be a bit confusing, but You should get used to it very quickly. Very nice function implemented in the newest version of SharePoint is ability to customize nad create Your own Ribbon Buttons. To create such a custom button You have to create a new Feature and deploy it on the SharePoint server. (continue reading…)

SharePoint and NHibernate – problem with NHibernate.ByteCode.Castle.dll

I often use NHibernate to work with SQL database. It’s a very mature ORM solution for .NET which allows You to freeley “talk” with any database. Although, this is very simple ORM, sometimes I have some challanges I have to face.

One of the first issue I had with this ORM was:

Could not load file or assembly ‘NHibernate.ByteCode.Castle’ or one of its dependencies. The system cannot find the file specified.

(continue reading…)

SharePoint 2010 Developer Dashboard

Developer dashboard is a new feature in SharePoint. It provides to developers and administrators performance and tracing information that can be used to debug and troubleshoot issues with a page rendering time. The dashboard is turned off by default but it can be enabled through C# code, stsadm or powershell command and it can have three states: On, Off, OnDemand. First two should be clear. Third one means that SharePoint will show an image button next to Your login name on a page with which You will be able to show or hide the developer dashboard.

(continue reading…)

Copyright © 1996-2010 Tomasz Rabiński | zavaz Blog. All rights reserved.
Jarrah theme by Templates Next | Powered by WordPress