Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


January 04, 2005

SharePoint Offers a Different Outlook

Add collaborative features
RSS
Subscribe to Windows IT Pro | See More Collaboration Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Download the Code Here

In "Office and SharePoint: Better Together," December 2004, InstantDoc ID 44156, I discuss how you can enhance Microsoft Office 2003 by calling on the services offered by Windows SharePoint Services (WSS). The article mainly concentrates on those areas that help with document collaboration. But WSS (in conjunction with Microsoft SharePoint Portal Server—SPS—2003) offers many other collaboration capabilities because it supports XML Web services. Let's take a closer look at how this support is possible and how Microsoft Office Outlook 2003 takes advantage of it.

WSS Web Services
You can use many WSS Web services to search and access site content such as lists, libraries, and document and meeting workspaces. Developers can build solutions that work with both WSS and SPS through the Simple Object Access Protocol (SOAP) interfaces used in these services. Using the Web services interface and the server-side WSS and SPS objects, developers can write solutions that remotely call services. Remotely calling services removes the need to install any software on the physical server running WSS and SPS, which can deter IT pros from implementing proposed solutions because of their reluctance to install extra software on top of a smoothly running system.

Web services provide their functionality through the _vti_bin virtual directory, which maps to the \Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\ISAPI physical directory on the local drive of the server running WSS and SPS. Figure 1 shows an example of the content you'll find in the ISAPI directory. This directory includes the .asmx files that implement Web services. Web Table 1 (http://www.windowsitpro.com/microsoftexchangeoutlook, InstantDoc ID 44778) summarizes the major Web services delivered with WSS and SPS. Some of these Web services are documented in the SPS software development kit (SDK). For those Web services, you can enter a Web service's URL into your browser to see the methods that the service supports. For example, to see the Administration (admin.asmx) Web service's methods, you enter http://virtual_server:port_number/_vti_adm/Admin.asmx (where virtual_server is the name of your server and port_number is the port number for your Administration service). Doing so reveals that the Administration service supports four methods: GetLanguages, CreateSite, RefreshConfigCache, and DeleteSite.

Collaboration in Outlook 2003
WSS raises the bar for Outlook 2003 from an application for personal use to an application for personal use and team collaboration. One crucial area for administrators is ensuring that users can work with personal and team items in as seamless a way as possible.

Fortunately, Outlook 2003 and the WSS Web services combine to provide a shared view of personal and team contacts and calendars. As Figure 2 shows, Outlook 2003 lets users view multiple calendars side by side. WSS lets users link an event list in a team site to an Outlook folder. After a list has been linked, Outlook 2003 keeps the event list and folder synchronized.

When users navigate to a WSS contact or event list, a Link to Outlook option appears in the button bar, as Figure 2 shows. This option is controlled by an ActiveX object called SharePoint.StssyncHandler, which is automatically installed when you install Office 2003. The first time a user clicks the Link to Outlook option, WSS checks to see whether Outlook 2003 is enabled for SharePoint integration. By default, this option is enabled because it's necessary for collaboration. However, if necessary, you can disable it by adding the HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Outlook\Preferences\DisallowSTS registry subkey and setting its value to 1. When you specify a value of 1, users receive a warning dialog box if they click the Link to Outlook option in WSS.

When Outlook 2003 is enabled for SharePoint integration, WSS creates a special kind of personal file folder (PST) in the user's Windows profile. Note that WSS creates one PST per Messaging API (MAPI) profile, so if a user has more than one MAPI profile, you'll end up with multiple PSTs named SharePoint Folders.pst, SharePoint Folders(2).pst, and so on. After the PST is in place, a new folder is created inside it and the URL of the WSS list is associated with that folder.

To help distinguish SharePoint folders, the Outlook 2003 object model includes a new property for the MAPIFolder object: the IsSharePointFolder property. This Boolean property returns a value of True for SharePoint folders and False for other types of folders.

Although SharePoint Folders.pst appears like other Outlook PSTs, it's effectively read-only, which introduces some drawbacks:

  • Users can't update WSS items from the Outlook folder. However, you can write an Outlook extension that writes changes to items in a WSS list. One way to write such an extension is to use the Microsoft Office 2003 Web Services Toolkit, which you can download from the Microsoft Download Center (http://www.microsoft.com/downloads). The toolkit lets you use Visual Basic for Applications (VBA) to access Web services.
  • Users can't use the Outlook UI to create folders in SharePoint Folders.pst. However, they can drag and drop items from SharePoint Folders.pst into other Outlook folders.

  • Although users can move WSS folders out of SharePoint Folders.pst, synchronization occurs only when they're inside SharePointFolders.pst. (Moving a folder results in the IsSharePointFolder property being set to False.) Thus, users can't store a WSS list in a public folder. This functionality would have been useful for global sharing of WSS lists.

One-way synchronization from WSS to Outlook 2003 automatically occurs every 20 minutes and on demand when the user clicks the folder in Outlook. You can change the synchronization frequency by editing the HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Outlook\Preferences\STSSyncInterval subkey. You specify how often you want synchronization to occur in minutes. If you specify a value of 0, synchronization doesn't occur at timed intervals.

Another noteworthy item is a slight problem with time zones. Outlook will always use the current time zone that's set on the client's OS to display times. However, each WSS site has a regional time-zone setting on the server, which is used when the site is viewed through the WSS browser. Thus, if a client's time zone differs from the WSS site's time zone, users who view items through the synchronized Outlook folder will see different times from users who view items through the WSS browser.

The synchronization process uses the Lists (lists.asmx) Web service's GetListItemChanges method to pull any updates from the WSS list into the Outlook folder. The URL for the WSS list item is stored in the body of the Outlook item, which provides a quick way to link back to the WSS item through the browser. In addition, this setup lets an Outlook VBA macro or COM add-in programmatically access the item. If you're interested in this capability, check out the Office 2003 Web Services Toolkit. I have used this toolkit, for example, to add a button to Outlook that uses the Lists Web service's UpdateListItems method to write the currently selected appointments from my personal calendar into a WSS events list.

Add Collaborative Features to Your Applications
Because of the support for XML Web services, WSS and SPS offer collaborative features that any application can take advantage of. I've shown you how Outlook 2003 does just that to give users a consolidated view of personal and team information.

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

More fun TechEd 2005 Resources

Kevin points out some more TechEd resources ...

What service packs and fixes are available?

...


Exchange Server and Outlook Whitepapers Protecting (You and) Your Data with Exchange Server 2007

StoreVault SnapManagers for Microsoft Exchange and SQL Server

ETX Driving Embedded I/O

Related Events Check out our list of Free Email Newsletters!

Exchange Server and Outlook eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

The Expert's Guide for Exchange 2003: Preparing for, Moving to, and Supporting Exchange Server 2003

Related Exchange Server and Outlook Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Exchange & Outlook UPDATE eNewsletter
News, strategies, products, and developments in Exchange Server and Outlook messaging.
Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Microsoft Exchange & Windows Connections event returns to Las Vegas Nov 10 - 13
Connections returns to Las Vegas for this exciting event where each attendee will receive SQL Server 2008 standard with 1 CAL. Co-located with Microsoft ASP.NET, SQL Server, and SharePoint Connections with over 250 in-depth sessions.

Free Online Event! Virtualization:Get the Facts!
Register now and attend this free, live in-depth online conference on November 13 and 20, 2008, produced by Windows IT Pro. All registrants are eligible to receive a complimentary one-year digital subscription to Windows IT Pro (a $49.95 value)!

Check Out Hyper-V Video on ITTV
Watch Karen Forster's interview on Hyper-V's performance on ITTV.net.

Ease Your Scripting Pains with the Flexibility of PowerShell!
Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer!

Latest Advancements in SSL Technology
There are a variety of different kinds of SSL to explore to ensure customer data is kept confidential and secure. In this paper, we will discuss some of these SSL advances to help you decide which would be best for your organization.

PASS Community Summit 2008 in Seattle on Nov 18-21
The don’t-miss event for Microsoft SQL Server Professionals. Register now and you’ll enjoy top-notch Microsoft and Community speakers and more.



Solving PST Management Problems
In this white paper, read about the top PST issues and how to administer local/network PST Files.

Get Protected -- Data Protection Manager 2007
Protect your virtualized environment with Data Protection Manager

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Maximize Your SharePoint Investment: Get Your Data Moving
Watch this web seminar now to learn how to maximize your SharePoint investment! Join us as we take a look at the complex business of securing, accessing and managing vast amounts of information in a global network and various ways to get your data moving.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing