Login

Entries categorized 'Programming'


Check that a user has a SharePoint MySite

First follow the steps to create a console application for working with SharePoint 2007 Social Computing features Now that you have your application ready to go you can display users that already have a MySite using the code below. Display Users that have a MySite //Get the site associated with the users...

Continue reading...

Digg It!  StumbleUpon  Reddit  Del.icio.us  NewsVine  Furl  BlinkList  Ma.gnolia  Technorati

Create MySites using C# and the SharePoint 2007 object model

When using MySites it is good to know that MySites are created on an as needed basis, this is to save disk space and resources. There are times when you might want to create a number of MySites before users go to them the first time. We will look at how to do that using C# code and the SharePoint object...

Continue reading...

Digg It!  StumbleUpon  Reddit  Del.icio.us  NewsVine  Furl  BlinkList  Ma.gnolia  Technorati

Redirect to your own MySite Landing Page

Have you ever wanted to redirect a user to your own MySite landing page. It is very easy to do with a single delegate control. This will allow your SharePoint sites to have a profile page such as MyDevCow at any location in the site. This code would run when you click the persons profile and click My...

Continue reading...

Digg It!  StumbleUpon  Reddit  Del.icio.us  NewsVine  Furl  BlinkList  Ma.gnolia  Technorati

Connecting the CQWP without changing ItemStyle.xsl

Reading over Liam's post on a good tip for using the Content Query Web Part (CQWP) to connect your XSLT styles by putting a reference in the ItemStyle.xsl file is a good idea, but it still modifies the Out of the Box (OOB) ItemStyle.xsl. In many cases, in large companies you can't change the OOB files...

Continue reading...

Digg It!  StumbleUpon  Reddit  Del.icio.us  NewsVine  Furl  BlinkList  Ma.gnolia  Technorati

SharePoint Delegate Controls in SharePoint 2007 - Best Practices

NOTE: This is a re-post from my orginal blog post on DevCow - SharePoint Delegate Controls in SharePoint 2007 - Best Practices SharePoint Delegate Controls: What EVERY SharePoint developer should know, but most do not. Every time I talk to someone about SharePoint 2007 development, I ask them if they...

Continue reading...

Digg It!  StumbleUpon  Reddit  Del.icio.us  NewsVine  Furl  BlinkList  Ma.gnolia  Technorati