Bnz

Figure 8.25 - In-cell and new item editing allow item creation and modification directly in the view without opening an item. To enable in-cell editing and a new items row

1. In the Current View drop-down list box on the Advanced toolbar, switch to the view you want to change.

2. On the View menu, select Current View, and then click Customize Current View.

3. Click Other Settings.

4. Check the Allow In-Cell Editing box.

5. Check the Show "New Item" Row box.

6. Click OK twice.

Use in-cell editing and the new items row with caution in a public folder. If you are using a custom form (IPM.Contact.Beta Contact) rather than a built-in form (IPM.Contact or IPM.Post), you could experience problems with one-off form creation and the firing of CustomPropertyChange events in VBScript code when you enable in-cell editing. For a detailed explanation of these issues, search for the following articles on http://support.microsoft.com/support/.

• Working with User-Defined Fields in Solutions ( http://support.microsoft.com/support/kb/articles/q201/4/38.asp)

• Working with Form Definitions and One-Off Forms ( http://support.microsoft.com/support/kb/articles/q207/8/96.asp )

Automatic Formatting

You can format the font of the individual items in the row on the basis of built-in rules such as whether the item has been read. You can create your own rules for automatic formatting of an item that depend on a custom set of conditions. Figure 8-26 illustrates a custom condition to highlight items according to special rules in the Classified Ads folder. Custom automatic formatting rules use the Filter dialog box explained earlier to set conditions for the rule. Follow the guidelines shown in this chapter's "Filter Items" section to create rules in a folder to produce automatic formatting.

To create automatic formatting for individual messages in a view

1. In the Current View drop-down list box on the Advanced toolbar, switch to the view you want to change.

2. On the View menu, select Current View, and then click Customize Current View.

3. ClickAutomaticFormatting.

5. Type a name for the automatic formatting rule in the Name edit box.

6. Click Font and select the font name, size, weight, and special effects in the Font dialog box. Click OK to confirm your font selection.

r-Click the Font button to set font

Figure 8.26 - The Automatic Formatting dialog box lets you establish font colors and sizes for a folder view.

7. Click Conditions to establish a filter for your automatic formatting rule. Use the guidelines for filters discussed earlier. Click OK to confirm your filter.

8. Click Move Up or Move Down to change the order of precedence by which your rule will be applied to an item for automatic formatting. Note that you cannot move your automatic formatting rule above the default formatting rules for the folder. Each folder type has a given set of automatic formatting rules.

9. Click OK twice.

View Performance

When you design a public folder application, you should consider the time that will be required to build views and present the view to the user in Outlook. Not all views render instantly, especially when there are thousands of items in the application folder. View performance depends on several factors, including the number of items in the folder and the time interval between the current time and the time when the user last inspected the folder using the current view.

Here are some general rules to follow when you design views for an application folder:

Don't create so many views for the folder that the users have difficulty selecting the correct view for the information they are seeking to display.

Name your views clearly so that their purpose is easily understood by the user.

If possible, create the folder views you will need when the number of items in the folder is small. This reduces the time needed to create the original view index.

Views for online users are cached on the Exchange Server where the public folder is stored. If the view is not used within an eight-day default cache interval, the view must be refreshed and view indexes rebuilt when an Outlook client requests a folder view. Your Exchange Server administrator can change the cache interval to a longer interval, if necessary.

See 0159197 at http://support.microsoft.com/support/kb/articies/q159/1/97.asp for details on modifying the registry to control folder index aging.

Views for offline users will be slower than views for online users. Use filtered synchronization to reduce the number of items in an offline public folder. The Outlook client supports only one index at a time, so it might take a long time to change views off line if the number of folder items is large.

Use Folder Home Pages

Folder home pages are a powerful means to extend views for application folders. Folder home pages let you set a default view on a folder based on a home page URL that points to a page on your Web server containing custom script to render the view in the Outlook Web view pane. See Chapter 15. "Integrating Outlook with Web Applications," for a complete discussion on programming custom folder home pages.

Think of a folder home page as a customizable Outlook Today page for a given folder or a hierarchy of subfolders. You can establish folder home pages for folders in a personal information store, a private mailbox, or Exchange public folders. Folder home page views are available only if you are using Outlook 2000 or later. Users of Outlook 97 and Outlook 98 will see the normal default view on the folder.

Folder Home Page Scenarios

Figure 8-27 shows a folder home page that serves as the default view for the Discussion folder in a Team Project application created by the Team Folder Wzard. Notice that the folder home page provides functionality not available in conventional Outlook views. Customize View and Mark All As Read hotspots let you embed commands directly into your view. By pointing and clicking, a user changes views without resorting to the Advanced toolbar. Find and Advanced Find functionality is simplified in the Discussion Folder Home Page.

Was this article helpful?

0 0

Post a comment