Home > Windows Tips > Windows in the Enterprise > Creating a SharePoint site map using out-of-the-box features
Win IT Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS IN THE ENTERPRISE

Creating a SharePoint site map using out-of-the-box features


Paul Galvin, Contributor
12.02.2008
Rating: -3.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


As the scope and user community grow for SharePoint, so does its intricacies. One complex problem for SharePoint administrators is how to maintain a clean site map.

Out-of-the-box SharePoint provides a kind of site map known as the Site Directory. This type of site directory has several disadvantages:




Some companies can live with those restrictions. However, many enterprises would like a site map with a little more flexibility. For example, you might not want to show a user a link to a site to which the user does not have access. Again, this type of security-trimming feature can require extra work.

You might also be in favor of a proper division of labor. That means pushing site map maintenance off the SharePoint administrator's shoulders and onto the site administrator's shoulders where it belongs.

How about easier administration? For instance, allow typical CRUD operations -- known as CReate/Update/Delete. With that flexibility, site administrators can create, update and delete their own piece of the site map.

So how can you meet your SharePoint objectives? Here is an overview of its features:

Now you're ready to create your own site columns and site content types. The following is a detailed walk-through on how to do it:

At the root site of the site collection, create a site column named Site Group:

Create another Site Column named Site Map Link. For type of information, select Hyperlink or Picture. It's located near the middle of the choices. Add this to the Secure Site Map group.

Go back to Site Settings and this time select Site Content Types under Galleries and create a content type as shown in Figure 1.

[IMAGE]
Figure 1: Select Site Content Types under Galleries.

Next, add the Site Group column to the site content type:

Repeat above by adding the second column, "Site Map Link."

Now create a place to test what you've done


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Microsoft Office SharePoint Server (MOSS)  (SearchWinIT.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


. In a sandbox environment, create three sites under the site collection root site as shown in Figure 2.

[IMAGE]
Figure 2: In a sandbox environment, create three sites under the site collection root site.

At each site, create a custom list using the Site Map content type described above. Here's how:

Now populate the custom list. In each site map custom list, create entries as shown in Figure 3.

[IMAGE]
Figure 3: In each site map custom list, create entries to populate custom list.

Remember that the Site Map Link will vary based on your environment and the actual location of your sandbox.

Now it's time to manage the Quality Control permissions. In order to demonstrate the secured part of the Site Map, we need to use SharePoint's item-level security. Via the dropdown over the Title column of the item, Quality Control, select Manage Permissions. From there, make the changes as shown in Figure 4.

[IMAGE]
Figure 4: Manage Quality Control permissions.

Here are steps involved:

Remove all other user profiles with the result, as shown in Figure 5.

[IMAGE]
Figure 5: Final step -- Remove all other user profiles with the result.

Now you are finally ready to create the Site Map. At the site collection's root site page, add a Content Query Web Part. Note: CQWP shows up only in the web part gallery when the publishing feature is installed. Edit the page, add a web part and select the Content Query Web Part. Modify the CQWP's properties as follows:

Under Grouping and Sorting:

View the results. First, log in as a test user. Figure 6 shows what the results look like.

[IMAGE]
Figure 6: Log in first as test user.

Next, log in as yourself. Click on the Quality Control link, and the results are shown in Figure 7.

[IMAGE]
Figure 7: Now log in as yourself.

This approach does have certain limitations. First of all, you must have Microsoft Office SharePoint Server 2007 for this particular approach because it relies on the Content Query Web Part, which is a feature that's not available in Windows SharePoint Services.

Another issue is that the CQWP does not span site collections, and this approach does not allow you to create a farm-level site map. The latter can be overcome using Search instead.

At a high level, site administrators would create site content types and custom lists to manage site map data exactly as described above. However, use a Core Search Results Web Part with a fixed keyword query instead of the CQWP to create the site map. This method would require editing XSLT.

Contrary to popular belief, enterprises can create site maps using out-of-the-box SharePoint features that require no custom coding of any kind. This approach results in a security trimmed site map, which is managed by site owners.

It's all about flexibility. Empowering site owners to manage their own part of the site map puts the responsibility where it belongs and frees up SharePoint farm administrators to manage more critical aspects of the SharePoint environment.

Paul Galvin is a Microsoft SharePoint MVP and a SharePoint solutions architect at EMC Corp. Galvin has worked in the IT industry for more than 15 years in areas such as software development, consulting and SharePoint solutions design, where he works with clients to create business solutions using the SharePoint platform. He contributes to the SharePoint community through MSDN forums and his blog at http://paulgalvin.spaces.live.com.

Rate this Tip
To rate tips, you must be a member of SearchWinIT.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Windows Technology Updates, Reviews and Solutions

Laptop Discounts with free coupon codes, huge savings at Notebook Review

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts