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…)
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!
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…)
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…)
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:
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:
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.
Pokeit.co 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.
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…)
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…)
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…)