| Woody's profileWoody's spacePhotosBlogLists | Help |
|
March 04 Back on Point
The Sanity Point is Back on the Air!The downturn in the economy is affecting everyone, myself included. For the time being, I cannot justify the expense of maintaining a dedicated server, so I have been migrating my content onto some less costly hosting. I made sure my RSS feed on Feedburner was still up and contained live content. Unfortunately my actual web site domain has been down for a few weeks. I humbly apologize for the inconvenience. I am pleased to announce, however, that The Sanity Point is now back on the air! I am now using Microsoft Office Live for my primary web address of TheSanityPoint.com. This offers some interesting options, as there is some SharePoint behind the scenes. It is not, however, a standard SharePoint system, so (for example) I don't have SharePoint blog functionality available. Instead, an Office Live site hooks into Live Spaces to pull blog entries for display. This means you may find yourself on my http://woodywindy.spaces.live.com site for some operations (like leaving comments). While I miss the flexibility that having my own server provided, the fact is, "content is king", and I look forward to getting back into the swing of providing the kind of helpful posts you have come to know and love! Until next time... - Woody - February 28 Presenting at the SharePoint Technology Conference |
| Policy Flags | You can bring critical company information to the users' attention before they even click into a document:
|
| Disambiguation | In the case where a word could have several meanings, you can describe each definition, and provide appropriate detail links. |
| Announcements | Use the time-stamp to ensure that searches for the Phoenix Office note that it is closed for remodeling. |
| "Sponsored" links | Everyone wants "their" content listed first in search results. If it fits in with your resource charge-back model and information management policy, let them pay for premium placement. |
| Direct Information | The real purpose of search is to help people find what they need. If the information can be shown directly in the result set, why make them click through to a document? This could be useful for a glossary of your industry's buzzwords, for example. |
| External Links | Even when you do enter a link, there is no requirement that it be within your intranet corpus, or even within your company. This can be handy for such things as industry association web sites, or maybe an index of clients or competitors. |
Of course there's a catch. Administration.
As a manual system, you need to be careful that information is not only entered correctly, but also maintained. If someone moves a document flagged in a best bet, you need to manually change the entry in the keyword system. You should be careful to include review dates and contact information on as many keywords as possible. Use the views provided for keywords that have expired or are due for review, and check them regularly.
One other thing to be aware of, is that because the Keyword and Best Bets system is independent of normal SharePoint functionality, it does not recognize permissions that may be applied. Therefore, you should only add items that you really want everyone who uses this search center to see. Of course, if you place a search center in a site collection that itself has restrictive permissions, only the people who have access to that site collection can get to it.
The keyword and best bets system in SharePoint and Search Server gives you a powerful tool to increase the findability of information within your organization. However, it is not a panacea. Like any other aspect of SharePoint, it requires careful planning and long-term commitment to ensure that you get the most out of it. But if you double-down, do the legwork, and keep up with the maintenance, you will find you have a system that will put your users on a winning streak.
Over the last few weeks, I have veered a bit "off topic". But now that TechEd is over, it is about time to bring things back on track. So today, I'm getting back down to the business of helping you to understand SharePoint with another "Back to Basics" article on the subject of Lists and Libraries.
In this article, I introduce you to some columns that SharePoint creates and manages automatically, and describe some of the ways these can be useful. In the process, you will see how to create a custom list or library view.
Every list and library type you can create in SharePoint has certain unique characteristics, including fields/columns specific to that list type, a default set of views, etc... (See A List, A View, a Part, in SharePoint) But in addition to the things that make a particular list or library unique, SharePoint also creates a set of System Columns that are common to all lists and libraries. Generally speaking, these columns are "Read Only" from the user's perspective (i.e. users can't directly update them on their own), but they contain very useful information, such as who created the item, and when. They are maintained by SharePoint itself.
The automatically generated, or System, columns in a SharePoint list or library include:
| Content Type | Contains the content type of the item. If you have enabled multiple content types for the list or library, users can update this column. |
| Created | This is the date and time the item was first created. This never changes. |
| Created By | This is the user who initially created the item. This never changes. |
| ID | Each item in a SharePoint list or library is assigned a sequential, numeric ID (starting with "1"). This never changes. |
| Modified | This is automatically updated any time an item is updated. |
| Modified By | This is the user who made the most recent change to the item. |
| Type | This is mostly used in libraries. The extension of the file uploaded to the library is stored and used to select an icon to display in your view. |
| Version | Display's the item's version. If you have versioning enabled on your list, it reflects the version currently being displayed. If you do not have versioning enabled, it displays either 1.0, or the last version number that was created while versioning was enabled on the list. |
If the list or library is set to require Approval, two more columns are added to the list automatically. I'm listing them here for completeness, but because they can effectively be edited by site users (with appropriate rights) I won't be discussing them in the rest of this article.
| Approval Status | Whether the current item is Approved, Rejected, or Pending. People with permission to approve can change this column. |
| Approver Comments | When an approver updates the status of the item, they can enter information into this column. |
While your users can't update most of these columns, they can be read and used when creating views. Consider the view below...
This view includes the Title of the item, and all of the automatic columns described in the first table. From this, you can tell a lot about this list. For example, Content types are enabled (the two items have different types). You can also tell that versioning was - at least temporarily - enabled, but was also disabled for some time, because the first item shows a 2.0, while the second item, even though it was clearly modified (notice the different Created and Modified information), is still showing 1.0 for the version.
Note: Normally, you won't be arbitrarily mixing content types in a list, or enabling and disabling versioning. I have done so on this list simply to illustrate possible different values for these columns, and their behavior.
This information, even though you don't enter it yourself, can be very useful. For example, you don't have to worry about someone manually changing records of when a file was last updated. While SharePoint maintains this info, it is available for you to use in customizing your users' experience.
Suppose you want give your users a view of only "their" items? That's as easy as creating any other view in SharePoint!
From the "View" drop-down, select Create View. You are given several options:
Notice that, in addition to the stock view formats, you can create a new view using a existing view as its basis.In this case, we're just going to create a Standard View.
I'm going to call the view "My Items", leave it a public view, and include the same custom columns I used in the view above. Notice that you can select the automatically system-maintained columns just like any other column for your list or library:
Scrolling on down the page, I'm going to set filters on the Created By and Modified By columns, looking for the token [Me] in either location. This token resolves to the User ID of the person currently viewing the page, so if the current user either created or updated the item, it will be listed for them. Otherwise, they won't see it. (For consistency, I've also chosen the "Boxed" style to match the earlier view.)
Now, if Amelia signs in and selects the "My Items" view, she only see the item she edited:
For any list or library you create, SharePoint creates a set of system columns that it manages automatically. Although your users generally can't edit these columns, you can use them just like any other in the creation of views. I demonstrated one option, filtering based on the current user. But you can also use these columns for sorting and grouping your views as well.
I also showed you how to create a filtered list view, and a select a specific layout. That process applies equally well to columns specific to a particular list or library type, and to columns that that you create.
Every service which runs on a Windows server requires an account. While there are built-in accounts designed to facilitate these services ("Local Service" and "Network Service"), many times you will find it is better to use a domain user account when setting up services. This is especially true with Microsoft SharePoint products and technologies.
Whether it is Windows SharePoint Services, Search Server, or Office SharePoint Server, there are a number of places where you can specify a distinct account. In theory, it is possible to use the built-in accounts under some circumstances; however, it is rarely advisable. In fact, if you are setting up multiple servers in a farm, you must use domain accounts. In that instance, is also possible to use the same domain account for all of these functions, and SharePoint will "work". Doing so, however, is asking for trouble down the road.
On the other side of the scale, you could define separate accounts for virtually every aspect of SharePoint. That could quickly become an administrative nightmare.
While the exact set of accounts required will vary somewhat based on your individual company's requirements, for most installations you should count on setting up at least three accounts. These are for some roles that should always be kept separate:
Combining these roles could result in administrative confusion, and/or excess information disclosure.
The Setup User account is unique among these accounts in that it is not a service account. Let me say that again: the Setup User account is not a service account. This is the account you use to log into your server(s) when you set up SharePoint.
This account is very powerful. You could think if it as a SharePoint Administrator, but it is even more. During setup, it gains some implicit power over SharePoint that cannot be removed. Even before starting setup, you need to assign the following permissions to it:
While the Setup User account needs to be a Local Administrator on the SharePoint servers, it does not need to be a Domain Administrator. If your SQL Server environment is separate from your SharePoint farm (which it should be in most production environments), this account does not need to be an administrator on your SQL Servers. Instead it only needs the roles mentioned above. Finally, even though it is a is used to log into the SharePoint servers for installation and administrative purposes, it should not be the "day to day" account of any user. (Note, this separation is good practice for any administrative account - not just SharePoint.)
You can assign additional users to administrative roles within SharePoint following installation The Setup User account will always have that level of control, however, even if removed from administrative user listings.
Even after setup is completed, a user account with comparable capability will need to be maintained in order to provide full administrative functionality. In particular, services need to be started and stopped, IIS web applications and application pools need to be created and removed, etc...
This is the only account that needs permissions pre-allocated (as described above).
The Server Farm account is a true service account in that it is not used by a user to log in. As noted above, you do not need to do any manual configuration of this account beyond its creation. When you specify this account during setup, it will be assigned appropriate rights and permissions. In particular, this account is used for the Central Administration site's application pool, and is assigned to the SharePoint Timer service. If someone does log into SharePoint using this account, they will be identified in the top navigation bar as "System Account", rather than with the "real" name or ID of the user.
There are other disadvantages of logging in with that account. Certain functions are restricted. For example, in SharePoint Designer (if you can open the site at all), contributor settings limit the kinds of customization allowed unless the account is also designated as the Site Owner - not recommended.
On versions of SharePoint that include Enterprise Search functionality, such as Microsoft Search Server 2008 (including Express), and Microsoft Office SharePoint Server 2007, you will also need to designate a Default Content Access account. This is the account used by the Indexing service to crawl SharePoint, as well as any other content sources (unless otherwise specified). It is given read access to all content in the SharePoint farm. Like the Server Farm account, while it should be a domain account, it should not be used by any users to actually log in to SharePoint.
Once you get past the big three, there are many other places in SharePoint where you can designate service accounts. The Search Services (crawl and query) themselves, for example, need an account which should not be the the same as the default content access account. Application Pool accounts can also each be assigned their own accounts, and this may be appropriate in your environment. In many cases, however, you can simply reuse the Server Farm account for these processes. Be aware, though, that you should never assign the Setup User account to any services in a production environment.
In this article, I have explained some of the accounts you should consider when planning your SharePoint deployment. In a single-server test or demonstration environment, you might be able to get by with built-in accounts, or a single domain account. But in production, you should have separate accounts for the major roles. While you can go overboard and assign distinct accounts to every possible aspect of SharePoint, most of the time, the three described above will be sufficient.
For more information, you should see the Microsoft guidance for the particular product you are configuring:
Plan for administrative and service accounts (Office SharePoint Server)
Plan for administrative and service accounts (Windows SharePoint Services)
Plan for administrative and service accounts (Project Server)
Plan for administrative and service accounts (Search Server 2008 including Express)
Today's subject is something of a "back to basics" article. I talk about some very fundamental SharePoint concepts, but I'm adding a little bit of a twist. Lists and libraries, Views, and Web Parts are interrelated components. Sometimes it is hard to tell where one of them stops, and the next one begins. In this article, I'll try to make those boundaries a little easier to find.
One of the great things about SharePoint is the way it hides the complexity of web design and data storage from the end user. When you want to add a piece of content - a Customer Contacts list, for example - to your page, just pick a web part, and "Poof!" like magic, there it is. But this simplicity and abstraction carries a down side, and that is potential confusion about exactly what it is you have just added.
Microsoft does little to allay this confusion within SharePoint itself. Consider the Add Web Parts dialog box...
(Note: You get to this by selecting Site Actions/Edit Page, then clicking on the Add a Web Part banner in a Web Part zone. Your available parts may vary.)
Notice that this section is entitled "Lists and Libraries", and it simply gives the name and description of the the publicly viewable lists and libraries on your site. As a typical user, you could be forgiven for thinking "If I want to add a new customer contact list to my site, I just pick this web part." Unfortunately, that isn't what you would get.
For example, let's say you have a web page that has a Customer Contacts "list" on it, and you want to add a new list, with different customers.
If you were to follow the instructions above to add a "new" Customer Contacts list, you would end up with the same list, displayed twice:
Obviously, this isn't what you want.
The reason for this confusion is because when you add the "Contacts list" to the page from the Web Parts dialog, you aren't actually creating a Contacts "list" at all. You are adding a "List View" web part, which points to an existing list. This is an important distinction. The web part you are adding does not contain the list itself. Rather it holds a "View" of the list.
What you have been working with are three distinct, though related, elements:
Lists and libraries are the fundamental elements of storage in SharePoint. In many ways, they behave like database tables or spreadsheets. They have rows of elements called "Items". Each item has a selection of columns or fields which hold the actual information. A contact item, for example, will have fields defined for First and Last names, company, address, phone numbers, etc... A document library's items will include the file itself, and could also have columns for such attributes as its title, author, ISBN number, or other information.
Note: For now, assume that all of the items in a given list or library have the same set of fields, or "schema"; but be aware that SharePoint has a feature called a "Content Type" which allows for exceptions to that rule.
Each site you create will have a number of lists and libraries pre-defined, depending on the template selected. You are not limited to the ones created by default, however. You can add more of your own. But you don't do it through the "Add a Web Part" dialog. Instead, you use the "Create" option on the Site Actions menu.
While a list or library contains your data, in order to see it, a "View" needs to be defined. With a view, you can tell SharePoint how to display the information contained in the list or library. You can define almost any subset of the columns, and their order; define how many items to show - both per "page", and in total; select from various display formats, and even set filters for which items to display.
You can define any number of views for each list or library. For example, you can have views that are pre-filtered by one of the fields, or which contain the same information in several different formats.
Typically, when a list or library is created, a selection of views appropriate to the expected content is also created. One of these views will be the "Default" view, which is what you will see when you click on the list or library's name in the Quick Launch bar, or in the title bar of a web part. You select an existing view from the combo-box in the upper right hand corner of the display area, as shown below.
You can also create new views, or modify the existing view, from this menu. Views can be displayed as stand-alone pages, or within a List View Web Part.
This brings us back to where the article began. The web part labeled "Customer Contacts" in the dialog we started with is a List View Web Part. When a list or library is created, a corresponding List View Web Part is also created. (Note: It is still called a List View Web Part, even if it represents a library.) The List View Web Part allows you to place a list or library's views on any web part page in your site.
In addition, using the List View Web Part means that you aren't limited to showing lists or libraries just one time, or in just one place, or in one format. While each List View Web Part has a default View (typically called the "Summary View"), you can select any of the Views you have defined for the associated list. In addition, you can further refine the selected view within the web part.
You can, for example, have one view showing the list of contacts, with another view showing an individual contact laid out as a card. You could then use the Web Part Connections function to select which contact's details to display, as shown below.
Lists and libraries, Views, and the List View Web Part are distinct, but related elements of every SharePoint site. Site managers need to be aware of how they related to one another. In general:
If you have a web site, you need usage reports. You need to know how often people are visiting, what they're looking at, and where they're coming from. While this information is a kind of buried treasure in and of itself, I'll also show you how to get to some "bonus" usage reports in Microsoft Search Server.
All of the SharePoint Products and Technologies have some form of usage reporting built in. While they don't have the flexibility or detail of a dedicated reporting system, SharePoint's reports can still provide you with a lot of useful information. What you get, however, varies considerably from product to product - and sometimes even from template to template within the products.
The most basic reporting is available in Windows SharePoint Services (WSS). This is a set of simple text-based reports, giving a hand full of statistics for your site (or sub-web) in either a monthly summary or daily detail table. For the Site Collection, you get a summary of the total storage, quota (if any), and bandwidth. These reports are also used by default for most site types in Microsoft Office SharePoint Server 2007 (MOSS) if the Office SharePoint Server Standard Site features (or Publishing Features) aren't activated, and Microsoft Search Server 2008 (MSS), including the Express edition (MSSX). and are easily accessed through the Site Settings page.
Note: WSS does not include the Search Queries and Search Results reports highlighted in green. Search Server, and MOSS sites with the Search features activated, however, include the green-boxed reports as well. That will prove important later.
The site collection usage summary isn't all that fancy, but it does have some useful information:
The Site Collection Summary (_layouts/usage.aspx)
The Site Usage Reports have a lot more detail. They give you your choice of daily detail, or monthly roll-up information for:
Here are typical examples of the month summary and daily details of the various sub-web site reports:
Web-scoped Usage Detail report (_layouts/UsageDetails.aspx). Month Mode.
Web-scoped Usage Detail report (_layouts/UsageDetails.aspx). Daily Mode.
Again, a bit plain, but informative.
Turn on the MOSS features, however, and a much more attractive set of reports become available. Here's the MOSS version of the Site Collection usage summary.
Site Collection-scoped Usage Detail report (_layouts/SpUsageSite.aspx).
Quite a bit more information than you saw in the WSS and MSS/MSSX version. However, the information is not identical (I'll talk about that a little later in the article). There is a Web-scoped version of this report at _layouts/SpUsageWeb.aspx. The web-scoped version does not have the search report links, but is otherwise similar. On MOSS Sites with that have the advanced reporting turned on, these reports replace the reporting links found on the Site Settings page.
Again, notice the Search reports I have highlighted in green. These are the same reports that were available as separate links on the Site Settings page for Search Server (MSS/MSSX). On those products, you normally only see these links in the Site Settings, or in the Farm level Search Administration pages. On MOSS, on sites with Advanced reports enabled (as above), these are not separate Site Settings links, rather they are only accessed through the Usage Summary.
Here's a typical Search Queries report:
Site Collection-scoped Search Query report (_layouts/SpUsageSiteQueries.aspx).
The Results report link points to _layouts/SpUsageSiteResults.aspx.
You may have noticed that I called-out the names of the pages as I talked about them. Here they are together:
All of these pages reside in the _layouts folder of your site. The SpUsageSite.aspx and SpUSageWeb.aspx pages have several subsidiary pages for specific reports that are accessed through their quick-launch menus.
I mentioned earlier that the information in the "Advanced" reports isn't exactly the same as that in the basic WSS reports. While the presentation of the Advanced reports is much easier to take in at a glance, it is all cumulative, or "rolled up" in some way. Daily information is always rolled up from all elements (e.g. pages or referrers), while element information is rolled up across all time. If you want to see the daily breakdown of individual elements, you need to use the WSS Usage Details report.
The table below shows what makes each of these reports unique.
| File | Purpose | Unique Characteristics |
| usage.aspx | Text Mode Site Collection Usage Summary | The only report that shows total registered site collection users, and storage compared to quota. |
| usageDetails.aspx | Text Mode Web Usage Details | The only built-in reports that can show a cross-tab of items by day. Monthly summary and daily views for each of several metrics. |
| SpUsageSite.aspx | Site Collection Scope, graphical and text representations of usage. | Includes Quick-launch links for Search Queries and Results reports. |
| SpUsageWeb.aspx | Individual Site Scope, graphical and text representation of usage. | Easily digestible information on a single Site. |
| SpUsageSiteQueries.aspx | Site Collection Scope, graphical and text representation of user queries. | Rolling 30 day and 12 month query charts, Top query phrases, and percent of queries by scope. |
| SpUsageSiteResults.aspx | Site Collection Scope, summary of query results. | Most popular results, and diagnostic tables. Zero result queries, Best Bet info, queries with low click-through to results. |
Unfortunately, at least in Site Settings, the "Standard" and "Advanced" reports appear to be mutually exclusive. In other words, you can only have links to either one set or the other. Fortunately, that is only appearance. The feature that creates the links (AnalyticsLinks) only hides the Standard reports. It does not remove them. You can run them at any time as long as you know the URL, which now you do!
OK, this isn't technically an Easter Egg, as it is simply standard functionality. However, unless you are exploring the whole User Interface in Central Administration, you will never find it. (Maybe that does make it an Easter Egg - what do you think?)
I mentioned before that Search Server (including Express) includes the Search reports, and shows them separately on the Site Settings page.
Did you notice how much the Search Queries report looks like the Advanced Usage reports? Even down to the filename (SpUsageSiteQueries/Results)? Here's the good news - In order to provide this kind of report for the search functions, all of the pretty, advanced usage reports came along for the ride. They are available to you on Search Server and Search Server Express! You can access them through typing in their URL, just as you can on MOSS sites without the Advanced reports active.
They're not turned on by default, however, and this section will show you how to enable them. (These steps will also work for MOSS. If your advanced search options are not working there, go ahead and follow along.)
First, open SharePoint Central Administration
Second, although Search Server normally enables usage processing, you should make sure it is turned on. On the Operations tab, in the Logging and Reporting section, click "Usage analysis processing". Make sure the "Enable logging" and "Enable usage analysis processing" boxes are checked. Leave everything else as-is unless you know you need to change them. Click OK.
Third, enable reporting in the Shared Services Provider. To do this, Click the "SharedServices" link in the Quick Launch. This will take you to the Search Administration page. That's not exactly where we want to be. Click the "Home" tab. This will take you to the Shared Services home page (if you were on MOSS, this is where you would have ended up in the first place). In the Office SharePoint Usage Reporting section, click "Usage reporting". Check the "Enable advanced usage analysis processing" box. Don't uncheck Enable search query logging! Otherwise the Search reports won't work.
You may need to wait a day or two to get meaningful results from your report pages, but otherwise, that's it!
Or is it...
For those of you with Search Server (including Express), I have a little gift.
While it is easy enough to type in the URL for the Advanced reports, wouldn't it be nice if you could get to them through Site Settings, just like the WSS Standard reports? Well, now you can! I've put together a simple SharePoint Feature that adds links to the Advanced to the appropriate locations in the Site Settings page. Unlike the MOSS Feature that does essentially the same thing, I leave the Standard reports available for you as well!
Simply download allReports.zip from my SkyDrive. Detailed instructions are in the ARReadMe.txt file, but here's the short version:
Now on your Site Settings, you should have two new links, which will take you to the Advanced reports!
Obligatory disclaimer: Even though all this does is add links to your Site Settings page, I have to warn you that use of this feature is at your own risk. Always try downloaded components in a test environment. Never deploy ANYTHING directly to a production environment without testing it first!!!
Usage reporting is critical to anyone that runs a web site. The SharePoint Products and Technologies provide a number of useful reports for analyzing your site's usage, but different products expose their reports in a slightly different fashion. By understanding where these reports are, you can always get to exactly the report you need, even if it isn't displayed in the menus.
Last month, I talked about my SharePoint Hippocratic Oath, and using the right tool for the level of customization you are looking for. One of my key suggestions was using CSS (e.g. a SharePoint Theme) for the bulk of the work, and only moving into your Master Pages (or beyond) for those things that can't be accomplished via styling. In this posting, I will compare the what you can do with a SharePoint Theme and some minor Master Page tweaks (essentially "Redecorate and Remodel"), to what has been done with a completely green-field design (the "Tear-Down" approach).
While it might not look like it, this blog is based on SharePoint. It was built using the Community Kit for SharePoint: Enhanced Blog Edition (CKS:EBE). This is one of the many freely available SharePoint related projects on Microsoft's CodePlex web site. As it's name implies, the CKS:EBE is a set of features that significantly enhance SharePoint's blogging functionality.
CKS:EBE is also an example of the green-field, or "Tear-Down" approach to SharePoint site design - the designers essentially scrapped SharePoint's original design, and substituted their own (why do the "Mythbusters" suddenly spring to mind...). They rely on Master Pages and CSS that were built from the ground up, with bits of SharePoint functionality added here and there. While this method works (obviously), it carries a number of drawbacks. The following table explores some of the pros and cons of this approach:
| Impact | Tear-Down Pros | Tear-Down Cons |
| Style | Complete control. In the case of CKS:EBE, they went so far as to add a "Modular Theme Framework" (MTF). This lets the site owner to allow users select from an array of themes, and have their choice remembered from session to session. | Inconsistency. This can lead to support and training issues. If someone "knows SharePoint" they could be confused as to why the function they want isn't where they expect it, assuming it is surfaced at all. |
| Design Effort | SharePoint's default Styles, Themes, and Master Pages are very complicated, with lots of "moving parts". By starting with a clean slate, you can be as simple or as complicated as you like, without worrying about "overriding" | Each Theme in the MTF has not only its own style sheets, but its own Master Page as well. Both styles and Masters need to be created for each MTF theme you wish to implement. |
| Functionality | CKS:EBE adds many new functions to a SharePoint Blog. To make most of them work requires at least some modification to the Master Page. | Each piece of SharePoint functionality needs to be manually added to each Master Page. |
| Maintenance | By keeping each style sheet and Master Page as simple as possible, it can be easier to find the things you need to update should changes be required. | Changes will be required. In the CKS:EBE, no web part zones are implemented, so any change beyond adding or removing items in existing lists means you need to edit the Master Page. For example, to get the book cover, Blog Network gadget, and "Other Blogs" list into the left column, I needed to edit the master page. The nature of the design was such that the left column was the only place they could go without a major overhaul. Similarly, to change the number of blog excerpts shown on the home page, I needed to manually edit an XSL file. If I had enabled the MTF Theme Selector, all of these changes would have had to be made (again manually) for each theme. |
Another thing about the CKS:EBE is that it works only for blogs. While it does that quite well, no other SharePoint site type can benefit from the admittedly very nice designs. This posed a problem for me, as I wanted to make my "regular" web site visually consistent with my blog. Since my regular site is not blog-based, I couldn't just apply CKS:EBE. Besides, I *like* the standard SharePoint Functionality I have. :)
This is a situation very similar to one I described in my recent post on Change. Granted, I wasn't taken over by GadgetCo, but I still wanted my professional web presence to be more consistent across the board.
I faced a choice:
I chose "Door number 3". Not only was this consistent with my "Hippocratic Oath", it also provided me with an opportunity to show just how far you can go with a Theme. The two screen shots below show my web site before, and after.
Before: A typical SharePoint site (In this case, a Wiki).
After: A site that looks very much like this blog.
All SharePoint functionality is intact. In addition, the theme - like all standard SharePoint themes - applies across the board, including system and administrative pages.
Is it perfect? No. I make no claims to being a graphic artist. Some of my adaptations don't totally reflect the original source. (I'm sure Heather Waterman, who did most of the CKS:EBE designs, can point right at the differences.) With a bit more time and effort, I'm sure I could get most of the more subtle details in place.
In addition to the theme, I did have to make one "tweak" to the default.master page. For some reason, Microsoft chose to "hard-code" the width of the primary content area (a table called ms-main) to 100% of the page. That makes effects like the alternating bands on either side next to impossible to attain through styling alone, because in CSS, "last in wins", and specific beats general. The theme applies in general, and the explicit styling of ms-main takes precedence. For a single page, I could override the width with some CSS in a Content Editor Web Part, but I wanted the sidebars to appear as close to everywhere as possible. That meant I had to touch the master page.
Fortunately, the only change I had to make was to adjust the width from 100% to 950 pixels, and add the "center" attribute. Again, this is fully consistent with the Oath - make only the changes needed to accomplish the goal.
Clearly, you can accomplish great things with a tear-down. Without the baggage of existing design, you can let your imagination run free. You can make a SharePoint site do and look like anything you want.
Yet, there is something to be said for "standing on the shoulders of giants". Redecorating (themes) and remodeling (default.master page tweaks) allow you to leverage the tried and tested functionality of SharePoint, while complying with almost any branding standards.
The recent turmoil in the financial industry has got me to thinking. (And no, this isn't an article about the finance industry, or the turmoil.) What happens when something really foundational changes? How will you adapt your SharePoint environment to the new situation? How can you adapt it to the new situation?
When you are planning and configuring a SharePoint Server farm, you often take certain things for granted, or at least, have certain things pre-ordained. For example, most companies have standards in place for things like machine names and service accounts, and especially for the domain the servers live in. You follow your standards, configure your SharePoint portal with a site URL that users will know it by, and go on your way.
Well, things change. Companies merge, divisions re-align, and suddenly, you may find that your company, WidgetCo, now belongs to GizmoCorp. Reality dictates that you won't be asked to bring things into compliance overnight; however, you will eventually have to integrate your SharePoint sites with the GizmoCorp way of life.
Fortunately, most of the changes you might be expected to make can be accomplished with minimal disruption. Others will take a bit more effort. Here are the things likely to be impacted, and the probable order in which they will probably need to be addressed.
Of course, this assumes that GizmoCorp likes the WidgetCo intranet and Internet presence well enough to want to keep them. You of course have made this a foregone conclusion by making them indispensable resources to your users and clients... :)
Most acquiring or reorganized companies want to stamp their new identity on things right away. In the beginning, it might just be adding "a GizmoCorp company" to the banner, but eventually they are going to want things to match the marketing department's standards. Fortunately, if you have followed best-practices in designing your site, re-branding SharePoint while leaving the content intact is pretty easy, and very well documented. You shouldn't have any problem here.
This is almost a subset of branding. If you've rebranded WidgetWize to GizmoZone, having your users type http://widgetwize to get there isn't going to earn you any points with the management. Again, SharePoint's native functionality comes to the rescue. You can easily make your site respond to any name you like with "Alternate Access Mappings". Or any set of names.
That last is important. Even once you have changed your site's primary URL to http://gizmozone, you will probably find that people have created lots of "hard coded" links to pages in http://widgetwize. To just change the name without leaving the old URL would break all of those links. At some point after the conversion, you will want to search for pages that still have links to http://widgetwize and have them updated to the new namespace - or better yet, make them root-relative (i.e. start with just a slash "/", rather than the site name.)
Don't forget, you need to have your internal DNS configured to direct all appropriate site names to your SharePoint Web front end server's (or load balancer's) IP.
Long-term Maintenance Tip: Whenever possible, advise your users to make manual links within a site relative to the current page, or the site root, rather than using the full absolute URL.
Once the information is flowing between the "old" and the "new" organizations, a tighter integration of user management is likely. The networks will be connected, and "Trusts" will be established between the companies' domains. But that's just the first step. Eventually, there will probably be an account consolidation into a single domain. Unfortunately, all of your users will have their permissions assigned in SharePoint via their original accounts. Once they get moved onto their new account, how will they access their SharePoint content?
You need to make sure that, as part of the domain migration process, you take SharePoint into account. SharePoint has an API that allows you to rename a user's account, and have all of their permissions remain intact under the new name. You can access it through custom code, or via an STSADM operation. operation is called "migrateuser", and has the following form:
stsadm.exe -o migrateuser
-oldlogin <DOMAIN\name>
-newlogin <DOMAIN\name>
[-ignoresidhistory]
This command ONLY changes the windows user account associated with the SharePoint account. It does not change any of the metadata or profile information associated with the user. If that also is changed as part of the domain move, you will need to do a crawl of AD to retrieve the updates (for MOSS).
Once your users are moved, or possibly even before, you will probably be asked to move the SharePoint farm into the new domain. This is where things get a little complicated. Not because it is hard, but because it is tedious. There are (potentially) lots of accounts used by the various SharePoint services. If you do things in the wrong order, you can potentially end up with major headache trying to straighten things out. In general, here's how you should prepare to move SharePoint into a new domain:
Now, if the two-way trust is fully functional, it is possible to change the domain before you reassign the accounts, but that opens you up to a more difficult situation. That's because if the old domain's service accounts can't be reached for some reason, the whole thing comes tumbling down. On the other hand, if you are changing your accounts one a time as described, it is easy to revert to troubleshoot the problem.
If you are lucky, you won't ever be asked to rename production application servers - of any kind, not just SharePoint. There are just way too many (sometimes surprising) things that can get messed up. Unfortunately, sometimes "rules are rules", and you must rename your SharePoint servers to comply with some policy. If the worst happens, and you must do so, there is a relatively straightforward STSADM operation that can tell SharePoint about it - "renameserver". Like migrateuser, the syntax is quite simple:
stsadm.exe -o renameserver
-oldservername <oldServerName>
-newservername <newServerName>
This makes the appropriate updates to the Configuration Database. You should run this command immediately before performing the actual server rename operation in Windows. Of course, nothing is that easy. While this command updates the Configuration Database, it doesn't make any other changes to your system. For example, you may have other services on the server that need to be updated, or there may be references on other machines to the old name. These are beyond the control of SharePoint.
In addition, this does not affect any links in your Start menu, or within SharePoint's content databases. If you rename the server Central Administration is hosted on, for example, you may have trouble accessing the site. Make sure you set up Alternate Access Mappings (just like setting URLs for the content sites) to the Central Administration web application (also for Shared Services, if appropriate for your environment) for both the old and new server names before you begin the rename process. In addition, you will need to manually edit the link to Central Administration within the Start menu to reflect the new URL.
The only constant in life is change. Even the most stable company can decide to rename itself for a new generation. There are many reasons you may be asked to make fundamental changes to an existing SharePoint environment. In addition, the information you gather to prepare for an environment migration can also be used in a Disaster Recovery scenario. In a worst-case situation, you may find you have to bring your configuration back online in a new domain, or restore into an environment where your names will conflict with with existing servers.
By understanding the things that may need to change, and how these changes work, you can have a head start, and avoid the panic that can strike the unprepared.
When I was speaking at the Wisconsin SharePoint Users Group last week, someone asked me: "How do you know when to choose SharePoint Designer or Visual Studio for a particular change to a site?" I explained that I had a sort of "Hippocratic Oath" for SharePoint customization. In essence, it involves not making changes any more complicated than they need to be in order to achieve the design objectives. The ever popular "KISS" principle - Keep It Super Simple. (Yeah, I know, there's another breakdown for this acronym, but I think this is a little nicer.)
So, here it is:
First, Do No Harm
Use the Product: Don't customize where SharePoint already does what you need.
Do it with Style: Don't build a Master Page when a CSS theme will suffice.
Take the Data View: Don't build a binary web part when a Data View or Content Editor can do the job just as easily.
Master It: When you do need to make major changes to the layout of your pages, customize the Master, but don't throw the baby out with the bath water.
Feature it at Staples: Don't build a Site Definition when you can achieve your goals with Features and Feature Stapling.
The Definition of Success: If you must use a Site Definition, understand the ramifications.
Now, I'll talk about each of the points in a little more detail.
If it isn't broken, don't fix it. Consider why you want to make the change. Are you trying provide a function your users are asking for? Do you need to meet some corporate guideline for branding on this site? If so, fine. Go on to the next step. Or are you just trying to change something "to be different" or "because you can"? Just don't do it! SharePoint works pretty darned well, right out of the box. Which brings us to the next principle:
As noted in my article, Your (Share)Point of View, SharePoint has a lot capability and flexibility. Before you go building new functionality, make sure SharePoint doesn't already have a feature that performs that task. You can add logos to pages, change colors with several existing Themes, build custom menus, re-arrange components, manage content, and all sorts of other things right from the Web-based User Interface. Don't re-invent the wheel. Use what's there.
Ok, the existing themes can leave something to be desired, especially if your marketing department is insisting that the top banner be "Pantone 321". Now it's time to open SharePoint Designer. You're still not hacking pages apart, or worrying about chasing "Ghosts". You want to take advantage of SPD's CSS editing capabilities. You can do a lot with CSS. Not just colors, but fonts, sizes, background graphics, and lots more. Although the default Master pages used by SharePoint make using CSS for positioning a bit problematic, you even still have some flexibility there.
The big thing is, unlike Master page customizations, anything you do with a theme's CSS can apply to every page in your site - even those in the troublesome _layouts folder. Even if you do ultimately need to go to the next level with a Master page, by starting with a CSS Theme, you can make fewer Master changes, and thus minimize the visual shock your users would experience when those _layouts pages come to the surface.
Get to know the SharePoint XSLT Data View Web Part. When it comes to easy, powerful, customization, the Data View is the cream of the crop. Graphical menus? Yep. Mash-ups with external data sources? You got it! The Data View in SharePoint Designer can save you hours of coding when it comes to in-page functionality. (Oh, and the Content Editor Web Part is no slouch, either!)
When it comes time to totally change the look of SharePoint, the only way to go is to build a new Master Page. Once more, the tool of choice is SharePoint Designer. If you're doing a public facing web site, you can start from scratch, and drop in your SharePoint functionality only as you need it. But if you are doing an Intranet portal, you should keep as much of the "stock" SharePoint as you can. Again, start with the theme CSS, and then start working on your Master page. You might find you don't need to change nearly as much as you initially thought. There are a lot of standard SharePoint components used in the default Master page. Learn about them, and don't throw them away when you build your own Master pages.
When you finally reach the point where you just can't implement the functionality you need through Themes, the Data View, or custom Master Pages, only then do you need to reach for Visual Studio. But even here, there is a hierarchy of needs. You don't need to come out of the gate with the "big guns" - a new Site Definition. In fact, that should be pretty close to your last resort. Instead, go for creating Features. Features can be added to sites as needed. You can even force their deployment through Stapling them to existing Site Definitions. Features can be activated, deactivated, and even upgraded, on existing sites.
None of this is to say that Site Definitions are obsolete, or should never be used. You just need to be aware that this is a very fundamental construct. Once you build a site from a site definition, you cannot change it to a different definition later. You can still tweak it with additional features, but you can't change the "kind" of site it is. It will not be a "SharePoint Team Site", easily and transparently upgrade-able. It will be an "Acme Group SIte", or whatever you have called it, and you need to plan for its entire life-cycle (Much like adopting a puppy). There may be extra steps in the upgrade process, for example (though, at this time, we don't know what those steps might be). You may have trouble getting support if the person who created the Site Definition moves on to greener pastures. This may be worth it for your environment, but it is something you need to take into account.
Note: This classic post was one of the most popular on my old site. I'm including it here for your "enlightenment"...
SharePoint is big. Really big. So big, in fact, that it is very hard, some might say impossible, for any one person to fully comprehend. Now, I wouldn't go quite that far, but I will say that many people approach SharePoint in much the same way as the blind men approached the elephant.
What? You haven't heard the parable of the blind men and the elephant? Well, sit back and relax, while I digress a moment…
Once upon a time (don't they all begin this way?) Anyway, once upon a time, there was a group of blind men traveling down the path to enlightenment when they encountered an elephant and his trainer. The elephant was totally blocking the road, so the trainer said to the men, "Please wait, while I move my elephant out of your way."
"We have never met an elephant before," the men said. "May we touch it so that we may know what an elephant is?"
"Of course!" The trainer said, and the men approached the elephant.
The men reached forward as they walked, and each spoke to the others according to what they perceived.
The first man walked into the side of the elephant, felt up, and down, and side to side and exclaimed "I have encountered a wall. An elephant is a large, warm wall!"
The second man had walked up to the elephant's leg. He said "Are you crazy? This is no wall, but round, and sturdy, like a tree trunk, or a pillar. An elephant is a kind of tree!"
The third had encountered the trunk and said "You are both wrong. An elephant is a large serpent, like a python, but without bones!"
The fourth, who had felt the elephant's ear, believed it to be a piece of canvas, while the fifth was equally convinced by his encounter with the tail that an elephant was a brush for cleaning things better left unmentioned in a family blog.
The blind men argued with each other, each believing that his view of the elephant was the correct one. They were about to come to blows when the trainer, who was also very wise intervened: "Gentlemen, please, you are each right, in your own way, but also all of you are totally wrong. An elephant is neither wall, nor tree, nor serpent, or even bottle brush. It is a vast creature of many parts, some of which resemble the familiar things you have perceived. But to truly understand the elephant you must expand your perception, and approach not just the piece you are familiar with, but the entire animal."
With that, the trainer had moved the elephant from the path of the blind men, who had just taken another major step on their journey toward enlightenment.
Now, back to our regularly scheduled blog post…
What you see when you first approach SharePoint will vary considerably depending upon your experience and what you expect to find. You might, as a network administrator, first see SharePoint as a stand-alone application. And you would be right. SharePoint provides a great "out-of-box" experience, with tools for file sharing, team collaboration and communication, project management, all wrapped up with easy distributed administration functions.
As a business analyst, you might say "Wow! Look at the all of the tools I have to aggregate knowledge and business intelligence" You see SharePoint as an integration portal, able to give you windows into data scattered throughout your organization through search, through the BDC, or even Forms and Excel Services. And again, you would be right.
As a software developer, you might see SharePoint as a rich application platform. Almost like an extension of the .NET framework, with its own API, an extensive object model, built-in modularity, and extensibility. Also correct!
SharePoint is all of those things. And more. But to treat SharePoint simply as an application, or BI aggregator, or development platform is missing the "Point". What if I told you that you could, in your integration portal, add connections between your views and information already within SharePoint so you can filter results dynamically, customize the look, enter in new information, and notify your team of changes, all without writing a line of code? Or by adding a little custom code behind the scenes, alter the experience to the point where you might never know you were using SharePoint? This is all possible, just shifting your mind set.
As an administrator, look at the SharePoint API and object model to see what you can do with just a little programming (e.g. my previous blog entry regarding "The SharePoint Nobody Sees")
As an analyst, don't just look at how SharePoint can connect to your data, but how you can connect the pieces of a page together to coax even more intelligence from your knowledge.
As a developer, familiarize yourself, not just with the object model, or the web service API, but with the front-end customizations that are available before you even open Visual Studio. Web part connections, Data web parts, and the WPSC are just waiting to do your bidding!
Like the elephant in the story, SharePoint is a beast of many parts that each can, at first glance, look complete. But to truly understand it, you must venture outside your comfort zone, and see how the parts connect and relate. Only then can you say "I have seen the elephant!"
This is the conclusion of a two-part article about customizing the SharePoint (MOSS), and Search Server, Advanced Search Web Part. In Part 1, you learned about the basic settings of the Web Part - which search options are shown, and how they are labeled. In Part 2, I'll show you how to change which language and document type filters are available to your users.
We completed Part 1 by describing how to configure groups for the Display group option in the "Scopes" section of the settings task pane...
Below the Display group option you will find the options for showing and labeling the language and result type pickers.
Checking the checkbox shows the picker, and entering text in the label field replaces the default label text. Just as with the other choices, clearing the text will restore the default label for the selection.
The next group of settings is "Properties", and this is where things start getting a bit more complicated.
Notice that there are only three options:
Just as before, the checkbox and label fields display and label the Properties list. But it is the Properties field which really interests us.
In the small part shown in this text box, you see the beginnings of an XML definition...
As they say, "this is just the tip of the iceberg". This XML is actually over 100 lines long! That is because it provides definitions for virtually everything else on the Advanced Search form. If you highlight the field, you will see the "elipsis" button as shown above. Clicking this will summon a larger text editing window:
Note: There are no line-breaks in the default XML. They are provided in the following examples for clarity.
There are four primary nodes under the root:
LangDefs, or Language Definitions, provides a list mapping all of the languages that SharePoint Search supports, ranging from Arabic to Vietnamese. A typical LangDef sub-node looks like this:
<LangDef DisplayName="Lithuanian" LangID="39" />
The nodes for the default languages are:
<LangDef DisplayName="French" LangID="12" />
<LangDef DisplayName="German" LangID="7" />
<LangDef DisplayName="Japanese" LangID="17" />
<LangDef DisplayName="Spanish" LangID="10" />
The LangID parameter is used in the next section, Languages. The Languages section, by default, lists the four nodes for French, German, Japanese, and Spanish:
<Languages>
<Language LangRef="12" />
<Language LangRef="7" />
<Language LangRef="17" />
<Language LangRef="10" />
</Languages>
The LangRef parameter is the LangID parameter from the LangDefs node of the desired language. To add another language to the list, simply add another Language Node. To remove one, remove the node. The languages are presented in the order listed. Substituting the code for Lithuanian(39) for Japanese(17) in the Languages section gives the following results in the Advanced Search form:
Just as LangDefs were used for Languages, the PropertyDefs are used for the ResultTypes. The actual implementation is a bit more complex.
Here is the default PropertyDefs node and its children:
<PropertyDefs>
<PropertyDef Name="Path" DataType="text" DisplayName="URL" />
<PropertyDef Name="Size" DataType="integer" DisplayName="Size" />
<PropertyDef Name="Write" DataType="datetime" DisplayName="Last Modified Date" />
<PropertyDef Name="FileName" DataType="text" DisplayName="Name" />
<PropertyDef Name="Description" DataType="text" DisplayName="Description" />
<PropertyDef Name="Title" DataType="text" DisplayName="Title" />
<PropertyDef Name="Author" DataType="text" DisplayName="Author" />
<PropertyDef Name="DocSubject" DataType="text" DisplayName="Subject" />
<PropertyDef Name="DocKeywords" DataType="text" DisplayName="Keywords" />
<PropertyDef Name="DocComments" DataType="text" DisplayName="Comments" />
<PropertyDef Name="Manager" DataType="text" DisplayName="Manager" />
<PropertyDef Name="Company" DataType="text" DisplayName="Company" />
<PropertyDef Name="Created" DataType="datetime" DisplayName="Created Date" />
<PropertyDef Name="CreatedBy" DataType="text" DisplayName="Created By" />
<PropertyDef Name="ModifiedBy" DataType="text" DisplayName="Last Modified By" />
</PropertyDefs>
These represent the standard managed properties used by SharePoint Search. Each PropertyDef provides the actual managed property name, a DisplayName (or Friendly Name) for use in the Property Restrictions dropdown, and the DataType, to allow the UI to provide appropriate comparison prompts. If you define your own managed properties in Search, you will need to manually add each property to this list if you wish your users to be able to choose them in the "Add property restrictions" section. In addition, you will need to add them to the appropriate ResultTypes.
The ResultTypes node contains the definitions for the items which appear in Result type dropdown:
A typical result type definition, for Word documents, is listed below:
<ResultType DisplayName="Word Documents" Name="worddocuments">
<Query>FileExtension='doc' Or FileExtension='docx' Or FileExtension='dot'</Query>
<PropertyRef Name="Author" />
<PropertyRef Name="DocComments" />
<PropertyRef Name="Description" />
<PropertyRef Name="DocKeywords" />
<PropertyRef Name="FileName" />
<PropertyRef Name="Size" />
<PropertyRef Name="DocSubject" />
<PropertyRef Name="Path" />
<PropertyRef Name="Created" />
<PropertyRef Name="Write" />
<PropertyRef Name="CreatedBy" />
<PropertyRef Name="ModifiedBy" />
<PropertyRef Name="Title" />
<PropertyRef Name="Manager" />
<PropertyRef Name="Company" />
</ResultType>
You might wonder, "Why are all of these properties listed here, when they were already defined above?"
The answer is simple, not all properties apply to every document type. Something few people have noticed is, when you select a result type, the property restrictions list changes to reflect the properties defined for that result. For example, a Zip file would not have metadata for most document properties. if you have added a Zip iFilter to your search environment, you could add a Result type node for Zip files that looks like this:
<ResultType DisplayName="Zippy Results" Name="zippy">
<Query>FileExtension='zip'</Query>
<PropertyRef Name="FileName" />
<PropertyRef Name="Size" />
<PropertyRef Name="Path" />
<PropertyRef Name="Created" />
<PropertyRef Name="Write" />
<PropertyRef Name="CreatedBy" />
<PropertyRef Name="ModifiedBy" />
</ResultType>
Now, not only can your users search specifically for Zip files, they won't be confused by being offered the option to search for "Comments" that don't exist.
The query node isn't restricted to just file extensions. You can set up a result type with virtually any query supported by the SharePoint Search engine. The "Documents" Result type, for example, simply uses the IsDocument property:
<Query>IsDocument=1</Query>
This article has given you an overview of the tremendous flexibility of the Advanced Search web part. You have learned about both the easy "checkbox" options and the not so straight-forward XML configuration file. You can now tailor Advanced Search to the specific languages, documents, and custom properties used in your environment.
If you have been using MOSS Search or Search Server, you have probably noticed that the Advanced Search page gives you lots of options to restrict results. From different word filters, to particular languages, to document types - even specific document properties. You may have wondered how (or even if) you could cut back the list of word filters. For example, you might only want your users to search for exact phrases. Or maybe you want the language list or document types to reflect the languages and documents actually in use by your enterprise, without reinventing the whole form.
Well, you can. In fact, you can make a lot of changes to the Advanced Search form. This two-part article will show you how to get the most out of this powerful control. This part will focus on the "easy" part - the word filters and enabling scope-based search. Part 2 will describe configuring Languages, and talk about customizing Advanced Search for the documents in your organization.
Take the typical Advanced Search page shown here...
It contains an Advanced Search web part (you can also place this part on any page on a with the Enterprise Search parts Feature activated). There are three primary selections of the web part:
The first section, Find documents with..., is pretty easy to control. The first thing you'll need to do is get to the properties pane for the web part. On the default Advanced Search page, you don't have access to the title bar of the web part unless you are in Edit mode, so the first thing you need to do is get there! (If you have added an advanced search web part to a different page, you may be able to simply select "Modify Shared Web Part" from the Part menu.)
From here, you can enable or disable each of the four word-search types. You can also customize the display to use prompts other than the defaults. While I think the descriptions used for this section are pretty good, perhaps for some reason instead of "None of these words", you want the prompt to say "Exclude these words". Just the updated text into the text box below the check box, and click Apply. (Note: due to caching you may not actually see the results until you access the page again through the site navigation.)
Couldn't be easier, right?
If you use multiple scopes in your site, you can also configure the Advanced Search box to show them. The next section of the task pane is the "Scopes" section.
Just as with the word restriction options, you can easily show or hide the scope picker, and change the labels of both the section as a whole, and the Scopes block. Notice that you can also enable, disable, and re-label the languages and results types from here. I'll talk about that more in Part 2.
For now, notice the "Display group" option. This is where you control which scopes are displayed in your advanced search form. The default is, naturally "Advanced Search". However, you can change this to any display group configured on your site.
To configure a display group, you need to go to your Site Settings page. Then, under Site Collection Administration, click the View Scopes option. You will see a page that resembles the one below.
When you create or edit a display group, you will see the form below.
Here you first give your group a title (which was used in the Display group form above). Then, select which of your scopes to include, the order in which they appear, and which will be selected by default when using a drop-down control, such as that the one in the "corner" search box.
(Note: The actual defining of scopes is a subject for another article)
In this part, you have seen how easy it is to configure the "top" half of the Advanced Search box. MOSS (or Search Server) provides an easy interface for enabling and disabling sections, and for configuring Scope Display Groups.
Unfortunately, the rest of the configuration isn't quite as simple. The second part of this article will take you into the depths of the XML required to customize the remainder of the Advanced Search box.
|
|