<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SharePoint.Sharon &#187; web parts</title>
	<atom:link href="http://www.sharepointsharon.com/tag/web-parts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointsharon.com</link>
	<description>news and tips about SharePoint and friends</description>
	<lastBuildDate>Tue, 24 Jan 2012 12:03:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Embedding PDFs in SharePoint</title>
		<link>http://www.sharepointsharon.com/2010/08/embedding-pdfs/</link>
		<comments>http://www.sharepointsharon.com/2010/08/embedding-pdfs/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 09:50:47 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[web parts]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=1568</guid>
		<description><![CDATA[<p>This question cropped up a couple of times in the comments to the <a href="http://www.sharepointsharon.com/2010/03/sharepoint-2010-and-adobe-pdf/">Adobe PDF Indexing</a> blog post</p>
<blockquote><p>How do you open a PDF in a web page on SharePoint?</p></blockquote>
<p>Here is the method I use. There may be prettier and better ways to do it. If you know of one, please add a comment.</p>
<h4>The short version:</h4>
<ol>
<li>Take one Content Editor web part</li>
<li>Enter &#60;embed&#62; tags containing the PDF fie as the source</li>
</ol>
<h4>The longer version...</h4>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2010%2F08%2Fembedding-pdfs%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2010%2F08%2Fembedding-pdfs%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This question cropped up a couple of times in the comments to the <a href="http://www.sharepointsharon.com/2010/03/sharepoint-2010-and-adobe-pdf/">Adobe PDF Indexing</a> blog post</p>
<blockquote><p>How do you open a PDF in a web page on SharePoint?</p></blockquote>
<p>Here is the method I use. There may be prettier and better ways to do it. If you know of one, please add a comment.</p>
<h4>The short version:</h4>
<ol>
<li>Take one Content Editor web part</li>
<li>Enter &lt;embed&gt; tags containing the PDF fie as the source</li>
</ol>
<h4>The longer version:</h4>
<ol>
<li>Upload the PDF you want to display to a SharePoint library. From within the library, right click the PDF file name and select &#8216;Copy Shortcut&#8217; (this takes a copy of the full URL to the file)<br />
<a href="http://www.sharepointsharon.com/wp-content/uploads/2010/08/embed2.png"><img class="aligncenter size-medium wp-image-1582" title="embed2" src="http://www.sharepointsharon.com/wp-content/uploads/2010/08/embed2-300x202.png" alt="" width="300" height="202" /></a></li>
<li>Add a &#8216;Content Editor&#8217; web part to a SharePoint web page.
<ul>
<li>If you&#8217;re using SharePoint 2007, it&#8217;s in the Miscellaneous group in the web part gallery</li>
<li>If you&#8217;re using SharePoint 2010, it&#8217;s in the Media and Content group in the web part ribbon</li>
</ul>
</li>
<li>Edit the web part to insert your code
<ul>
<li>SharePoint 2007 &#8211; Modify the web part and click the Source button in the task pane (not the Rich Text Editor button)</li>
<li>SharePoint 2010 &#8211; In the &#8216;Format Text&#8217; ribbon, click the HTML Editor button<br />
<a href="http://www.sharepointsharon.com/wp-content/uploads/2010/08/embed1.png"><img class="aligncenter size-medium wp-image-1583" title="embed1" src="http://www.sharepointsharon.com/wp-content/uploads/2010/08/embed1-300x175.png" alt="" width="300" height="175" /></a></li>
</ul>
</li>
<li>Insert the code
<ul>
<li>Click CTRL + V to paste the shortcut to the PDF file</li>
<li>Then add the following code, using your shortcut in place of FILENAME.PDF
<pre> &lt;object&gt;&lt;embed src="FILENAME.PDF" height="600" width="600"
 type="application/pdf"&gt;&lt;/embed&gt;&lt;/object&gt;
</pre>
<p>Here&#8217;s an example:</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2010/08/embed3.png"><img class="aligncenter size-medium wp-image-1584" title="embed3" src="http://www.sharepointsharon.com/wp-content/uploads/2010/08/embed3-300x98.png" alt="" width="300" height="98" /></a></li>
<li>Click OK/Save to save the code and then OK to save the web part</li>
</ul>
</li>
<li>You should now see your PDF file displayed in the web part. If required, adjust the height and width values until the PDF is displayed how you want it (preferably one full page in view). In SharePoint 2010, the code may have been modified a little &#8211; don&#8217;t panic.</li>
<li>Save and publish your page (or Stop Editing, depending on what site template and version of SharePoint you are using)</li>
</ol>
<p>Hey presto: One PDF document viewed inside a SharePoint web page. Cue free advertising for the last PDF that arrived onto my computer <img src='http://www.sharepointsharon.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2010/08/embed4.png"><img class="aligncenter size-medium wp-image-1585" title="embed4" src="http://www.sharepointsharon.com/wp-content/uploads/2010/08/embed4-242x300.png" alt="" width="242" height="300" /></a></p>
<p><strong>Notes:</strong></p>
<p>You must use the Content Editor web part for this task. If you try adding &lt;embed&gt; tags to a standard page control (for embedded content within the page), SharePoint will remove the tags when the page is saved and your hard work will disappear. If you&#8217;re running SharePoint with extra strong <span style="text-decoration: line-through;">mints</span> security, you may also find the &lt;embed&gt; tags are stripped out when attempting to save your work.</p>
<p>People will still need a PDF reader installed on their client in order to view the PDF embedded in the web page, just the same as when visiting any other web site with embedded PDFs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2010/08/embedding-pdfs/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Configuring the &#8216;I need to&#8230;&#8217; web part</title>
		<link>http://www.sharepointsharon.com/2009/08/configuring-the-i-need-to-web-part-in-sharepoint-server-2007/</link>
		<comments>http://www.sharepointsharon.com/2009/08/configuring-the-i-need-to-web-part-in-sharepoint-server-2007/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 11:00:00 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[install & config]]></category>
		<category><![CDATA[site admin]]></category>
		<category><![CDATA[web parts]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=18</guid>
		<description><![CDATA[<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2009/08/ineedto.jpg"><img class="aligncenter size-full wp-image-1155" title="ineedto" src="http://www.sharepointsharon.com/wp-content/uploads/2009/08/ineedto.jpg" alt="" width="214" height="86" /></a></p>
When you create a site collection using the Collaboration Portal template in Microsoft Office SharePoint Server 2007, you get an extra web part not available in any of the other templates. It's called 'I need to...' and displays a list of options, starting with 'Set up MySite'. It starts life on the home page of the top-level site in the site collection...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2009%2F08%2Fconfiguring-the-i-need-to-web-part-in-sharepoint-server-2007%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2009%2F08%2Fconfiguring-the-i-need-to-web-part-in-sharepoint-server-2007%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2009/08/ineedto.jpg"><img class="aligncenter size-full wp-image-1155" title="ineedto" src="http://www.sharepointsharon.com/wp-content/uploads/2009/08/ineedto.jpg" alt="" width="214" height="86" /></a></p>
<p>When you create a site collection using the Collaboration Portal template in Microsoft Office SharePoint Server 2007, you get an extra web part not available in any of the other templates. It&#8217;s called &#8216;I need to&#8230;&#8217; and displays a list of options, starting with &#8216;Set up MySite&#8217;. It starts life on the home page of the top-level site in the site collection.</p>
<p>It&#8217;s a useful web part because you can give access to a lot of links without taking up much screen estate. The web part is automatically included on the home page of any site collection created using the Collaboration Portal template and is also listed in the web part gallery. But if you add it to any other site in your site collection, it will start with an error message. It&#8217;s a few easy steps to replace that error message with a new list of items to choose from.</p>
<p>I&#8217;ve reconfigured the &#8216;I need to&#8230;&#8217; web part a fair few times for customers and figured it was time to write a &#8216;how to&#8217; blog post. You can use the &#8216;I need to&#8230;&#8217; web part with any list on any site within the site collection. Here&#8217;s how to get it working.</p>
<p><strong>Minimum Requirements</strong></p>
<ul>
<li>SharePoint Server 2007 &#8211; Standard or Enterprise Edition</li>
<li>A site collection created using the Collaboration Portal template</li>
<li>Site Admin permission (to edit pages, add web parts and what not)</li>
</ul>
<p>This web part only works in SharePoint Server, that is Microsoft Office SharePoint Server 2007. Either version (Standard or Enterprise) will do, but little ol&#8217; Windows SharePoint Services will not do. You can try exporting from a SharePoint Server and importing it to Windows SharePoint Services (like I tried) and you will get an error message when you try to configure it. Probably hackable with a bit of effort but definitely not supported and questionable on the licensing front. Also, the web part is only included within the web part gallery within site collections created using the Collaboration Portal template</p>
<p><strong>Step 1: Add the &#8216;I need to&#8230;&#8217; web part to your site</strong></p>
<p><a style="text-decoration: none;" href="http://www.sharepointsharon.com/wp-content/uploads/2009/08/ineedto-error2.jpg"><img class="aligncenter size-medium wp-image-1159" title="ineedto-error2" src="http://www.sharepointsharon.com/wp-content/uploads/2009/08/ineedto-error2-300x192.jpg" alt="" width="300" height="192" /></a></p>
<p>This bit is easy. On the site where you want to add the new &#8216;I need to&#8230;&#8217; list, go to the home page and click Site Actions &#8211; Edit Page. Click Add a web part and choose &#8216;I need to&#8230;&#8217; from within the Web Part gallery (it&#8217;s usually listed in the Default Group).</p>
<p>When you first add the web part to a new site, it will display with an error message similar to the one above. This is because the web part in the gallery is configured to point to a specific list from a specific site that doesn&#8217;t match the site you just added the web part to. We&#8217;ll be fixing that.</p>
<p><strong>Step 2: Create a list to contain the items to appear under &#8216;I need to&#8230;&#8217;</strong></p>
<p style="text-align: center;"><a href="http://www.sharepointsharon.com/wp-content/uploads/2009/08/ineedto-testitem.jpg"><img class="aligncenter size-medium wp-image-1160" title="ineedto-testitem" src="http://www.sharepointsharon.com/wp-content/uploads/2009/08/ineedto-testitem-300x95.jpg" alt="" width="300" height="95" /></a></p>
<p>We need to create a list to contain the items you want to appear under &#8216;I need to&#8230;&#8217; This will become the list name in the web part properties (replacing /sitedirectory/sites)</p>
<ul>
<li>Create a new list based on the Links list template</li>
<li>Add a new column called &#8216;Display&#8217;, make it a Choice of Yes or No, with Yes as the default. This column and value will be used as the Filter Field and Filter Value in the web part properties (required to make the web part work)</li>
<li>Add a new item to the list, this will be used to test the web part is configured correctly (I tend to use a dummy link and name)</li>
</ul>
<p><strong>Step 3: Configure the &#8216;I need to&#8230;&#8217; web part to use your new list</strong></p>
<p style="text-align: center;"><a style="text-decoration: none;" href="http://www.sharepointsharon.com/wp-content/uploads/2009/08/ineedto-config1.jpg"><img class="aligncenter size-medium wp-image-1157" title="ineedto-config1" src="http://www.sharepointsharon.com/wp-content/uploads/2009/08/ineedto-config1-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>Go back to the page where you added the &#8216;I need to&#8230;&#8217; web part and modify the web part. In the tool pane, modify the web part properties:</p>
<ul>
<li>Under List Name, click the Change button and select your new list</li>
<li>Under Filter Field, select the Display common</li>
<li>Under Filter Value, select Yes.</li>
<li>Click Apply to apply the changes made to the web part and see if the &#8216;I need to&#8230;&#8217; web part is now displaying a dropdown menu with &#8216;Choose task&#8217; displayed instead of the original error message</li>
</ul>
<p>Chances are, the error message is still showing. I don&#8217;t know why but I usually have to perform these steps twice to make the changes stick. So repeat the steps &#8211; select the list, set the Filter Field and Filter Value, then click Apply again. It usually works fine the second time:</p>
<p>Final step, before you click OK and close the toolpane for the web part. If you are planning to use long titles for the items to be listed under &#8216;I need to&#8230;&#8217;, the default width of the web part will not be long enough to display them. To increase the width, enter a value in the Width: text box. Choosing 200 pixels creates a width about 25% longer than the default width.</p>
<p>And hey presto, you now have a new &#8216;I need to&#8217; web part configured to display items from your own list.</p>
<p>What you put in the list is entirely up to you. It can be a list of favourites (you don&#8217;t need to leave it named as &#8216;I need to&#8230;&#8217; edit the web part properties and change the title to something else, such as &#8216;Top sites to visit&#8217;). More often, it&#8217;s a list of processes such as book a vacation, request a something or other&#8230; Anything can go in the list as long as it is a link that works (easy way to check &#8211; open the link in your browser and see what happens)</p>
<p><strong>Final note:</strong></p>
<p>If all you wanted to do was add items to the existing &#8216;I need to&#8230;&#8217; web part (i.e. below &#8216;Set up MySite in the first image in this post), you can take the easy route and not set up an entirely new &#8216;I need to&#8230;&#8217; list. Instead, all you need to do is:</p>
<ul>
<li>Navigate to the Site Directory</li>
<li>Click on Site Actions &#8211; View All Site Content,</li>
<li>In the All Site Content page, click on &#8216;Sites&#8217;. In the Sites list, add your items and make sure you check the box &#8216;Tasks and Tools&#8217; (that&#8217;s the Filter Field and Value) for each one</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2009/08/configuring-the-i-need-to-web-part-in-sharepoint-server-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint RSS Viewer web part</title>
		<link>http://www.sharepointsharon.com/2007/08/sharepoint-rss-viewer-web-part/</link>
		<comments>http://www.sharepointsharon.com/2007/08/sharepoint-rss-viewer-web-part/#comments</comments>
		<pubDate>Sat, 04 Aug 2007 13:27:00 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[site admin]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[web parts]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/2007/08/sharepoint-rss-viewer-web-part/</guid>
		<description><![CDATA[[Update: Sept 2010] &#8211; For a more detailed explanation about the authentication issue, visit &#8216;RSS Viewer web part and authenticated feeds&#8216; (MSDN blog) Same issue applies to SharePoint 2010 but access to settings has changed slightly &#8211; Central Admin &#8211; Security (in sidebar on the left) &#8212;&#8211; original post &#8212;&#8211; SharePoint Server 2007 includes an [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2007%2F08%2Fsharepoint-rss-viewer-web-part%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2007%2F08%2Fsharepoint-rss-viewer-web-part%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>[Update: Sept 2010] &#8211; For a more detailed explanation about the authentication issue, visit &#8216;<a href="http://blogs.msdn.com/b/markarend/archive/2006/10/03/rss-viewer-web-part-and-authenticated-feeds.aspx">RSS Viewer web part and authenticated feeds</a>&#8216; (MSDN blog)</p>
<p>Same issue applies to SharePoint 2010 but access to settings has changed slightly &#8211; Central Admin &#8211; Security (in sidebar on the left)</p>
<p>&#8212;&#8211; original post &#8212;&#8211;</p>
<p>SharePoint Server 2007 includes an RSS Viewer web part for viewing RSS feeds. Every list or library within SharePoint has an associated RSS feed that you can subscribe to. The RSS feed is located under the Action button in the list toolbar &#8211; see screenshot below:</p>
<p><a href="http://www.joiningdots.net/blog/uploaded_images/menu-756083.jpg"><img style="display: block; margin: 0px auto 10px; cursor: hand; text-align: center;" src="http://www.joiningdots.net/blog/uploaded_images/menu-756078.jpg" border="0" alt="" /></a></p>
<p>The RSS feed will be displayed in the browser, like the screenshot below:</p>
<p><a href="http://www.joiningdots.net/blog/uploaded_images/feed-729532.jpg"><img style="display: block; margin: 0px auto 10px; cursor: hand; text-align: center;" src="http://www.joiningdots.net/blog/uploaded_images/feed-729529.jpg" border="0" alt="" /></a></p>
<p>The RSS feed is not designed to be read direct inside the browser like this. Instead, you should add the RSS Viewer web part (it is one of the default web parts available &#8216;out of the box&#8217; with SharePoint) to a page and then modify the web part to include the URL to the RSS feed. The easiest way to do this is to copy the URL from the browser window (you can see it in the screenshot above) and then paste it into the URL box for the web part (as shown in the screenshot below):</p>
<p><a href="http://www.joiningdots.net/blog/uploaded_images/webpart-735689.jpg"><img style="display: block; margin: 0px auto 10px; cursor: hand; text-align: center;" src="http://www.joiningdots.net/blog/uploaded_images/webpart-735686.jpg" border="0" alt="" /></a></p>
<p>In this example, the RSS Viewer web part has been configured with the RSS feed for the Calendar list within the team site. As soon as somebody creates or updates an entry in the calendar, the RSS Viewer web part will be updated and display the title of the new entry.</p>
<p>RSS feed is a geeky phrase for what is simply a news feed. If you want to keep track of what&#8217;s going on in a given list or library, then subscribing to a news feed means you will automatically receive the updates when they are published, rather than having to go and keep checking on the list to see if there are any changes. (I always rename the RSS Viewer web part with a friendlier update &#8211; in this example, I would use &#8216;Calendar updates&#8217;) You can see the RSS Viewer on display in the screenshot below. A list item &#8211; Management meeting &#8211; has been expanded to show more details:</p>
<p><a href="http://www.joiningdots.net/blog/uploaded_images/feedview-790665.jpg"><img style="display: block; margin: 0px auto 10px; cursor: hand; text-align: center;" src="http://www.joiningdots.net/blog/uploaded_images/feedview-790663.jpg" border="0" alt="" /></a></p>
<p>If you are having problems with getting the RSS Viewer web part to display on your page, specifically you are receiving the message &#8216;The RSS webpart does not support authenticated feeds&#8217;, you need to change your authentication provider settings from NTLM to Kerberos. To do this, go to SharePoint Central Administration and click on the Application Management tab.  Within the list of options, click on Authentication Providers. Click on Default (should be the only one listed if you are an &#8216;out of the box&#8217; set-up). Under IIS Authentication Settings, the checkbox for Integrated Windows authentication should be selected. Change the radio button selection from NTLM to Negotiate (Kerberos). Click Save. If you go and refresh the page containing the RSS Viewer web part, the feed should now be displayed, i.e. it worked on my machine <img src='http://www.sharepointsharon.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  If it doesn&#8217;t work, chances are you need to change the account being used for your application pool settings.</p>
<p>RSS feeds share similarities with another SharePoint feature &#8211; Aerts. For an explanation of the similarities and differences, please check out a previous blog post: <a href="http://www.joiningdots.net/blog/2006/09/sharepoint-and-rss-vs-alerts.html">SharePoint and RSS versus Alerts</a></p>
<p>Technorati tags: <a href="http://www.technorati.com/tag/sharepoint">SharePoint</a>, <a href="http://www.technorati.com/tag/sharepoint+2007">SharePoint 2007</a>, <a href="http://www.technorati.com/tag/moss+2007">MOSS 2007</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2007/08/sharepoint-rss-viewer-web-part/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

