<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">

<channel>
	<title>CJ</title>
	
	<link>http://claytonj.wordpress.com</link>
	<description>The circle of life - ** .Net - Training - MOSS **</description>
	<lastBuildDate>Thu, 28 May 2009 23:57:11 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
		<url>http://www.gravatar.com/blavatar/490269eb44e9675875e70193e79b67b7?s=96&amp;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>CJ</title>
		<link>http://claytonj.wordpress.com</link>
	</image>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/wordpress/CJ" type="application/rss+xml" /><item>
		<title>Test in Multiple Browsers</title>
		<link>http://claytonj.wordpress.com/2009/05/29/test-in-multiple-browsers/</link>
		<comments>http://claytonj.wordpress.com/2009/05/29/test-in-multiple-browsers/#comments</comments>
		<pubDate>Thu, 28 May 2009 23:57:11 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
				<category><![CDATA[.NET 2.0]]></category>
		<category><![CDATA[.Net 3.0]]></category>

		<guid isPermaLink="false">http://claytonj.wordpress.com/?p=445</guid>
		<description><![CDATA[This has always been a problem for developers with requirements to support multiple browsers. When writing code various browsers render the exact same peice of code differently. So the development process consists of programming workarounds so they render the same or very similar.
Now we have a free tool that we can use to test multiple [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=445&subd=claytonj&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This has always been a problem for developers with requirements to support multiple browsers. When writing code various browsers render the exact same peice of code differently. So the development process consists of programming workarounds so they render the same or very similar.</p>
<p>Now we have a free tool that we can use to test multiple browsers easily during our development process.</p>
<p><a href="http://www.xenocode.com/browsers/">http://www.xenocode.com/browsers/</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/claytonj.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/claytonj.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/claytonj.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/claytonj.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/claytonj.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/claytonj.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/claytonj.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/claytonj.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/claytonj.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/claytonj.wordpress.com/445/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=445&subd=claytonj&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://claytonj.wordpress.com/2009/05/29/test-in-multiple-browsers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1648935198fa105f091a059bf730b766?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">CJ</media:title>
		</media:content>
	</item>
		<item>
		<title>Add .Net User Controls to SharePoint</title>
		<link>http://claytonj.wordpress.com/2009/05/25/add-net-user-controls-to-sharepoint/</link>
		<comments>http://claytonj.wordpress.com/2009/05/25/add-net-user-controls-to-sharepoint/#comments</comments>
		<pubDate>Mon, 25 May 2009 01:10:02 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
				<category><![CDATA[.NET 2.0]]></category>
		<category><![CDATA[.Net 3.0]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://claytonj.wordpress.com/?p=435</guid>
		<description><![CDATA[I have been developing inside SharePoint for a while now and while things are getting easier with tools I think this process for developing User Controls inside SharePoint gives me a lot of control.

I have a Graphical User Interface
I have a separate project to build and test outside of SharePoint
I can easily update and view my project html [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=435&subd=claytonj&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been developing inside SharePoint for a while now and while things are getting easier with tools I think this process for developing User Controls inside SharePoint gives me a lot of control.</p>
<ol>
<li>I have a Graphical User Interface</li>
<li>I have a separate project to build and test outside of SharePoint</li>
<li>I can easily update and view my project html and binary code</li>
</ol>
<p>Currently this process doesn&#8217;t create me any SharePoint Solution files to deploy across environments. I think to achieve this I will need to create a VS 2008 SharePoint Project&#8230;but so far these projects seem to add weight and time that I don&#8217;t want at the moment&#8230;while I am developing.</p>
<ol>
<li>Create a VS2008 web project</li>
<li>In IIS create an IIS Application under your SharePoint web site that has a path to your VS2008 web project created above. This helps for updating content</li>
<li>In your VS2008 project create some user controls and test that they function</li>
<li>In VS2008 project properties under the Build Events tab point the Post Build events text box and add a copy statement to copy your .dlls and .pdbs to your SharePoint web sites bin directory. This will deploy a new .dll every time you build your VS2008 project. I had problems when I put the VS2008 project .dll into the GAC&#8230;it only worked when I put it into the SharePoint&#8217;s web sites bin directory</li>
<li>Update your master page with CSS references if your VS2008 project contains a style sheet.</li>
<li>In SPD in your Page Layout add a Register directive to register your user control<br />
&#8220;&lt;%@ Register Src=&#8221;~/UI/UserControls/JobGoals.ascx&#8221; TagPrefix=&#8221;uc1&#8243; TagName=&#8221;JobGoals&#8221; %&gt;&#8221;<br />
OR<br />
Update the SharePoint web site web.config file<br />
&lt;pages&gt;<br />
  &lt;controls&gt;<br />
        &lt;add src=&#8221;~/UI/UserControls/MyAttributes.ascx&#8221; tagPrefix=&#8221;uc1&#8243; tagName=&#8221;MyAttributes&#8221;/&gt;<br />
        &lt;add src=&#8221;~/UI/UserControls/JobGoals.ascx&#8221; tagPrefix=&#8221;uc1&#8243; tagName=&#8221;JobGoals&#8221; /&gt;<br />
    &lt;/controls&gt;<br />
&lt;/pages&gt;</li>
<li>Add the User Control to the Page Layout<br />
&lt;uc1:JobGoals ID=&#8221;JobGoals1&#8243; runat=&#8221;server&#8221; /&gt;</li>
<li>Update the SharePoinnt web sites web.config file<br />
&lt;SafeControl Src=&#8221;~/UI/*&#8221;  IncludeSubFolders=&#8221;True&#8221; Safe=&#8221;True&#8221; AllowRemoteDesigner=&#8221;True&#8221; /&gt;</li>
<li>Restart IIS, navigate to a page that uses the page layout and you should see your User Control</li>
</ol>
<p>Because we created a IIS Application under our SharePoint web site and mapped our VS2008 projects .dll output path to our SharePoints web site, updates are extremely simple.</p>
<ol>
<li>.ascx changes:                modify, save in VS2008 and refresh sharepoint browser</li>
<li>.ascx.cs changes:          modify, save, build  in VS2008 and refresh sharepoint browser</li>
</ol>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/claytonj.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/claytonj.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/claytonj.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/claytonj.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/claytonj.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/claytonj.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/claytonj.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/claytonj.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/claytonj.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/claytonj.wordpress.com/435/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=435&subd=claytonj&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://claytonj.wordpress.com/2009/05/25/add-net-user-controls-to-sharepoint/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1648935198fa105f091a059bf730b766?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">CJ</media:title>
		</media:content>
	</item>
		<item>
		<title>User Group Presentation – Content Query Web Part – Part 2</title>
		<link>http://claytonj.wordpress.com/2009/05/20/user-group-presentation-content-query-web-part-part-2/</link>
		<comments>http://claytonj.wordpress.com/2009/05/20/user-group-presentation-content-query-web-part-part-2/#comments</comments>
		<pubDate>Wed, 20 May 2009 12:05:07 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
				<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[Presentaitons]]></category>

		<guid isPermaLink="false">http://claytonj.wordpress.com/2009/05/20/user-group-presentation-content-query-web-part-part-2/</guid>
		<description><![CDATA[I completed my Part 2 presentation on the CQWP today. I thought that the rain may have kept the numbers down so it was great to see a good turn out.
Topic Covered:

How and where best to use &#8211; plan ahead
Displaying extra columns in result set
Modifying the ItemStyle.xsl and .webpart files
XSLT
Tips and tricks &#8211; (thanks Tim [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=434&subd=claytonj&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I completed my Part 2 presentation on the CQWP today. I thought that the rain may have kept the numbers down so it was great to see a good turn out.</p>
<p>Topic Covered:</p>
<ul>
<li>How and where best to use &#8211; plan ahead</li>
<li>Displaying extra columns in result set</li>
<li>Modifying the ItemStyle.xsl and .webpart files</li>
<li>XSLT</li>
<li>Tips and tricks &#8211; (thanks Tim for the select=.) tip</li>
<li>Subclassing using Visual Studio</li>
<li>Deployment</li>
</ul>
<p>&nbsp;</p>
<p>I always need more time presenting at user groups. </p>
<p>Slide deck and demos will be uploaded to the BSPUG site soon.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/claytonj.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/claytonj.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/claytonj.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/claytonj.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/claytonj.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/claytonj.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/claytonj.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/claytonj.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/claytonj.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/claytonj.wordpress.com/434/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=434&subd=claytonj&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://claytonj.wordpress.com/2009/05/20/user-group-presentation-content-query-web-part-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1648935198fa105f091a059bf730b766?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">CJ</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint Authentication: FireFoxs works but IE doesn’t</title>
		<link>http://claytonj.wordpress.com/2009/05/20/sharepoint-authentication-firefoxs-works-but-ie-doesnt/</link>
		<comments>http://claytonj.wordpress.com/2009/05/20/sharepoint-authentication-firefoxs-works-but-ie-doesnt/#comments</comments>
		<pubDate>Wed, 20 May 2009 11:44:11 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
				<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[Office 12]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://claytonj.wordpress.com/2009/05/20/sharepoint-authentication-firefoxs-works-but-ie-doesnt/</guid>
		<description><![CDATA[I was having a great deal of pain on a new SharePoint development server recently. Environment = Windows 2008, IE7. 
Situation

Create a SharePoint web application with a host header on port 80. Create a site collection
Update host file (or DNS) with new host header entry
In IE make sure the web application is in the Intranet [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=432&subd=claytonj&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was having a great deal of pain on a new SharePoint development server recently. Environment = Windows 2008, IE7. </p>
<p><strong>Situation</strong></p>
<ol>
<li>Create a SharePoint web application with a host header on port 80. Create a site collection</li>
<li>Update host file (or DNS) with new host header entry</li>
<li>In IE make sure the web application is in the Intranet Zone</li>
<li>Open up browser in IE navigate to site using host header and the authentication dialog login is displayed.</li>
<li>Enter my credentials 3 times and receive a 401.1 and an entry in the Security Event log</li>
<li>If I open FireFox and browse to the web site the authentication dialog is displayed</li>
<li>I enter my credentials and I can log in fine<br />Note: To get rid of the authentication prompt in FireFox</li>
<ol>
<li>Open FireFox and in the address type about:config</li>
<li>Find the entry network.automatic-ntlm-auth.trusted-uris</li>
<li>Set the Key&#8217;s value to a comma seperated list of trusted URIs i.e your host header</li>
</ol>
<li>So FireFox is fine but IE is having issues</li>
</ol>
<p>&nbsp;</p>
<p><strong>Solution</strong></p>
<p>I <em>finally </em>stumbled across a blog article from <a href="http://blog.brianfarnhill.com/2008/11/19/ie8-beta-2-authentication-issues-with-host-header-configured-sites/" target="_blank">Brian Farnhill</a> and <a href="http://www.sharepoint-tips.com/2009/04/access-denied-in-win2008-with-custom.html" target="_blank">Ishai Sagi</a> that lead me to the solution.</p>
<p><strong>You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or IIS 6<br /></strong><a href="http://support.microsoft.com/default.aspx/kb/896861">http://support.microsoft.com/default.aspx/kb/896861</a></p>
<p>In my case I am using IE 7 and while the Solution/Workaround discusses two separate methods and states that method one is preferred, I could only fix my issue upon completing method 2</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/claytonj.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/claytonj.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/claytonj.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/claytonj.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/claytonj.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/claytonj.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/claytonj.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/claytonj.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/claytonj.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/claytonj.wordpress.com/432/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=432&subd=claytonj&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://claytonj.wordpress.com/2009/05/20/sharepoint-authentication-firefoxs-works-but-ie-doesnt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1648935198fa105f091a059bf730b766?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">CJ</media:title>
		</media:content>
	</item>
		<item>
		<title>Accessibility Resources</title>
		<link>http://claytonj.wordpress.com/2009/05/15/accessibility-resources/</link>
		<comments>http://claytonj.wordpress.com/2009/05/15/accessibility-resources/#comments</comments>
		<pubDate>Fri, 15 May 2009 05:03:21 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
				<category><![CDATA[.NET 2.0]]></category>

		<guid isPermaLink="false">http://claytonj.wordpress.com/?p=427</guid>
		<description><![CDATA[A list of useful accessibility resources
Microsoft ASP.Net

Building ASP.NET 2.0 Web Sites Using Web Standards &#8211; a must read
http://msdn.microsoft.com/en-us/library/aa479043.aspx

Accessibility Support in ASP.Net
http://msdn.microsoft.com/en-us/library/ms228004(VS.80).aspx
 
Invaulable resource on .Net controls and their accessibility
Will explain what controls you can use with no isses (their not listed), what you need to do or not do to use certan controls, and what controls [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=427&subd=claytonj&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A list of useful accessibility resources</p>
<p><strong><span style="text-decoration:underline;">Microsoft ASP.Net</span></strong></p>
<ul>
<li><strong>Building ASP.NET 2.0 Web Sites Using Web Standards &#8211; a must read<br />
<a href="http://msdn.microsoft.com/en-us/library/aa479043.aspx">http://msdn.microsoft.com/en-us/library/aa479043.aspx</a><br />
</strong></li>
<li><strong>Accessibility Support in ASP.Net<br />
<a href="http://msdn.microsoft.com/en-us/library/ms228004(VS.80).aspx">http://msdn.microsoft.com/en-us/library/ms228004(VS.80).aspx</a><br />
</strong> </li>
<li><strong>Invaulable resource on .Net controls and their accessibility<br />
</strong>Will explain what controls you can use with no isses (their not listed), what you need to do or not do to use certan controls, and what controls cannot be used full stop.<br />
<a href="http://msdn.microsoft.com/en-us/library/ms227996(VS.80).aspx"><strong>http://msdn.microsoft.com/en-us/library/ms227996(VS.80).aspx</strong></a><br />
 </li>
<li><strong>How to: Use Label Web Server Controls as Captions &#8211; AssociateControlId; AccessKey<br />
<a href="http://msdn.microsoft.com/en-us/library/ms227968(VS.80).aspx">http://msdn.microsoft.com/en-us/library/ms227968(VS.80).aspx</a><br />
</strong><strong></strong></li>
</ul>
<p><strong>SharePoint Specific</strong></p>
<ul>
<li><strong>SharePoint Dev Wiki<br />
<a href="http://www.sharepointdevwiki.com/display/public/SharePoint+Accessibility">http://www.sharepointdevwiki.com/display/public/SharePoint+Accessibility</a></strong></li>
</ul>
<p><strong>Tools</strong></p>
<ul>
<li><strong>Accessibilty &amp; XHTML  checker.<br />
Online, Client download and FireFox plug-in - Total Validator<br />
<a href="http://www.totalvalidator.com/index.html">http://www.totalvalidator.com/index.html</a><br />
</strong></li>
<li><strong>Online Accessiblity Checker<br />
<a href="http://wave.webaim.org/">http://wave.webaim.org/</a> </strong></li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/claytonj.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/claytonj.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/claytonj.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/claytonj.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/claytonj.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/claytonj.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/claytonj.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/claytonj.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/claytonj.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/claytonj.wordpress.com/427/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=427&subd=claytonj&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://claytonj.wordpress.com/2009/05/15/accessibility-resources/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1648935198fa105f091a059bf730b766?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">CJ</media:title>
		</media:content>
	</item>
		<item>
		<title>Importing AD Employee Photos into SharePoint User Profiles</title>
		<link>http://claytonj.wordpress.com/2009/05/08/importing-employee-photos-into-sharepoint-user-profiles/</link>
		<comments>http://claytonj.wordpress.com/2009/05/08/importing-employee-photos-into-sharepoint-user-profiles/#comments</comments>
		<pubDate>Fri, 08 May 2009 04:57:41 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
				<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[Office 12]]></category>

		<guid isPermaLink="false">http://claytonj.wordpress.com/?p=420</guid>
		<description><![CDATA[I was recently asked to provide a process for importing Employee pictures into SharePoint so they would show up in search results and various OOTB web parts. This particular client has MOSS but doesn&#8217;t use My Sites.
This post by Henry initially helped me out.
They didn&#8217;t want the individual users to have the abilty to upload [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=420&subd=claytonj&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was recently asked to provide a process for importing Employee pictures into SharePoint so they would show up in search results and various OOTB web parts. This particular client has MOSS but doesn&#8217;t use My Sites.</p>
<p>This post by <a href="http://blog.henryong.com/2007/02/21/importing-user-pictures-from-active-directory-to-moss-2007/" target="_blank">Henry</a> initially helped me out.</p>
<p>They didn&#8217;t want the individual users to have the abilty to upload their own photo&#8217;s or modify them in any way, this was to be managed by IT.</p>
<ol>
<li>Create a Picture Library in your Intranet. This will store the photo&#8217;s for each employee. When storing employee photo&#8217;s chose the filename carefully if you want to populate the AD using scripts. I use something like cjames.jpg which is a correlation to the users account name.</li>
<li>In Active Directory choose an AD property that will be mapped to your SharePoint User Profile Property. In my case I selected the extensionAttribute1 field that is located in the ExchangedAdvanced tab ((note this field may not show up if the Exchange Mgt Console hasn&#8217;t been installed)</li>
<li>Populate this field with the URL to the employee&#8217;s photo that is in the Picture Library e.g <a href="http://sitename/EmployeePhotos/CJames.jpg">http://sitename/ProfilePhotos/CJames.jpg</a> (look below for a script example)</li>
<li>In SharePoint SSP click the User Profiles and Properties link</li>
<li>Click the View Profile Properties under the heading User Profile Properties</li>
<li>Find the Picture property and select the Edit menu item</li>
<li>Make note of the Usage: Number of profiles using this property. This should increase after we complete a full import</li>
<li>At the bottom of the screen make sure Master Connection is selected and in the Datasource field to map select extensionAttribute1 (note: this field may not show up if the Exchange Mgt Console hasn&#8217;t been installed)</li>
<li>Click Ok</li>
<li>Complete a StartFull Import</li>
<li>Once the full import is complete go back into the the Picture property and again check the Usage:Number of profiles that use this property. This should now contain some values.</li>
<li>Verify this by viewing an Employee&#8217;s profile and the Picture property</li>
</ol>
<p>Some things I had issues with:</p>
<ul>
<li>Make sure your Import Connection service account has &#8220;Manage User Profile&#8221; permissions</li>
<li>May need to execute a Full Search crawl once photos are uploaded in the Picture Library</li>
</ul>
<p>I also wrote a script to populate the AD extensionAttribute1 field as there were over 1000 employee&#8217;s and no one put their hand up for this job. The import thing here was for employee photo images to have a one to one mapping with their login account name (samaccountname). The person who runs this script also needs certain permissions in AD to update AD accounts. I would initially comment out the On Error Resume Next so you see if your account has enough privleges or not.</p>
<p>The script is very limited but hopefully it may provide some insight.</p>
<p>&#8216;On Error Resume Next<br />
Set objParent = GetObject(&#8221;<a href="//OU=Users,OU=Brisbane,OU=Offices,OU=AU,DC=ingeus,DC=local">LDAP://OU=Users,OU=Austraila,OU=Offices,OU=AU,DC=domain,DC=local</a>&#8220;)<br />
objparent.Filter = Array(&#8221;user&#8221;)<br />
for each objUser in objParent<br />
  Wscript.Echo &#8220;Modifying &#8221; &amp; objUser.Get(&#8221;samaccountname&#8221;) <br />
  objUser.put &#8220;extensionAttribute1&#8243;, &#8220;<a href="http://ingeusnet/ProfilePhotos/">http://sitename/ProfilePhotos/</a>&#8221; &amp; objUser.Get(&#8221;samaccountname&#8221;) &amp; &#8220;.jpg&#8221;<br />
  objuser.Setinfo   <br />
next</p>
<p>Wscript.Echo &#8220;End&#8221;</p>
<p>Now, IT are responsible whenever they create a new account they must also populate the extensionAttribute1 field with the URL of the picture library and the employee&#8217;s picture filename will always be their account name.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/claytonj.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/claytonj.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/claytonj.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/claytonj.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/claytonj.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/claytonj.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/claytonj.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/claytonj.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/claytonj.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/claytonj.wordpress.com/420/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=420&subd=claytonj&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://claytonj.wordpress.com/2009/05/08/importing-employee-photos-into-sharepoint-user-profiles/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1648935198fa105f091a059bf730b766?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">CJ</media:title>
		</media:content>
	</item>
		<item>
		<title>Sign in as a Different User</title>
		<link>http://claytonj.wordpress.com/2009/05/07/sign-in-as-a-different-user/</link>
		<comments>http://claytonj.wordpress.com/2009/05/07/sign-in-as-a-different-user/#comments</comments>
		<pubDate>Thu, 07 May 2009 00:06:33 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
				<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://claytonj.wordpress.com/?p=417</guid>
		<description><![CDATA[This little feature has caused myself so many problems for different clients. Some of the main issues I have come across include:

Still runs .Net code under the person who has logged into the computer
Creates authentication issues for end users when trying to open an Intranet bowser. Have to remove their user profiles to fix

I recommend to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=417&subd=claytonj&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This little feature has caused myself so many problems for different clients. Some of the main issues I have come across include:</p>
<ul>
<li>Still runs .Net code under the person who has logged into the computer</li>
<li>Creates authentication issues for end users when trying to open an Intranet bowser. Have to remove their user profiles to fix</li>
</ul>
<p>I recommend to anyone now to find the IExplore.exe (right click your shortcut and select Properties, then click the  &#8221;Find Target&#8221; button), right click and select the &#8221;run as&#8221;. Enter the credentials of the user you wish to log in as.</p>
<p>This still won&#8217;t run .Net code under the new credentials you have entered but I have not come across any authentication issues using this approach so far.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/claytonj.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/claytonj.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/claytonj.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/claytonj.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/claytonj.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/claytonj.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/claytonj.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/claytonj.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/claytonj.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/claytonj.wordpress.com/417/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=417&subd=claytonj&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://claytonj.wordpress.com/2009/05/07/sign-in-as-a-different-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1648935198fa105f091a059bf730b766?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">CJ</media:title>
		</media:content>
	</item>
		<item>
		<title>Non-Admins View Site Usage Reports</title>
		<link>http://claytonj.wordpress.com/2009/05/05/non-admins-view-site-usage-reports/</link>
		<comments>http://claytonj.wordpress.com/2009/05/05/non-admins-view-site-usage-reports/#comments</comments>
		<pubDate>Tue, 05 May 2009 05:08:12 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
				<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://claytonj.wordpress.com/?p=412</guid>
		<description><![CDATA[How to get non-admins to view your site collection and site usage reports
Site Collection Admins or user will Full Control can view Site Collection and Site Usage Reports.  So if you want other users to access these reports you can do the following:

Create a custom site permission level and select the &#8220;View Usage Data&#8221; check box
Note: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=412&subd=claytonj&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong><span style="text-decoration:underline;">How to get non-admins to view your site collection and site usage reports</span></strong></p>
<p>Site Collection Admins or user will Full Control can view Site Collection and Site Usage Reports.  So if you want other users to access these reports you can do the following:</p>
<ol>
<li>Create a custom site permission level and select the &#8220;View Usage Data&#8221; check box<br />
Note: this will also select the &#8220;View Pages&#8221; permission</li>
<li>Create a new Group called something like &#8220;Usage Report Viewers&#8221; and assign the permission level you created above to the group</li>
<li>Add the people you want to view the reports</li>
<li>Provide the users with links to the report pages<br />
1/ <a href="http://ingeusnet/_layouts/SpUsageSite.aspx">http://sitecollection/_layouts/SpUsageSite.aspx</a> - view site collection reports<br />
2/ <a href="http://ingeusnet/_layouts/SpUsageSite.aspx">http://sitecollection/_layouts/SpUsageWeb.aspx</a> - view site reports</li>
</ol>
<p>Use a web part to display the links and above and audience targeting so only the users in the SharePoint group &#8220;Usage Report Viewers&#8221; see the web part.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/claytonj.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/claytonj.wordpress.com/412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/claytonj.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/claytonj.wordpress.com/412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/claytonj.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/claytonj.wordpress.com/412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/claytonj.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/claytonj.wordpress.com/412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/claytonj.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/claytonj.wordpress.com/412/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=412&subd=claytonj&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://claytonj.wordpress.com/2009/05/05/non-admins-view-site-usage-reports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1648935198fa105f091a059bf730b766?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">CJ</media:title>
		</media:content>
	</item>
		<item>
		<title>Handling.Net DataSets correctly</title>
		<link>http://claytonj.wordpress.com/2009/03/18/handlingnet-datasets-correctly/</link>
		<comments>http://claytonj.wordpress.com/2009/03/18/handlingnet-datasets-correctly/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 11:34:26 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
				<category><![CDATA[.NET 2.0]]></category>

		<guid isPermaLink="false">http://claytonj.wordpress.com/2009/03/18/handlingnet-datasets-correctly/</guid>
		<description><![CDATA[One of the most common programming issues I see when working at clients locations is the way the common .Net DataSet is managed. I see a lot of code written like the first example below which checks if the DataSet table contains any rows. The problem with Example 1 is it expects a couple of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=411&subd=claytonj&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One of the most common programming issues I see when working at clients locations is the way the common .Net DataSet is managed. I see a lot of code written like the first example below which checks if the DataSet table contains any rows. The problem with Example 1 is it expects a couple of things. Firstly that a DataSet (ds) even exists and secondly that it also contains a table. This code will throw an exception if the DataSet is null or no DataSet table exists.
<p><strong>Example 1</strong><br />//this will throw an exception if ds is null or no table exists<br />if(ds.Tables[0].Rows.Count &gt; 0) <br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //process data <br />}</p>
<p><strong>Example 2</strong><br />So you should write your code checking of empty rows, empty tables and if the DataSet object exists.<br />if(ds != null &amp;&amp; ds.Tables.Count &gt; 0 &amp;&amp; ds.Tables[0].Rows.Count &gt; 0) <br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //process data <br />}<br />else <br /> {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // it is empty <br />}</p>
<p>&nbsp;</p>
<p>Happy Coding! <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/claytonj.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/claytonj.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/claytonj.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/claytonj.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/claytonj.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/claytonj.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/claytonj.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/claytonj.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/claytonj.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/claytonj.wordpress.com/411/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=411&subd=claytonj&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://claytonj.wordpress.com/2009/03/18/handlingnet-datasets-correctly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1648935198fa105f091a059bf730b766?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">CJ</media:title>
		</media:content>
	</item>
		<item>
		<title>IFrame Resize and SharePoint</title>
		<link>http://claytonj.wordpress.com/2009/03/03/iframe-resize-and-sharepoint/</link>
		<comments>http://claytonj.wordpress.com/2009/03/03/iframe-resize-and-sharepoint/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 01:03:47 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
				<category><![CDATA[.NET 2.0]]></category>

		<guid isPermaLink="false">http://claytonj.wordpress.com/2009/03/03/iframe-resize-and-sharepoint/</guid>
		<description><![CDATA[I created a custom IFrame web part that has a dynamic source property. The client wanted the IFrame to dynamically resize itself to the browsers width and height.
&#160;
To achieve this we needed to place the web part directly into the page i.e don&#8217;t use a webpart zone. A web part zone wraps tables around the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=409&subd=claytonj&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I created a custom IFrame web part that has a dynamic source property. The client wanted the IFrame to dynamically resize itself to the browsers width and height.</p>
<p>&nbsp;</p>
<p>To achieve this we needed to place the web part directly into the page i.e don&#8217;t use a webpart zone. A web part zone wraps tables around the IFrame and controls the width and height properties.</p>
<p>&nbsp;</p>
<p>I read a few articles about using JQuery&#8230;.may have to give this a go also.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/claytonj.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/claytonj.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/claytonj.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/claytonj.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/claytonj.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/claytonj.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/claytonj.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/claytonj.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/claytonj.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/claytonj.wordpress.com/409/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=claytonj.wordpress.com&blog=252582&post=409&subd=claytonj&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://claytonj.wordpress.com/2009/03/03/iframe-resize-and-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1648935198fa105f091a059bf730b766?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">CJ</media:title>
		</media:content>
	</item>
	</channel>
</rss>
