kamagra how much to take

Frantic Redirection SharePoint WebPart

Update to this article with SharePoint Solution (.wsp) file is available here!

A past customer called me today, frantically going nuts because they have a large MOSS deployment (~ 15,000 users) that was planned for production push out tomorrow, and needed a redirection strategy.

Eh, what? What the hell does a redirection strategy mean?

The problem with their sandboxed / user acceptance SharePoint environment was that although there were intuitive navigation controls, and a good navigation strategy supplemented by intuitive custom WebParts, some users were somewhat resisting the adaption of SharePoint, complaining it was over 2 clicks to get to what they wanted. Although I think that this is a rather stringent benchmark to get to the information that you require in an enterprise EIM system, he really needed a way to cut down on the clicks. The only real good part of the requirements is that a majority of users only went to certain site collections, rarely crossing collections, so it should be easy to redirect the users on entry to the portal to certain site collections, right?

It turns out, yes, it really wasn’t that difficult. Since I owed him a favor, I got started developing the SharePoint Redirector WebPart, which after gets tested tomorrow in production, I am going to release for free!

It works pretty simply. Basically, it takes an Active Directory operator (pretty much whatever you want since is a freeform text box property), something that exists in the user profile, and redirects based on whether that condition is met. Like if in my user profile I have the field squadron and in the squadron field, I met condition 101st SharePoint Squadron, I can be redirected immediately to http://www.sharepointsecurity.com/101squad or any other URL of my choosing. There is the provisioning in the WebPart properties to handle up to 10 redirections, and once I get the chance I will expand this to hold any number of redirections.

Administrators and general users don’t see the same thing, as administrators shouldn’t immediately be redirected if they met that profile operator, they still have to manage the root of the SharePoint implementation. Rather, they should see a small dashboard saying whether there are redirections conditions that have been setup, and the appropriate redirection parameters that are bound to those conditions.

The exception handling is pretty good, and will create a new event source in the event log, to a local .log file, and will output major errors to the screen. I use a standard exception handling class that I use for all WebPart development with it.

The Redirector WebPart Properties Toolpane

Global WebPart Settings

Redirection Settings

Condition Activation Management

Redirection Dashboard


Error Handling

Share

12 Comments

  1. Alistair says:

    Has anyone seen the following error and know how to fix it?

    I have installed in two different WSS 3.0 sites and still have the same problem.

    The “RedirectorWebPart” Web Part appears to be causing a problem. Could not load file or assembly ‘Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies. The system cannot find the file specified.

  2. Adam Buenz says:

    The error that you are getting is because you are attempting to use the Redirector WebPart on a WSS site, whereas it requires SharePoint profiles, which is a feature of MOSS.

  3. Tom says:

    What must one do to make this redirector usable on a WSS 3.x site??

    OR would you please modify it so it can work on WSS 3.x sites??

    Thank you, Tom

  4. Andy says:

    Hi Adam – firstly thanks for taking the time to make this webpart available. This looks to be exactly what I’m after, I have a couple of questions…

    I saw in your other posts about this that you had a version available that could redirect based on group membership, but I couldn’t see where to download it – could you direct me to it (if it’s available) – thanks.

    Also, I’m potentially going to need to redirect to one of approx 60 sites based on group membership – did you ever make the changes you mentioned to cope with more rules?

    Any help you can spare would be very much appricated Thank you, Andy.

  5. Sjef says:

    Hello Adam,

    I’am very interested in your webpart if it will work with more then 100 sites. Is it possible to make one rule based on groupmembership and with variable parameter – like %group%. And after this, make use of scripts in the redirect to read the variable parameter, like: ‘if member of %group% then URL is ‘ …. ‘
    Sjef

  6. Mark says:

    I have tried your redirector webpart, but when I install the webpart then add it to a page I get the following error: “The RedirectorWebPart appears t obe causing a problem. Request for the permission of type ‘microsoft.sharepoint.security.sharepointpermission, microsoft.sharepoint.security, version-12.0.0.0, culture=neutral, publickeytoken=71e9bce111e949c’ failed. I have to use the webparts maintenance page to remove the webpart. Any ideas?

  7. nikki says:

    I’m having the same problem as Mark. Please advise.

  8. Rick Lim says:

    Thanks for this tutorial. I had been wondering how to do that until i read this.

  9. Sebastian says:

    Hello There,

    Adam,
    I had found your web part and musy say that it work grat on MOSS. I’m running it on the test site of the system and it does a great job.

    My only question is how can i get it to work on WSS 3.0.

    Do you have any ideas what have to be done to it.?

    Any info will be greatly apreciated.

    Thanks

  10. Nicolas says:

    Hi,

    I’ve got the same error than Mark and Nikki…
    Any help will be greatly apreciated.

  11. Skirmantas says:

    Hello,

    does this webpart works only with Active Directry or it can be used with FBA (forms based authentication)?

  12. sandrar says:

    Hi! I was surfing and found your blog post… nice! I love your blog. :) Cheers! Sandra. R.

Trackbacks/Pingbacks

  1. Links (4/22/2007) « Steve Pietrek’s SharePoint Weblog - [...] Frantic Redirection SharePoint WebPart [...]
  2. SharePoint 2007 link dump 4-23-2007 at Virtual Generations - [...] Frantic Redirection SharePoint WebPart [...]
  3. links for 2007-04-23 » mhinze.com - [...] Frantic Redirection SharePoint WebPart (tags: sharepoint moss2007 webparts) [...]
  4. Miguel Isidoro : SharePoint 2007: Tools Collection - [...] Encontrei num post do blog do JOPX, este conjunto de tools para SharePoint 2007. SharePoint Tips Utility Pack - …
  5. SharePoint Shelter » Blog Archive » Redirector WebPart SP Solution File Download - [...] So, I am making available to the public the Redirector SharePoint WebPart that I wrote for a buddy who …
  6. Walter Stiers - Academic Relations Team (BeLux) : SharePoint 2007 Tools Collection v2 - [...] SharePoint 2007 Tools Collection v2 Another update: SharePoint Tips Utility Pack - package of  SharePoint 2007 utilities …
  7. SharePoint, SharePoint and stuff : SharePoint Kaffeetasse 35 - [...] Frantic Redirection Webpart und Redirector WebPart SP Solution File Download [...]
  8. Redirect user to subsite at logon | keyongtech - [...] RE: Redirect user to subsite at logon You can take a look at a SharePoint …
  9. Httpcode - SharePoint Active Directory Based Redirect Web Part - [...] We needed the basic ability to redirect specific users to a different page. I first took a look at …
  10. Redirect a SharePoint site by using the Content Editor Web Part | Articles and Tutorials - [...] you want a webpart with some more functionality then check out the SharePoint Redirect WebpartShare this on FacebookTweet This!Post …

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>