<?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>Kraft Kennedy &#124; Technology Blog &#187; MOSS</title>
	<atom:link href="http://blogs.kraftkennedy.com/index.php/tag/moss/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.kraftkennedy.com</link>
	<description>Trends and insight into legal technology, infrastructure and strategic thinking.</description>
	<lastBuildDate>Wed, 14 Jul 2010 20:44:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SharePoint Redirection Options in Upload and New Item Forms</title>
		<link>http://blogs.kraftkennedy.com/index.php/2010/02/17/sharepoint-redirection-options-in-upload-and-new-item-forms/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2010/02/17/sharepoint-redirection-options-in-upload-and-new-item-forms/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 17:57:34 +0000</pubDate>
		<dc:creator>Michael Fettner</dc:creator>
				<category><![CDATA[Enterprise Content Management]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=1057</guid>
		<description><![CDATA[When you click &#8220;New Item&#8221; in any SharePoint list or &#8220;Upload&#8221; in any document library, SharePoint sends you to a standard form for creating the new item.  Behind the scenes, SharePoint also passes in two parameters to let the form know where to post the item and where to go after the item is posted.  [...]]]></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%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F02%2F17%2Fsharepoint-redirection-options-in-upload-and-new-item-forms%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F02%2F17%2Fsharepoint-redirection-options-in-upload-and-new-item-forms%2F" height="61" width="51" /></a></div><p>When you click &#8220;New Item&#8221; in any SharePoint list or &#8220;Upload&#8221; in any document library, SharePoint sends you to a standard form for creating the new item.  Behind the scenes, SharePoint also passes in two parameters to let the form know where to post the item and where to go after the item is posted.  By leveraging these two parameters in the URL, you can make a link anywhere that posts data to any list and sends you someplace else when finished.  This has come in handy for us when creating intranet home pages, as we can create a list of links to post data to custom lists, which sends the person back to the home page afterwards.  Otherwise, the person would end up in the root of the list or library they submitted the item to.  So we were able to easily meet a requirement that the person be directed back to the home page after submitting the item.<br />
<span id="more-1057"></span><br />
A SharePoint new item link is structured as follows:</p>
<p><a href="https://intranet.kkl.com/development/Lists/Test1/NewForm.aspx?RootFolder=/development/Lists/Test1/sub&amp;Source=https://intranet.kkl.com">https://intranet.doman.com/site/Lists/listname/NewForm.aspx?RootFolder=/site/Lists/listname&amp;Source=https://intranet.domain.com</a></p>
<p>The two parameters of interest are <em>RootFolder</em> and <em>Source</em>.  <em>RootFolder </em>tells SharePoint where to post the document.  If it is removed from the URL then SharePoint will post data to the root of the list where newform.aspx is located.  You could also specify the path to a subfolder there, and SharePoint would post to that subfolder.  <em>Source </em>tells SharePoint where to go when the posting is complete.  The source needs to be a place in the site collection.  In the example link above it is back to the home page.  If source is left out of the URL then SharePoint will just return you back to the root of the list afterwards.</p>
<p>By using these two parameters, you can create lists of links on a page rather than having to drop in web parts, and you will gain more flexibility in how the user experience and navigation work.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2010/02/17/sharepoint-redirection-options-in-upload-and-new-item-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful Free Web Parts for SharePoint &#8211; Part 2</title>
		<link>http://blogs.kraftkennedy.com/index.php/2010/01/24/useful-free-web-parts-for-sharepoint-part-2/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2010/01/24/useful-free-web-parts-for-sharepoint-part-2/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 14:25:22 +0000</pubDate>
		<dc:creator>Michael Fettner</dc:creator>
				<category><![CDATA[Enterprise Content Management]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=1038</guid>
		<description><![CDATA[In a previous post, I discussed some useful free web parts for Windows SharePoint Services 3.0.  In this article I&#8217;ll discuss two more very helpful solutions for building extranets in SharePoint and for building more advanced workflows in SharePoint Designer.

CKS Forms Based Authentication Solution

http://www.codeplex.com/CKS/Release/ProjectReleases.aspx?ReleaseId=17901
This is a free open-source solution which handles much of the complexity [...]]]></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%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F01%2F24%2Fuseful-free-web-parts-for-sharepoint-part-2%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2010%2F01%2F24%2Fuseful-free-web-parts-for-sharepoint-part-2%2F" height="61" width="51" /></a></div><p>In a <a href="http://blogs.kraftkennedy.com/index.php/2009/10/08/useful-free-web-parts-for-sharepoint/" target="_blank">previous post</a>, I discussed some useful free web parts for Windows SharePoint Services 3.0.  In this article I&#8217;ll discuss two more very helpful solutions for building extranets in SharePoint and for building more advanced workflows in SharePoint Designer.<span id="more-1038"></span></p>
<ul>
<li><span><strong>CKS Forms Based Authentication Solution</strong></span></li>
</ul>
<p><a href="http://www.codeplex.com/CKS/Release/ProjectReleases.aspx?ReleaseId=17901">http://www.codeplex.com/CKS/Release/ProjectReleases.aspx?ReleaseId=17901</a></p>
<p>This is a free open-source solution which handles much of the complexity of building extranets in SharePoint.  It has web parts for creating new SQL user accounts, for extranet users to manage their password, and for access requests and approvals.  You used to have to use third-party software or a Visual Studio project for even just creating users in a SQL database.  With this solution installed, all forms-based user management is done right through the SharePoint settings interface.  The only thing you still have to do by hand is provision the database, and modify the web application web.config files to add a SQL authentication provider.  This solution has been extremely helpful for us in building a few client extranets.</p>
<ul>
<li> <strong>Useful Sharepoint Designer Custom Workflow Activities</strong></li>
</ul>
<p><a href="http://spdactivities.codeplex.com/">http://spdactivities.codeplex.com/</a></p>
<p>This solution adds a bunch of activities to SharePoint Designer&#8217;s Workflow Designer.  The activities are listed below.  This has allowed us to easily create several workflows in SharePoint Designer without writing any code.  In particular, we&#8217;ve been able to get around the problem where SharePoint form libraries show all submitted items to contributors by default.  This is an issue when users are submitting forms with sensitive data, which should only be viewable by administrators.  Rather than resorting to a code solution, you can create a workflow that simply &#8220;Grants Permission on Item&#8221; to the creator, and &#8220;Deletes List Item Permission Assignment&#8221; for the contributor group.  Presumably the admin group would already have full access.</p>
<ul>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Send%20Email%20with%20HTTP%20File%20attachment&amp;referringTitle=Home">Send Email with HTTP File attachment</a></strong> &#8211; Allows sending emails with attachments retrieved using a web request</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Send%20Email%20with%20List%20Item%20attachments&amp;referringTitle=Home">Send Email with List Item attachments</a></strong> &#8211; Allows sending list item attachments as files attached to an email</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Start%20Another%20Workflow&amp;referringTitle=Home">Start Another Workflow</a></strong>- Starts another workflow associated with a list item</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Grant%20Permission%20on%20Item&amp;referringTitle=Home">Grant Permission on Item</a></strong>- Allows granting of specified permission level on a specified item</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Delete%20List%20Item%20Permission%20Assigment&amp;referringTitle=Home">Delete List Item Permission Assigment</a></strong>- Allows deleting of specified permission level assignment for a given user</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Reset%20List%20Permissions%20Inheritance&amp;referringTitle=Home">Reset List Permissions Inheritance</a></strong> &#8211; removes any unique permissions assigned to an item by inheriting list permissions</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Is%20User%20a%20member%20of%20a%20SharePoint%20group&amp;referringTitle=Home">Is User a member of a SharePoint group</a></strong>- Checks if a given user is part of given SharePoint group</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Is%20Role%20assigned%20to%20User&amp;referringTitle=Home">Is Role assigned to User</a></strong> &#8211; Checks if a user role is already assigned on the current list item</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Lookup%20user%20info&amp;referringTitle=Home">Lookup user info</a></strong>- allows to lookup properties in site&#8217;s user information list for a given login</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Copy%20List%20Item%20Extended%20Activity&amp;referringTitle=Home">Copy List Item Extended Activity</a></strong> &#8211; Allows copying/moving list items and files cross site.</li>
<li><strong>Send Email Extended</strong>- Enhaced version of the OOTB activity. Allows you to specify the sender. Also does not break links in body.</li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Get%20InfoPath%20field%20inner%20text&amp;referringTitle=Home">Get InfoPath field inner text</a></strong></li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Get%20InfoPath%20field%20inner%20xml&amp;referringTitle=Home">Get InfoPath field inner xml</a></strong></li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Set%20InfoPath%20field%20inner%20text&amp;referringTitle=Home">Set InfoPath field inner text</a></strong></li>
<li><strong><a href="http://spdactivities.codeplex.com/wikipage?title=Set%20InfoPath%20field%20inner%20xml&amp;referringTitle=Home">Set InfoPath field inner xml</a></strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2010/01/24/useful-free-web-parts-for-sharepoint-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importing Employee Photos into MOSS 2007 MySites</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/12/25/importing-employee-photos-into-moss-2007-mysites/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/12/25/importing-employee-photos-into-moss-2007-mysites/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 14:36:10 +0000</pubDate>
		<dc:creator>Michael Fettner</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Enterprise Content Management]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[MySite]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=994</guid>
		<description><![CDATA[Most of the information in an employee&#8217;s MySite profile comes from the Active Directory profile import, which is set up in the SharePoint Shared Service Provider.  However, this can be tricky with employee photos since links to photos are not normally stored in Active Directory.  An easy way around this if you don&#8217;t want to store [...]]]></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%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F12%2F25%2Fimporting-employee-photos-into-moss-2007-mysites%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F12%2F25%2Fimporting-employee-photos-into-moss-2007-mysites%2F" height="61" width="51" /></a></div><p>Most of the information in an employee&#8217;s MySite profile comes from the Active Directory profile import, which is set up in the SharePoint Shared Service Provider.  However, this can be tricky with employee photos since links to photos are not normally stored in Active Directory.  An easy way around this if you don&#8217;t want to store the links in Active Directory, is to simply create a picture library in SharePoint and upload all of the employee photos to the picture library with a standard name, such as username.jpg.  Then you can write a script to update each MySite profile and associate the photo with the person.<span id="more-994"></span></p>
<p>The code below is VB.Net code to interact with the SharePoint profile database by using the userprofilemanager class.  This will update one profile, so it would need to be put in a loop to update all of the employee profiles.</p>
<pre><span style="color: #ff0000">'Objects for profile database</span></pre>
<pre><span style="color: #ff0000">dim strUrl as string = &lt;site collection url&gt;</span></pre>
<pre><span style="color: #ff0000">dim site as Microsoft.SharePoint.SPSite = new SPSite(strUrl)</span></pre>
<pre><span style="color: #ff0000">dim sc as Microsoft.Office.Server.ServerContext = Microsoft.Office.Server.ServerContext.GetContext(site)</span></pre>
<pre><span style="color: #ff0000">dim upm as UserProfileManager = new UserProfileManager(sc)</span>
<pre><span style="color: #ff0000">dim sAccount as string = "domain\username"</span></pre>
<pre><span style="color: #ff0000">Dim u As UserProfile = upm.GetUserProfile(sAccount)        </span></pre>
<pre><span style="color: #ff0000">if u.ProfileManager.Properties.GetPropertyByName("PictureURL") is nothing then</span></pre>
<pre><span style="color: #ff0000"> 'error code</span></pre>
<pre><span style="color: #ff0000">else</span></pre>
<pre><span style="color: #ff0000"> u("PictureURL").Value = '&lt;put the url plus username.jpg here&gt;</span></pre>
<pre><span style="color: #ff0000"> u.Commit</span></pre>
<pre><span style="color: #ff0000">end if</span></pre>
<p>Remember to also include the following assembly and namespace...</p>
<pre><span style="color: #ff0000">&lt;%@ Assembly Name="Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;</span></pre>
<pre><span style="color: #ff0000">&lt;%@ Import Namespace="Microsoft.Office.Server.UserProfiles" %&gt;</span></pre>
<p>If you import additional fields into the profile store, it may be necessary to also run a complete profile import and an incremental search index process to make sure that everything is up to date.  Future profile imports won't overwrite the PictureURL property, so all employee photos should be permanent.  The only drawback is that you will have to run the script for new users or manually enter their picture URL.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/12/25/importing-employee-photos-into-moss-2007-mysites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching iManage and OpenText from SharePoint</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/11/17/searching-imanage-and-opentext-from-sharepoint/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/11/17/searching-imanage-and-opentext-from-sharepoint/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 18:50:24 +0000</pubDate>
		<dc:creator>Michael Fettner</dc:creator>
				<category><![CDATA[Enterprise Content Management]]></category>
		<category><![CDATA[DM]]></category>
		<category><![CDATA[eDOCS]]></category>
		<category><![CDATA[iManage]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[OpenText]]></category>
		<category><![CDATA[protocol handler]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=901</guid>
		<description><![CDATA[Autonomy iManage and OpenText eDocs both have protocol handlers for SharePoint, which enable the SharePoint Enterprise Search engine to index documents stored in the DMS, while keeping the documents in the DMS.  Many people haven&#8217;t been aware of this and thought you had to migrate all of the documents into SharePoint to search them, or to [...]]]></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%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F11%2F17%2Fsearching-imanage-and-opentext-from-sharepoint%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F11%2F17%2Fsearching-imanage-and-opentext-from-sharepoint%2F" height="61" width="51" /></a></div><p>Autonomy iManage and OpenText eDocs both have protocol handlers for SharePoint, which enable the SharePoint Enterprise Search engine to index documents stored in the DMS, while keeping the documents in the DMS.  Many people haven&#8217;t been aware of this and thought you had to migrate all of the documents into SharePoint to search them, or to use an enterprise search engine provided by the DMS vendor.  However, these protocol handlers can provide the best of both worlds by allowing you to continue managing documents in the current DMS, while taking advantage of Microsoft&#8217;s FAST enterprise search indexer to index the DMS content, SharePoint content, file shares, web sites, Exchange public folders, and other enterprise systems.  Security trimming is preserved by the protocol handler, so users will never see documents in the DMS that they don&#8217;t have access to.  The protocol handlers both support Microsoft Office SharePoint Server 2007.</p>
<p>More information on the OpenText eDocs SharePoint integration and protocol handler can be found here:</p>
<p><a href="http://www.opentext.com/download/livelinkdownload.html?path=product/microsoft/ot-clmsp-edocs-po.pdf">http://www.opentext.com/download/livelinkdownload.html?path=product/microsoft/ot-clmsp-edocs-po.pdf</a></p>
<p>More information on the iManage SharePoint protocol handler can be found in their partner portal, by filtering the list of products to &#8220;SharePointProtocol Handler.&#8221;  Note that you need a partner login account to download the documentation and release notes.</p>
<p><a href="http://worksitesupport.interwoven.com/WorkSite/scripts/portal.aspx">http://worksitesupport.interwoven.com/WorkSite/scripts/portal.aspx</a></p>
<p>Both vendors also offer a comprehensive set of web parts to drop into a SharePoint environment to view and manage their documents from within a SharePoint site.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/11/17/searching-imanage-and-opentext-from-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful Free Web Parts for SharePoint</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/10/08/useful-free-web-parts-for-sharepoint/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/10/08/useful-free-web-parts-for-sharepoint/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 11:52:12 +0000</pubDate>
		<dc:creator>Michael Fettner</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Enterprise Content Management]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Web Parts]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=811</guid>
		<description><![CDATA[Windows SharePoint Services (WSS) doesn&#8217;t come with a whole lot of web parts out of the box, but here&#8217;s a few handy ones we&#8217;ve found to spice up some of the home pages we&#8217;ve built.  These are all free and work with WSS.

Tim Heuer&#8217;s RSS Feed Reader
http://feedreader.codeplex.com/

Only MOSS comes with an RSS reader, and even that [...]]]></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%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F10%2F08%2Fuseful-free-web-parts-for-sharepoint%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F10%2F08%2Fuseful-free-web-parts-for-sharepoint%2F" height="61" width="51" /></a></div><p>Windows SharePoint Services (WSS) doesn&#8217;t come with a whole lot of web parts out of the box, but here&#8217;s a few handy ones we&#8217;ve found to spice up some of the home pages we&#8217;ve built.  These are all free and work with WSS.</p>
<ul>
<li>Tim Heuer&#8217;s RSS Feed Reader<br />
<a href="http://feedreader.codeplex.com/">http://feedreader.codeplex.com/</a></li>
</ul>
<p>Only MOSS comes with an RSS reader, and even that one can display only one feed.  This web part is invaluable if you&#8217;re using WSS.  This is the best free RSS feed web part that I&#8217;ve found, and it allows you to neatly pull multiple feeds next to each other.</p>
<ul>
<li>Bamboo World Clock and Weather<br />
<a href="http://store.bamboosolutions.com/pc-55-1-world-clock-and-weather-web-part.aspx">http://store.bamboosolutions.com/pc-55-1-world-clock-and-weather-web-part.aspx</a></li>
</ul>
<p>This web part neatly displays the weather in 3 cities side-by-side and can optionally display the time if they are in different time zones.  This is a nice looking web part and tends to fit nicely on the right-hand side of a home page for a firm with multiple offices.</p>
<ul>
<li>Amrein MSN Money Stock Quote<br />
<cite><a href="http://www.amrein.com/apps/page.asp?Q=5731">http://</a><a href="http://www.amrein.com/apps/page.asp?Q=5731">www.amrein.com/apps/page.asp?Q=5731</a></cite></li>
</ul>
<p>This web part displays stock quotes, company names, changes, and percent changes pulled from MSN Money.  It&#8217;s the best free web part I&#8217;ve seen to do this, and will save a lot of time over trying to follow one of the examples online for doing this with a data view.</p>
<ul>
<li>Matt Jimison&#8217;s Twitter Search Web Part<br />
<a href="http://www.mattjimison.com/blog/2009/03/04/twitter-search-webpart/">http://www.mattjimison.com/blog/2009/03/04/twitter-search-webpart/</a></li>
</ul>
<p>This uses the twitter search API to search twitter based on the parameters you specify in the web part, and you can download the wsp or the source code from the web page.</p>
<ul>
<li>Kraft &amp; Kennedy Google Search Box<br />
(Code below)</li>
</ul>
<p>We&#8217;ve had a few instances where we were asked to put a Google search box on a SharePoint page.  This can easily be accomplished by just inserting a content editor web part on the page and editing the HTML directly.  You can paste in the following code, which includes JavaScript, to open a Google results page after the person enters a search term and presses enter or clicks a button.  This is of course a simple approach&#8211;you could also federate search results in your search center to include Google&#8211;but this simple html code works well in many cases.</p>
<p><img class="alignnone size-full wp-image-812" src="http://blogs.kraftkennedy.com/wp-content/uploads/2009/10/Search-Google.JPG" alt="Search Google" width="416" height="76" /></p>
<pre><span style="color: #ff0000">&lt;P align=left&gt;Search Google: &lt;INPUT id=Google name=Google onkeydown="javascript:if (event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {
window.open('http://www.google.com/search?hl=en&amp;amp;q=' + this.value + '&amp;amp;btnG=Google+Search','_blank','');
return false;}};"&gt; &lt;IMG alt="Go" id="btnGo" name="btnGo" src="/images1/icongo.gif" onclick="window.open('http://www.google.com/search?hl=en&amp;amp;q=' + document.all.Google.value + '&amp;amp;btnG=Google+Search','_blank','')"  onmouseover="this.style.cursor='hand'"&gt;
&lt;/P&gt;</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/10/08/useful-free-web-parts-for-sharepoint/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using SharePoint as a DMS for a Law Firm</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/10/01/using-sharepoint-as-a-dms-for-a-law-firm/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/10/01/using-sharepoint-as-a-dms-for-a-law-firm/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 20:03:13 +0000</pubDate>
		<dc:creator>Michael Fettner</dc:creator>
				<category><![CDATA[Enterprise Content Management]]></category>
		<category><![CDATA[DMS]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=726</guid>
		<description><![CDATA[Whether or not SharePoint can be a viable DMS at a law firm has been a big point of contention in the legal community.  A lot of this comes down to the mentality and size of the firm, and the specific requirements that the firm has for document management.  With proper planning and one or two simple addins, [...]]]></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%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F10%2F01%2Fusing-sharepoint-as-a-dms-for-a-law-firm%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F10%2F01%2Fusing-sharepoint-as-a-dms-for-a-law-firm%2F" height="61" width="51" /></a></div><p>Whether or not SharePoint can be a viable DMS at a law firm has been a big point of contention in the legal community.  A lot of this comes down to the mentality and size of the firm, and the specific requirements that the firm has for document management.  With proper planning and one or two simple addins, SharePoint may be a viable DMS for certain firms that are flexible and willing to invest in a development effort.</p>
<p>The advantages of using SharePoint as a DMS are many:</p>
<ul>
<li>Being able to wrap an intranet or extranet around all of your content.</li>
<li>Having basic matter management features available in every workspace, such as a shared calendar, task lists, and discussion threads.</li>
<li>Having access to document workflows.</li>
<li>Being able to search all of your repositories with Enterprise Search (available free with Microsoft Search Server Express.)</li>
<li>Being able to integrate business intelligence dashboards.</li>
<li>Providing access to web 2.0 features such as wikis, blogs, and personal sites.</li>
<li>Leveraging native Word features, and not having to rely on vendors to update their software to support the latest version of Office.</li>
</ul>
<p><span id="more-726"></span>The main way to ensure a successful SharePoint deployment as a DMS is with proper planning.  SharePoint can all too easily be deployed out of the box, with no oversight in place.  While this may work out ok for an intranet, it spells disaster for a DMS.  Thought should go initially into defining what content types are needed for the firm.  Content types are similar to document types in a DMS, and allow for the classification of documents by defining metadata, retention rules, associated workflows, and starter templates.  After defining content types, you would need to create a taxonomy, or hierarchy for all of your clients and matters.  One structure that works in WSS is to create a team site for each client, and then a document library for each matter.  We’ve successfully written scripts to create client and matter workspaces based on this approach, and to import documents from the file system into SharePoint.  When a user saves their own document into SharePoint, they would drill down the client site to the matter library, and then simply have to choose a content type associated with the document.</p>
<p>The thing that seems to scare people the most is something architectural rather than functional—the fact that SharePoint stores files in SQL blobs, rather than in the file system.  This causes fears that corrupt files will not be able to be recovered, or that disk costs will get expensive or lead to unmanageable databases.  However, we should remember that there are plenty of excellent third-party solutions for doing backups and restores of SharePoint at the individual file level, as well as native backups and restores in SharePoint.  Microsoft Exchange stores all of its messages in a database format, and no one has ever raised an eyebrow.  The backup and restore process in SharePoint ends up being quite similar to Exchange.  In fact, Exchange stores its data in the JET database engine, which is even less robust that SQL.  Microsoft has also certified their enterprise search engine to be able to index 50 million documents in a single SharePoint repository, and SharePoint can manipulate files in SQL faster than a traditional DMS can manipulate the files on a file system.  All in all, it is our belief that this architectural design of SharePoint should not be a contributing factor in determining whether or not SharePoint is viable.</p>
<p>There are also some additional differences to keep in mind if you’re used to a traditional DMS:</p>
<ul>
<li>Re-filing is more difficult in SharePoint.  Metadata will not automatically update if you move documents between different matter libraries, and you’ll need some additional user training or third-party software.</li>
<li>Document permissions may be harder to keep track of.  It’s important for the administrator to correctly assign permissions at the site or library level, and for users to individually secure their documents if need be.</li>
<li>Some features are only available in MOSS, the licensed version of SharePoint, such as document trail auditing.</li>
<li>The user interface is completely different.  The firm will need to be open to working differently and retraining users.</li>
<li>SharePoint does not natively number documents—it only creates a unique URL for each document.  We recommend an inexpensive tool from <a title="Wisdom" href="http://www.macroviewwisdom.com/Products/Pages/UniqueDocumentNumbering.aspx" target="_blank">MacroView Wisdom</a> for doing unique document numbering.  Also worth noting is that SharePoint 2010 is supposed to natively support unique document numbering.</li>
<li>While SharePoint libraries can be viewed in Outlook, messages cannot be dragged into a SharePoint folder in Outlook.  We recommend another tool from <a title="Wisdom" href="http://www.macroviewwisdom.com/Products/Pages/Message.aspx" target="_blank">MacroView Wisdom</a> for email management in Outlook.  In addition, SharePoint Workspace 2010, which is a full desktop client for SharePoint, may alleviate some of this need in 2010.</li>
</ul>
<p>As firms look for creative ways to cut costs, while maintaining functionality, it will be interesting to see if SharePoint gains momentum as a DMS in the legal community.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/10/01/using-sharepoint-as-a-dms-for-a-law-firm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint WorkSpace 2010 &#8211; Groove, plus a desktop client for SharePoint</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/09/09/sharepoint-workspace-2010-groove-plus-a-desktop-client-for-sharepoint/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/09/09/sharepoint-workspace-2010-groove-plus-a-desktop-client-for-sharepoint/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 17:18:39 +0000</pubDate>
		<dc:creator>Michael Fettner</dc:creator>
				<category><![CDATA[Enterprise Content Management]]></category>
		<category><![CDATA[Groove]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint WorkSpace]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=563</guid>
		<description><![CDATA[I recently downloaded the technical preview of SharePoint WorkSpace 2010, but was disappointed to find out that I couldn&#8217;t test any of the SharePoint features.  It&#8217;s only compatible with SharePoint 2010, so anyone interested in exploring all of the new features will have to wait a few more weeks/months until the technical preview of SharePoint [...]]]></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%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F09%2F09%2Fsharepoint-workspace-2010-groove-plus-a-desktop-client-for-sharepoint%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F09%2F09%2Fsharepoint-workspace-2010-groove-plus-a-desktop-client-for-sharepoint%2F" height="61" width="51" /></a></div><p class="mceTemp mceIEcenter" style="text-align: left">I recently downloaded the technical preview of SharePoint WorkSpace 2010, but was disappointed to find out that I couldn&#8217;t test any of the SharePoint features.  It&#8217;s only compatible with SharePoint 2010, so anyone interested in exploring all of the new features will have to wait a few more weeks/months until the technical preview of SharePoint 2010 is made public.</p>
<p>SharePoint Workspace 2010 is the next version of Groove, the collaboration software acquired by Microsoft in 2005.  Groove 2007 was only superficially integrated into the Office Suite, and never got a large following, as it was included in only the most expensive versions of Office, and most people had no idea what it was.  SharePoint WorkSpace 2010 will be included in Office 2010 Professional Plus, on the other hand, allowing it to expand to a wider audience.  Additionally, it will integrate seamlessly with SharePoint 2010 and other Office products.</p>
<p>SharePoint Workspace 2010 allows for the creation of &#8220;SharePoint Workspaces&#8221; and &#8220;Classic Workspaces.&#8221;  SharePoint Workspaces allow you to access all SharePoint site content on your computer, whether online or offline.  This is an improvement over SharePoint 2007, where only document libraries and certain types of lists could be synched with Outlook.  While you had to go into a library&#8217;s action menu in SharePoint 2007 to connect it to Outlook, you can now connect the SharePoint 2010 complete site to SharePoint WorkSpace by clicking Site Actions &#8211;&gt; Sync to Computer.  Alternatively, you can sync to a site from inside SharePoint WorkSpace by creating a SharePoint Workspace and specifying the url.</p>
<p>Classic Workspaces are the workspaces that were available in Groove.  Users can create document libraries, discussion threads, calendars, and invite other users and chat inside the workspace.  Classic workspaces use peer-to-peer technology to synchronize documents and files between users.  That allows users in different companies, on different networks, to still collaborate quickly and securely.</p>
<p><img class="size-full wp-image-601" src="http://blogs.kraftkennedy.com/wp-content/uploads/2009/09/SharePoint-Workspace-1.jpg" alt="SharePoint WorkSpace 2010: New Workspace Menu" width="386" height="267" /></p>
<pre>SharePoint WorkSpace 2010: New WorkSpace Menu</pre>
<p>
<span id="more-563"></span></p>
<p>SharePoint WorkSpace 2010 is pretty much two products in one&#8211;A full client for SharePoint with offline syncing, and a peer-to-peer collaboration tool for collaboration without the need for a server.  The Groove technology in the classic workspaces looks pretty good in the technical preview, but we&#8217;ll have to wait a bit more until we can test all the new things, such as taking a whole SharePoint site offline, and checking in and out SharePoint documents from within SharePoint WorkSpace.</p>
<p><img class="alignnone size-full wp-image-602" src="http://blogs.kraftkennedy.com/wp-content/uploads/2009/09/SharePoint-Workspace-2.jpg" alt="SharePoint Workspace 2" width="600" height="452" /></p>
<pre>SharePoint WorkSpace 2010: WorkSpace View</pre>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/09/09/sharepoint-workspace-2010-groove-plus-a-desktop-client-for-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting SharePoint libraries to Outlook with stssync</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/08/21/connecting-sharepoint-libraries-to-outlook-with-stssync/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/08/21/connecting-sharepoint-libraries-to-outlook-with-stssync/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 23:16:36 +0000</pubDate>
		<dc:creator>Michael Fettner</dc:creator>
				<category><![CDATA[Enterprise Content Management]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=470</guid>
		<description><![CDATA[Outlook 2003 and 2007 support a protocol called stssync, which allow SharePoint libraries to be viewed in Outlook.  Outlook 2003 allows for read-only viewing, whereas Outlook 2007 also allows for two-way synching of certain content.  The most common way of connecting to a SharePoint library is through the SharePoint Actions menu, as shown below.

Another way [...]]]></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%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F08%2F21%2Fconnecting-sharepoint-libraries-to-outlook-with-stssync%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F08%2F21%2Fconnecting-sharepoint-libraries-to-outlook-with-stssync%2F" height="61" width="51" /></a></div><p>Outlook 2003 and 2007 support a protocol called stssync, which allow SharePoint libraries to be viewed in Outlook.  Outlook 2003 allows for read-only viewing, whereas Outlook 2007 also allows for two-way synching of certain content.  The most common way of connecting to a SharePoint library is through the SharePoint Actions menu, as shown below.<span id="more-470"></span></p>
<p><a href="http://blogs.kraftkennedy.com/wp-content/uploads/2009/08/SharePoint-Connect12.jpg"><img class="alignnone size-full wp-image-473" src="http://blogs.kraftkennedy.com/wp-content/uploads/2009/08/SharePoint-Connect12.jpg" alt="SharePoint Connect1" width="267" height="177" /></a></p>
<p>Another way to distribute the connection to a user is by sharing it through an Outlook context menu.  If you’ve already connected the library to Outlook, just right-click the folder in Outlook and choose “Share…”.  Then you can choose the people you want to email the connection to.  Anyone who receives the message will get an “Open” section in their “Share” ribbon in Outlook 2007, and can click to connect to or preview the library.</p>
<p><a href="http://blogs.kraftkennedy.com/wp-content/uploads/2009/08/SharePoint-Connect2.jpg"><img class="alignnone size-full wp-image-474" src="http://blogs.kraftkennedy.com/wp-content/uploads/2009/08/SharePoint-Connect2.jpg" alt="SharePoint Connect2" width="347" height="229" /></a></p>
<p>White these methods work well, they’re not efficient for distributing SharePoint connections to large numbers of people.  Fortunately, you can write scripts that directly run stssync commands and then deploy those scripts to multiple users.</p>
<p>In a batch file, the command looks like:</p>
<h5>start iexplore.exe stssync://sts/?ver=version&amp;type=folder-type&amp;cmd=command-name&amp;base-url=sts-url&amp;guid=the-guid&amp;site-name=site-friendly-name&amp;list-name=list-friendly-name&amp;list-url=list-url&amp;user-id=uid</h5>
<p>You can repeat this command multiple times in the batch file for each library that you want to connect to.</p>
<p>Ver 1.0 is used for Outlook 2003, and ver 1.1 is used for Outlook 2007.  The command fields are based on the properties of the library, with the only difficult one to find being the GUID.  In order to find the GUID, you have to actually open the source code of the default web page for the library and search for the text “ExportHailStorm.”  That javascript function includes the library’s GUID and other properties.</p>
<p>Additionally, if you roll out reg keys first according to this article (<a href="http://support.microsoft.com/kb/941836">http://support.microsoft.com/kb/941836</a>) then you can mark these libraries as trusted, and the user won’t get the Yes/No box asking if they want to connect the list to Outlook.  Otherwise the user will be prompted for each list that you attempt to connect.  By rolling out that reg key first, you can ensure a truly silent install.</p>
<p>This specification has some more details on the stssync protocol:</p>
<p><a href="http://msdn.microsoft.com/en-us/library/dd587524(office.11).aspx">http://msdn.microsoft.com/en-us/library/dd587524(office.11).aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/08/21/connecting-sharepoint-libraries-to-outlook-with-stssync/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Internet Explorer Security Zone Settings for Pass-Thru Authentication to SharePoint</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/08/09/internet-explorer-security-zone-settings-for-pass-thru-authentication-to-sharepoint/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/08/09/internet-explorer-security-zone-settings-for-pass-thru-authentication-to-sharepoint/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 21:17:04 +0000</pubDate>
		<dc:creator>Michael Fettner</dc:creator>
				<category><![CDATA[Enterprise Content Management]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/?p=398</guid>
		<description><![CDATA[We often come across instances where firms are using NTLM Authentication (Windows integrated authentication) for SharePoint, and expect that Internet Explorer will automatically pass through the authentication from machines within the company, however they still get prompted for credentials.  This issue exists with any IIS website, not just SharePoint, but seems to come up more [...]]]></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%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F08%2F09%2Finternet-explorer-security-zone-settings-for-pass-thru-authentication-to-sharepoint%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F08%2F09%2Finternet-explorer-security-zone-settings-for-pass-thru-authentication-to-sharepoint%2F" height="61" width="51" /></a></div><p>We often come across instances where firms are using NTLM Authentication (Windows integrated authentication) for SharePoint, and expect that Internet Explorer will automatically pass through the authentication from machines within the company, however they still get prompted for credentials.  This issue exists with any IIS website, not just SharePoint, but seems to come up more frequently with SharePoint sites.</p>
<p>The solution revolves around checking the security zones in Internet Explorer, and ensuring that the SharePoint site is included in a zone that will pass through the authentication.  Adding the site to &#8220;Trusted Sites&#8221; is often the first thought, however that does not work by itself, because &#8220;Trusted Sites&#8221; only pass the username, not the password, by default in Internet Explorer 7+.  The better choice is to put the SharePoint site in the &#8220;Local Intranet&#8221; zone, as that&#8217;s the only zone which passes both the username and password by default.  If &#8220;Trusted Sites&#8221; is used, an additional step is necessary beacuse you have to change the custom settings, find user authentication, and check the box to do an &#8220;automatic logon with current username and password.&#8221;</p>
<p>In order to add your SharePoint site into the &#8220;Local Intranet&#8221; zone, click Tools &#8211;&gt; Internet Options in Internet Explorer.  Then click Security &#8211;&gt; Local Intranet &#8211;&gt; Sites.  Click &#8220;Advanced,&#8221; enter the URL of the SharePoint site, and click &#8220;Add.&#8221;  You&#8217;ll notice that the zone name listed in the lower-right corner of the browser changes from &#8220;Internet&#8221; to &#8220;Local Intranet,&#8221; and you won&#8217;t be prompted for credentials anymore.  Note that this type of pass through authentication is only supported by Internet Explorer, and requires that the computer be inside the corporate network.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/08/09/internet-explorer-security-zone-settings-for-pass-thru-authentication-to-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audience Targeting in Windows SharePoint Services 3.0, based on AD Groups</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/07/13/audience-targeting-in-wss/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/07/13/audience-targeting-in-wss/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 19:07:34 +0000</pubDate>
		<dc:creator>Michael Fettner</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Enterprise Content Management]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Directory Servicces]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/index.php/2009/07/13/audience-targeting-in-windows-sharepoint-services-3-0-based-on-ad-groups/</guid>
		<description><![CDATA[WSS does not have a user profile service and does not allow any kind of native targeting of content to users in different groups. This is one of the more serious limitations of WSS, especially for corporate intranets, where pages might need to be customized for users in different offices. MOSS, on the other hand, [...]]]></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%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F07%2F13%2Faudience-targeting-in-wss%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblogs.kraftkennedy.com%2Findex.php%2F2009%2F07%2F13%2Faudience-targeting-in-wss%2F" height="61" width="51" /></a></div><p>WSS does not have a user profile service and does not allow any kind of native targeting of content to users in different groups. This is one of the more serious limitations of WSS, especially for corporate intranets, where pages might need to be customized for users in different offices. MOSS, on the other hand, allows for the creation of audiences and easy targeting of content. As is typically the case with WSS, it is possible to achieve this functionality by writing code.</p>
<p>One way to do this is by adding a reference in your code to &#8220;System.DirectoryServices,&#8221; which allows you to query Active Directory. With that class, you can compare the current user to an Active Directory group&#8217;s membership collection, and add logic based on whether or not the user is in the group. If you plan to edit an aspx page directly, you will also have to add a page parser path in web.config, so that the code in the page will run. Rather than editing the page directly, it is often preferable to create a control or web part for security and manageability reasons.</p>
<p>If editing an aspg page directly in SharePoint Designer, just add the following line to the top of the page, so that the correct assembly is referenced.</p>
<p><span style="color:red">&lt;%@ <code>Assembly Name="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" %&gt;</code></span></p>
<p>Then add a code block into the page that gets the current user and compares it to the group membership. The following example uses VB.Net and sees if the current user is in the &#8220;NY Staff&#8221; group. If so, then the script redirects to the page &#8220;NY.aspx.&#8221; Rather than redirecting, you could also add code to write out customized content based on the membership information.</p>
<p>               <span style="color:red">&lt;%</span></p>
<p style="margin-left: 36pt"><span style="color:red"> </span><code><span style="color:red">   Try<br />
</span></code><code><span style="color:red">   'Get group membership for current user<br />
</span></code><code><span style="color:red">        Dim DomainUser As String = Replace(User.Identity.Name, "\", "/")<br />
</span></code><code><span style="color:red">        Dim ADEntry As New System.DirectoryServices.DirectoryEntry("WinNT://" &amp; DomainUser)<br />
</span></code><code><span style="color:red">        Dim MembersCollection As Object 'Underlaying is a IADsMembers interface<br />
</span></code><code><span style="color:red">        MembersCollection = ADEntry.Invoke("Groups")<br />
</span></code><code><span style="color:red">        Dim group As Object 'IADsGroup interface<br />
</span></code><code><span style="color:red">        Dim vFound As Boolean = False<br />
</span></code><code><span style="color:red">        For Each group In MembersCollection<br />
</span></code><code><span style="color:red">            If LCase(group.Name) = "ny staff" Then<br />
</span></code><code><span style="color:red">                vFound = True<br />
</span></code><code><span style="color:red">                Exit For<br />
</span></code><code><span style="color:red">            End If<br />
</span></code><code><span style="color:red">        Next<br />
</span></code><code><span style="color:red">        'Do something if group is found<br />
</span></code><code><span style="color:red">        If vFound Then<br />
</span></code><code><span style="color:red">            Response.redirect("NY.aspx")<br />
</span></code><code><span style="color:red">        End If<br />
</span></code><code><span style="color:red">      Catch ex As Exception<br />
</span></code><code><span style="color:red">        'response.write(ex.message)<br />
</span></code><code><span style="color:red">      End Try<br />
</span></code><span style="color:red">%&gt;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/07/13/audience-targeting-in-wss/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
