16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

968 Part IX: Maintaining a Server in Windows SharePoint Services<br />

We need to change some properties of the General Discussion Web Part so that<br />

it is easy to identify. In the title bar of General Discussion, click the drop-down<br />

arrow to show the menu <strong>and</strong> select Modify Shared Web Part. This should open the<br />

General Discussions properties window on the right side of the page. To show this<br />

as a true discussion, we’ll make the following changes:<br />

1. Change the Selected View to Threaded. (You will receive a message “Switching<br />

to a different view removes changes you made to this view, <strong>and</strong> may disable<br />

Web Part connections that depend on columns in this view.” Click OK to close<br />

this message.)<br />

2. Change the Toolbar Type to Full Toolbar.<br />

3. Scroll down to find the Appearance submenu, <strong>and</strong> click the plus sign (+) next<br />

to it to open it. Change the title from General Discussion to Problem/Solutions<br />

Knowledge Base.<br />

4. Scroll down a bit further <strong>and</strong> change Frame Style to Title Bar <strong>and</strong> Border.<br />

5. Scroll down to the Advanced submenu, <strong>and</strong> click the plus sign (+) to exp<strong>and</strong><br />

it. Deselect the Allow Minimize, Allow Close, <strong>and</strong> Allow Zone Change<br />

options. (This forces the Web Part to appear on the page <strong>and</strong> specifies that it<br />

cannot be moved or closed by the user.)<br />

6. Scroll to the bottom of the window, <strong>and</strong> click the Apply button.<br />

7. Click OK to close the Web Part properties.<br />

Add Data to the Web Part<br />

The first thing we need to do is add some data to the Web Part so that we can see<br />

something from the ASP.NET application. On the Problem/Solutions Knowledge<br />

Base Web Part, click New Discussion. This opens the New Item page. For the subject,<br />

enter How Cool Problem/Solutions, <strong>and</strong> for the text, you can enter anything<br />

you want. The text you enter could be a description of the discussion, a list of<br />

team members, <strong>and</strong> so on. Right now we’re just entering text to get the discussion<br />

started.<br />

Click Save <strong>and</strong> then click Close from the menu to save this discussion thread.<br />

We need to add another item just for good measure. Click New Discussion in the<br />

title bar of the Problem/Solutions Knowledge Base Web Part to open the New Item<br />

page. Type some text. (What you enter is not important.) For the example, we’ve<br />

typed in text describing a problem with the solution, <strong>and</strong> as you’ll notice, we’ve<br />

taken advantage of the built-in text formatting.<br />

Click Save <strong>and</strong> then click Close from the menu at the top, which returns you to<br />

the new page. You should now see the two new discussion threads in your Web Part.<br />

Using Text Formatting in the messages is particularly important. When the user<br />

clicks the plus sign (+) next to the discussion to exp<strong>and</strong> it, she gets to see the nicely<br />

formatted information.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!