Wrong content type with document template

Last time one of my Clients asked me for a possibility to extend document libraries with Excel template. The choice was obvious – a custom content type with Excel document template. I have created such a content type in few minutes, created a package, run deployment process and… Voilà! Site content type has been created. (continue reading…)

SharePoint 2013 custom login page for Form-Based Authentication

Some time ago I have written the post about creating custom login page for SharePoint 2010. Many visitors asked me whether it works also for SharePoint 2013. The answer is: probably yes :). I haven’t tested it, but it should not cause any problems.

This way or another, I’ve decided to rewrite the page to be 100% SharePoint 2013 comaptibile.

At the end of this post You will find everything what’s needed to implement the solution in Your environment. Enjoy!
(continue reading…)

Disable event firing outside an event receiver

Everybody, who at least once created a custom event receiver, knows property EventFiringEnabled(or DisableEventFiring method in SP2007). It allows to disable event firing, so SPListItem.Update() can be safely executed, without any other event receiver come in the way.

But what, when You want to disable event firing outside Your custom event receiver? There is a very simple way to do it. (continue reading…)

Sandbox custom list definition – “Save As” dialog 410 The webpage no longer exists error

Some time ago I have faced very annoying error while developing custom list definitions in sandbox solutions. Every time when I tried to save a file to a library based on my list definition I received an “410 The web page no longer exists” error. Google did not help me(there are some examples of fixes for similar problem, but all of them are talking about Farm solutions), so I tried to fix it on my own.

After spending some time looking at the schema.xml, I found a solution. Everything You have to do is to remove the view responsible for rendering the “Save As” dialog content. After making the modification in schema.xml and redeploying the solution, the “Save As” dialog started to work. (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…)

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