<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1104585620793959232</id><updated>2012-01-27T15:31:19.418-06:00</updated><category term='provisioning'/><category term='DVWP'/><category term='changed login'/><category term='import XOML'/><category term='HttpSession'/><category term='site definition'/><category term='list'/><category term='workflow'/><category term='provision'/><category term='SPContext properties'/><category term='file access error'/><category term='custom list forms'/><category term='missing assemblies'/><category term='blank'/><category term='wspbuilder'/><category term='enhancement'/><category term='access denied'/><category term='Field level security'/><category term='ASP.NET'/><category term='sharepoint'/><category term='elevated permissions'/><category term='people editor'/><category term='ldap'/><category term='ECB'/><category term='creating SPContext'/><category term='wss'/><category term='forms'/><category term='sts'/><category term='layout'/><category term='Custom Actions'/><category term='list schema'/><category term='site templates'/><category term='sorting by number'/><category term='customization'/><category term='navigation'/><category term='XSLT'/><category term='security bits'/><category term='fields'/><category term='existing'/><category term='security'/><category term='SPD'/><category term='static'/><category term='schema'/><category term='deployment'/><category term='dll hell'/><category term='CAML'/><category term='advanced'/><category term='landing page'/><category term='LVWP'/><category term='incremental'/><category term='resolution bug'/><category term='SPException'/><category term='List Form'/><category term='feature receiver'/><category term='HttpContext'/><category term='ViewGuid'/><category term='FormTemplates'/><category term='topnavbar'/><category term='features'/><category term='LinkTitle'/><category term='reference count'/><category term='content type'/><category term='toplinkbar'/><category term='RenderingTemplate'/><category term='runtime error'/><category term='XmlDocuments'/><category term='gac'/><category term='Silverlight'/><category term='user profile'/><title type='text'>Pioneering SharePoint</title><subtitle type='html'>This blog is for discovering small tips and tricks on the job and during hobby time about SharePoint.  This can include provisioning, assembly code, web parts and controls, and customization through the GUI and SharePoint Designer.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-6495480002781638504</id><published>2010-09-18T12:54:00.000-05:00</published><updated>2010-09-18T12:54:25.325-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderingTemplate'/><title type='text'>Customize List Forms using Silverlight</title><summary type='text'>Well I started at a new client a few months ago.  They do things a little different.  I would like to think I got the job because of my passion for custom field types and custom list forms.  But they are going a different direction.  We started the project using customized list forms with custom field types, now we've switched gears to Silverlight!  So I'm trying to mix Silverlight with list </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/6495480002781638504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/09/customize-list-forms-using-silverlight.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/6495480002781638504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/6495480002781638504'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/09/customize-list-forms-using-silverlight.html' title='Customize List Forms using Silverlight'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_9umCuoG2bIM/TJTgs75U5hI/AAAAAAAAAEM/AZ9QPCk4dyY/s72-c/listform-markup.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-8418658034543124617</id><published>2010-08-13T11:39:00.000-05:00</published><updated>2010-08-13T11:39:12.518-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='access denied'/><category scheme='http://www.blogger.com/atom/ns#' term='list schema'/><category scheme='http://www.blogger.com/atom/ns#' term='security bits'/><title type='text'>Don't forget your Security Bits!</title><summary type='text'>Apparently SecurityBits are important when creating a custom list schema in 2007.  I just spent a few hours wondering why I was getting Access denied inside a ListViewWebPart.  








It turns out I didn't have SecurityBits.  You can list them in your list template, in your list schema main tag, or in the Security tag inside MetaData.  But you have to have them somewhere.  Remember your options</summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/8418658034543124617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/08/dont-forget-your-security-bits.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/8418658034543124617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/8418658034543124617'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/08/dont-forget-your-security-bits.html' title='Don&apos;t forget your Security Bits!'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9umCuoG2bIM/TGVzxH49vdI/AAAAAAAAAD0/bBg8xr6lbkY/s72-c/access_denied.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-1945686770649665806</id><published>2010-06-17T21:48:00.000-05:00</published><updated>2010-06-17T21:48:07.044-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XmlDocuments'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderingTemplate'/><category scheme='http://www.blogger.com/atom/ns#' term='custom list forms'/><category scheme='http://www.blogger.com/atom/ns#' term='FormTemplates'/><title type='text'>Customizing a list form at a later time with Rendering Templates</title><summary type='text'>A while back I wrote a post on how you can customize list forms using Rendering Templates.  Since then, I've spoken on the topic and I'm starting to receive feedback.  Because of this, I have discovered more secrets on using Rendering Templates.  I think you'll like this one. I have more on queue.

You can customize a list form anytime! Not just when you provision a custom list as I alluded to in</summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/1945686770649665806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/06/customizing-list-form-at-later-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/1945686770649665806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/1945686770649665806'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/06/customizing-list-form-at-later-time.html' title='Customizing a list form at a later time with Rendering Templates'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-6647847358550489368</id><published>2010-06-14T20:43:00.000-05:00</published><updated>2010-06-14T20:43:56.714-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='topnavbar'/><category scheme='http://www.blogger.com/atom/ns#' term='toplinkbar'/><category scheme='http://www.blogger.com/atom/ns#' term='landing page'/><category scheme='http://www.blogger.com/atom/ns#' term='navigation'/><title type='text'>Where did the link to my site go?</title><summary type='text'>Have you ever noticed that when you delete a web, the link on the top nav bar disappears.  It actaully disappears because the link to the endpoint was deleted.  SharePoint verifies the links; this is also how security trimming works.

So back to the problem.  You've provisioned a web and you've set it up to inherit the top navbar and to show a tab (link).  This link points to default.aspx.  Now </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/6647847358550489368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/06/where-did-link-to-my-site-go.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/6647847358550489368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/6647847358550489368'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/06/where-did-link-to-my-site-go.html' title='Where did the link to my site go?'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-47211876820115347</id><published>2010-04-28T07:14:00.000-05:00</published><updated>2010-04-28T07:14:27.094-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='content type'/><category scheme='http://www.blogger.com/atom/ns#' term='fields'/><category scheme='http://www.blogger.com/atom/ns#' term='schema'/><category scheme='http://www.blogger.com/atom/ns#' term='list'/><category scheme='http://www.blogger.com/atom/ns#' term='provisioning'/><title type='text'>Creating Lists without a Fields collection</title><summary type='text'>I learned a neat trick a few years ago on a way to create lists without redundancy. You might have heard of it and after reading this post it will sound familiar. I'm not the first person to blog about it but I felt it was important.
We all know how to create a list using provisioning techniques: create a list schema
create a list template
create a feature
deploy the feature
activate the feature
</summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/47211876820115347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/04/creating-lists-without-fields.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/47211876820115347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/47211876820115347'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/04/creating-lists-without-fields.html' title='Creating Lists without a Fields collection'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-8138285556508565096</id><published>2010-04-16T15:44:00.000-05:00</published><updated>2010-04-16T15:44:50.611-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='provision'/><category scheme='http://www.blogger.com/atom/ns#' term='ViewGuid'/><category scheme='http://www.blogger.com/atom/ns#' term='LVWP'/><category scheme='http://www.blogger.com/atom/ns#' term='list'/><title type='text'>Funny Business with ListViewWebPart</title><summary type='text'>I wouldn't exactly call this a tip, more of a trick.  Maybe I'm just doing something wrong but I thought I would share my frustration.  

NOTE: I did find a workaround but I would like to know what's really going on underneath, please comment on this.  See bottom.

Let's start

There are several ways to provision a ListViewWebPart (LVWP) to a web part page: Designer, web browser, element manifest</summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/8138285556508565096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/04/funny-business-with-listviewwebpart.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/8138285556508565096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/8138285556508565096'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/04/funny-business-with-listviewwebpart.html' title='Funny Business with ListViewWebPart'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-5383330528293763142</id><published>2010-01-26T06:42:00.000-06:00</published><updated>2010-01-26T06:42:54.746-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LinkTitle'/><category scheme='http://www.blogger.com/atom/ns#' term='Custom Actions'/><category scheme='http://www.blogger.com/atom/ns#' term='customization'/><category scheme='http://www.blogger.com/atom/ns#' term='CAML'/><category scheme='http://www.blogger.com/atom/ns#' term='ECB'/><title type='text'>Copying the ECB Menu</title><summary type='text'>Level 300
There are two approaches [javascript and CAML] one can take to accomplish this technique.  I am taking the low-road; manipulating the CAML directly.  If you don’t feel comfortable with writing custom list schema, this could be difficult and frustrating.  It’s not hard to do but there’s a technique to creating custom list schema and other blog posts can do a better job explaining it.  In</summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/5383330528293763142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/01/copying-ecb-menu.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/5383330528293763142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/5383330528293763142'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2010/01/copying-ecb-menu.html' title='Copying the ECB Menu'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_9umCuoG2bIM/S13u9VMP60I/AAAAAAAAADk/tRhngcTYb3A/s72-c/blog1.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-8649982557472792949</id><published>2009-11-13T17:19:00.000-06:00</published><updated>2009-11-13T17:19:33.108-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='site templates'/><category scheme='http://www.blogger.com/atom/ns#' term='layout'/><category scheme='http://www.blogger.com/atom/ns#' term='List Form'/><category scheme='http://www.blogger.com/atom/ns#' term='customization'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Field level security'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderingTemplate'/><title type='text'>THE correct way to customize forms</title><summary type='text'>I've been aSharePoint developer for a number of years. And I thought I knew alot about SharePoint and its inner workings. Wrong! There is so much to this product, it's impossible to know everything. In my line of work, I develop modules for clients. These are features that create some lists, some workflow, some pages, put it all together to solve a business problem. Thats what SharePoint is all </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/8649982557472792949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/11/correct-way-to-customize-forms.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/8649982557472792949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/8649982557472792949'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/11/correct-way-to-customize-forms.html' title='THE correct way to customize forms'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_9umCuoG2bIM/Sv3ji5W54mI/AAAAAAAAACI/s7TkA3xtKjk/s72-c/Capture1.JPG' height='72' width='72'/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-7876130476278082770</id><published>2009-10-10T14:08:00.000-05:00</published><updated>2009-12-10T15:39:05.663-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forms'/><category scheme='http://www.blogger.com/atom/ns#' term='existing'/><category scheme='http://www.blogger.com/atom/ns#' term='list'/><category scheme='http://www.blogger.com/atom/ns#' term='enhancement'/><category scheme='http://www.blogger.com/atom/ns#' term='incremental'/><title type='text'>Updating List Forms</title><summary type='text'> 
BackgroundLately, my project has transitioned in its life cycle from development to maintenance. Now this is important because the techniques I am applying cannot disturb the solution. Once it was deployed to production, the site collection cannot be revamped. So we have to come up with creative ways to get the updated functionality into the existing webs. New webs can use functionality drawn </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/7876130476278082770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/01/updating-list-forms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/7876130476278082770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/7876130476278082770'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/01/updating-list-forms.html' title='Updating List Forms'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-8787597552419937191</id><published>2009-09-17T09:06:00.000-05:00</published><updated>2009-09-17T09:06:15.847-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='user profile'/><category scheme='http://www.blogger.com/atom/ns#' term='changed login'/><category scheme='http://www.blogger.com/atom/ns#' term='ldap'/><title type='text'>False login discovered!</title><summary type='text'>BackgroundAt my client, we have unique authentication scheme. They use two directory services. Active Directory drives the windows side but an LDAP implementation drives theverything else. A real heterogeneous environment. Every night, maybe even more often, the AD forest is synchonized with it's LDAP counterpart. LDAP is the system of record not AD. This setup can cause problems especially for </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/8787597552419937191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/09/false-login-discovered.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/8787597552419937191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/8787597552419937191'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/09/false-login-discovered.html' title='False login discovered!'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-3765168709016187789</id><published>2009-09-10T11:01:00.000-05:00</published><updated>2009-09-10T11:01:26.299-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HttpContext'/><category scheme='http://www.blogger.com/atom/ns#' term='creating SPContext'/><category scheme='http://www.blogger.com/atom/ns#' term='SPContext properties'/><title type='text'>I need my SPContext now</title><summary type='text'>Don't fret if you have an HttpContext you can create a SPContext. Just use SPContext.GetContext.

SPContext context = SPContext.GetContext(HttpContext.Current);



But what if you want to use this context. If you call SPContext.Current you might not get the right one. The SPContext contains references to alot of Objects like SPSite, SPWeb, as well as SPList, SPListItem, FormContext and others. </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/3765168709016187789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/09/i-need-my-spcontext-now.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/3765168709016187789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/3765168709016187789'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/09/i-need-my-spcontext-now.html' title='I need my SPContext now'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-7216324543251655516</id><published>2009-09-01T22:15:00.002-05:00</published><updated>2009-09-02T12:43:30.316-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SPD'/><category scheme='http://www.blogger.com/atom/ns#' term='import XOML'/><category scheme='http://www.blogger.com/atom/ns#' term='missing assemblies'/><category scheme='http://www.blogger.com/atom/ns#' term='workflow'/><title type='text'>Failed to load workflow</title><summary type='text'>Sometimes SPD just won't load an imported XOML file. Why?Like other people have mentioned clear the AssemblyProxyCache first. But that doesn't always work. Why?It turns out there might be a dependent assembly used in the workflow that wasn't installed on the target system. You can find out by opening the XOML file as text and looking in the root tag. All the namespaces used in the XML are </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/7216324543251655516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/09/failed-to-load-workflow.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/7216324543251655516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/7216324543251655516'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/09/failed-to-load-workflow.html' title='Failed to load workflow'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-5073634256367318430</id><published>2009-08-31T13:39:00.017-05:00</published><updated>2009-08-31T19:12:04.645-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DVWP'/><category scheme='http://www.blogger.com/atom/ns#' term='customization'/><category scheme='http://www.blogger.com/atom/ns#' term='sorting by number'/><category scheme='http://www.blogger.com/atom/ns#' term='XSLT'/><title type='text'>DVWP failed to sort my columns</title><summary type='text'>I'm sure some of you have had the pleasure of creating a DataViewWebPart (DVWP) in SharePoint Designer (SPD). You know, the one where you take an existing ListViewWebPart (LVWP), choose tasks, and convert to DataFormWebPart.Anyways, it creates the XSLT for you that behaves almost like the LVWP. You have the capability to sort descending and ascending on certain fields (you set which ones) and you</summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/5073634256367318430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/08/dvwp-failed-to-sort-my-columns.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/5073634256367318430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/5073634256367318430'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/08/dvwp-failed-to-sort-my-columns.html' title='DVWP failed to sort my columns'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_9umCuoG2bIM/Spwm161241I/AAAAAAAAABo/OWE9trFOuOI/s72-c/xslt-copy.png' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-7055314043487838784</id><published>2009-08-20T08:25:00.006-05:00</published><updated>2009-08-20T08:57:51.337-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='reference count'/><category scheme='http://www.blogger.com/atom/ns#' term='deployment'/><category scheme='http://www.blogger.com/atom/ns#' term='missing assemblies'/><category scheme='http://www.blogger.com/atom/ns#' term='gac'/><category scheme='http://www.blogger.com/atom/ns#' term='dll hell'/><category scheme='http://www.blogger.com/atom/ns#' term='wspbuilder'/><title type='text'>Please SharePoint, leave my assemblies alone!</title><summary type='text'>I had the unfortunate experience of bringing the production server down after my latest deployment.  Yes, I follow best practices.  I wrap all my solutions in a WSP.  That's what got me into so much trouble.  I guess I really need to change the version number with every new release.  Keep reading and you'll see why.When you deploy/upgrade a solution with allowgacdeployment, it takes whats listed </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/7055314043487838784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/08/please-sharepoint-leave-my-assemblies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/7055314043487838784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/7055314043487838784'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/08/please-sharepoint-leave-my-assemblies.html' title='Please SharePoint, leave my assemblies alone!'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-4424091299636361257</id><published>2009-08-13T20:02:00.005-05:00</published><updated>2009-08-13T20:34:12.041-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='user profile'/><category scheme='http://www.blogger.com/atom/ns#' term='resolution bug'/><category scheme='http://www.blogger.com/atom/ns#' term='people editor'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>PeopleEditor doesn't always resolve - really!</title><summary type='text'>The other day we were troubleshooting some code that uses a PeopleEditor.  You know that great control that lets you select users/groups to include into your custom list. You can use it two ways:  You can enter a name or Use the browse popup to find the name.  When you use it to resolve a name (click the CheckNames icon), you can enter an Active Directory alias or a full name as it would appear </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/4424091299636361257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/08/peopleeditor-doesnt-always-resolve.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/4424091299636361257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/4424091299636361257'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/08/peopleeditor-doesnt-always-resolve.html' title='PeopleEditor doesn&apos;t always resolve - really!'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-5767395812984046540</id><published>2009-07-16T06:52:00.000-05:00</published><updated>2009-07-16T07:16:14.703-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='feature receiver'/><category scheme='http://www.blogger.com/atom/ns#' term='file access error'/><category scheme='http://www.blogger.com/atom/ns#' term='elevated permissions'/><title type='text'>Sometimes you can't read a file</title><summary type='text'>The other day, I was debugging a deployment process. It's pretty simple; just a feature receiver that creates some lists, sets some security, and attaches some workflow. We use Nintex 2007 here. It's awesome. I wrote some code a while back that automates this provisioning process (reads a workflow template file, calls the Nintex web service, publishes the workflow to the list). Well it wasn't </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/5767395812984046540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/07/sometimes-you-cant-read-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/5767395812984046540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/5767395812984046540'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/07/sometimes-you-cant-read-file.html' title='Sometimes you can&apos;t read a file'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-4878742853613561791</id><published>2009-04-23T16:23:00.000-05:00</published><updated>2009-04-30T11:21:51.155-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HttpContext'/><category scheme='http://www.blogger.com/atom/ns#' term='static'/><category scheme='http://www.blogger.com/atom/ns#' term='elevated permissions'/><category scheme='http://www.blogger.com/atom/ns#' term='HttpSession'/><title type='text'>Sometimes you don't have a Session</title><summary type='text'>I ran into an interesting problem the other day.  I had set up some code to cache frequently accessed variables.  I had used the Cache object but then discovered it wouldn't ever refresh with a new value unless I setup some type of expiration policy.  So then I got the idea to use the Session cache instead. So everything was fine until I tried to refresh those variables.  It seemed to be working </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/4878742853613561791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/04/sometimes-you-dont-have-session.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/4878742853613561791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/4878742853613561791'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/04/sometimes-you-dont-have-session.html' title='Sometimes you don&apos;t have a Session'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-3249051899717397405</id><published>2009-03-17T15:10:00.000-05:00</published><updated>2009-03-17T15:30:38.396-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wss'/><category scheme='http://www.blogger.com/atom/ns#' term='runtime error'/><category scheme='http://www.blogger.com/atom/ns#' term='SPException'/><title type='text'>SPException throws exception!</title><summary type='text'>This one had me baffled for days.You know, you write some code and then want to relay a friendlier error message back to the user if an exception occurs.Well it turns out that this breaks under certain conditions on your server.You can make SPException break if you do the following:Enable custom errorsTurn on CallStackTurn on AllowPageLevelTraceTurn on debug.Here are the code snippets:&lt;Safemode </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/3249051899717397405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/03/spexception-throws-exception.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/3249051899717397405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/3249051899717397405'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/03/spexception-throws-exception.html' title='SPException throws exception!'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-5879375369727540735</id><published>2009-01-22T08:44:00.000-06:00</published><updated>2009-01-22T09:31:42.054-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sts'/><category scheme='http://www.blogger.com/atom/ns#' term='wss'/><category scheme='http://www.blogger.com/atom/ns#' term='site templates'/><category scheme='http://www.blogger.com/atom/ns#' term='site definition'/><category scheme='http://www.blogger.com/atom/ns#' term='blank'/><title type='text'>A really blank site definition</title><summary type='text'>Ok people have been asking for this...I have created a blank site definition, more blank than blank STS Team site. You can't get anymore bare metal than this. I hope someone finds this useful.Here we go!#ONET.XML&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;Project Title="Blank" Revision="1" ListDir="$Resources:core,lists_Folder;" xmlns:ows="Microsoft SharePoint"&gt;&lt;NavBars&gt;&lt;!-- add NavBar to fill in </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/5879375369727540735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/01/really-blank-site-definition.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/5879375369727540735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/5879375369727540735'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2009/01/really-blank-site-definition.html' title='A really blank site definition'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9umCuoG2bIM/SXiPZzkrSxI/AAAAAAAAAAw/T8a9Denlww0/s72-c/template-location.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1104585620793959232.post-3475632425563352214</id><published>2008-11-16T15:03:00.000-06:00</published><updated>2008-11-16T16:22:20.350-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wss'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='features'/><category scheme='http://www.blogger.com/atom/ns#' term='site templates'/><category scheme='http://www.blogger.com/atom/ns#' term='feature receiver'/><category scheme='http://www.blogger.com/atom/ns#' term='advanced'/><title type='text'>Extending Site Definitions with Web Features</title><summary type='text'>Have you ever created a site definition with some features and then realized you needed a few more?Have you ever tried to update your site definition with more features and later found out it wrecked your existing webs that used that site definition?Here is a technique that can alleviate that problem.What you need:A site definition, a feature, a feature receiver, a text or xml file, a TextReader </summary><link rel='replies' type='application/atom+xml' href='http://pioneeringsharepoint.blogspot.com/feeds/3475632425563352214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2008/11/extending-site-definitions-with-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/3475632425563352214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1104585620793959232/posts/default/3475632425563352214'/><link rel='alternate' type='text/html' href='http://pioneeringsharepoint.blogspot.com/2008/11/extending-site-definitions-with-web.html' title='Extending Site Definitions with Web Features'/><author><name>Brian L Bedard</name><uri>http://www.blogger.com/profile/05914219830660230398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9umCuoG2bIM/SSJJ8PVBunI/AAAAAAAAAAM/2-pXycpqysw/s1600-R/pickaxe.gif'/></author><thr:total>0</thr:total></entry></feed>
