Monthly Archives: April 2011

SharePoint 2010 and SAP

Here’s a great blog detailing Duet…

http://blog.mindsetconsulting.com/2011/04/ups-and-downs-of-duet-enterprise.html


SharePoint 2010 Cascading Drop downs for Lists

This is the best example and method of implementing a cascading drop down/filtered lookup I’ve found that doesn’t make you add JavaScript or some 3rd party tool. I also found a blog that shows you how to modify an infopath form in a document library. I’m not sure if it works, but it’s worth trying before you go down the other paths.

How to add Cascading Drop downs

http://sharepointsolutions.com/sharepoint-help/blog/2010/09/sharepoint-2010-tutorial-video-drop-down-filters/

How to modify the infopath form of a document library

http://www.spindepth.com/2011/04/infopath-sharepoint-document-library.html


Event Receivers… Can you change the way that error page looks?

In SharePoint 2010 you can add your own custom error page instead of using the OOTB error page. Just add  a new application page to your event receiver project use the code below where you want to show the error…

  //The event is cancelled, but a URL is provided that redirects to a custom error message page, or to any URL.

properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl;
properties.RedirectUrl = “/_layouts/myCustomErrorPage.aspx”;

  

 


Event Handlers… Where should you store your config settings?

At some point while working with event handlers you’ll have some config settings that will need to be stored, and we all know it’s not acceptable to hard code them. I like store them in the web.config, but this blog that breaks downs the all the options for you.

http://www.sharepoint-tips.com/2008/04/event-handlers-configuration-settings.html