background preloader

Webpart

Facebook Twitter

SharePoint 2007 Employee Directory Web Part - SharePoint. Many of our clients have asked us about some type of function or Web Part that lets them show a list of users in their site collection, specifically from the "Users and Groups" list that they can control. Out of the box MOSS gives you the Site Users Web Part. This is often discarded by the client because it is too basic. Here is what it looks like: We are generally asked if we can show profile pictures, some imported Active Directory profile information, sorting, links to the user display or My Site page. In order to do this we chose to write a custom Web Part. The point of this article is to show SharePoint developers an alternative method to using the Site Users Web Part as an employee directory. This article assumes you are familiar with Web Part development in SharePoint 2007 and already understand how to build and deploy a basic Web Part with a basic understanding of ASP.NET development.

The Code and the Process We chose to use the SPList SiteUserInfoList to obtain this data. -Ryan. CoDe Magazine - Article: ASP.NET 2.0 Web Part Infrastructure and SharePoint 2007. In my previous article, (“ASP.NET 2.0 Web Part Infrastructure”, Nov/Dec 2006, CoDe Magazine) I talked about the ASP.NET 2.0 Web Part framework.

CoDe Magazine - Article: ASP.NET 2.0 Web Part Infrastructure and SharePoint 2007

I made the case for the emergence of Web Part or widget-like solutions, and explained the support for Web Parts in the ASP.NET 2.0 framework. However, I stopped short with a teaser into connecting these Web Parts with each other and where this story fits in with SharePoint 2007. In this article, I intend to cover the rest of that ground. As I indicated in my last article, SharePoint 2007 is built on ASP.NET 2.0. In this article I intend to take the discussion from ASP.NET 2.0 to SharePoint 2007. In a production environment, you could restrict the number of keys you use, and then use the keys as evidence to create a tiered-level security structure based on keys to keep things clean. SharePoint 2007 is built in ASP.NET 2.0. Web Part Connections This exception was reasonable to expect since I haven’t yet added a ConnectionsZone to my Web pages.

Developing Sharepoint 2007 Custom Web Parts. Chapter 19: Beginning Web Part Development. MSDN Library Microsoft Windows SharePoint Services SharePoint 2003 This chapter is taken from Microsoft Windows SharePoint Services Inside Out published by Microsoft Press; ISBN 0735621713; copyright Microsoft Press 2005; all rights reserved.

Chapter 19: Beginning Web Part Development

The author, Jim Buyens, has written more than 10 books on Web-based development, including Microsoft Office FrontPage 2003 Inside Out from Microsoft Press. Jim has 20 years of experience with computer networking technologies and is a Microsoft Most Valuable Professional who contributes extensively to the Microsoft Office FrontPage online communities. No part of these chapters may be reproduced, stored in a retrieval system, or transmitted in any form or by any means—electronic, electrostatic, mechanical, photocopying, recording, or otherwise—without the prior written permission of the publisher, except in the case of brief quotations embodied in critical articles or reviews.

Chapter 19: Beginning Web Part Development Contents How Web Parts Work.