<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Event Receiver on Matt Thornton</title>
    <link>https://matt-thornton.net/tags/event-receiver/</link>
    <description>Recent content in Event Receiver on Matt Thornton</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 12 Jul 2012 10:27:49 +0000</lastBuildDate><atom:link href="https://matt-thornton.net/tags/event-receiver/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SharePoint Event Receivers &#43; Inherited Documents &#43; ItemUpdating</title>
      <link>https://matt-thornton.net/tech/sharepoint/sharepoint-event-receivers-inherited-documents-itemupdating/</link>
      <pubDate>Thu, 12 Jul 2012 10:27:49 +0000</pubDate>
      
      <guid>https://matt-thornton.net/tech/sharepoint/sharepoint-event-receivers-inherited-documents-itemupdating/</guid>
      
        <description>&lt;p&gt;A while back I &lt;a href=&#34;https://www.matt-thornton.net/tech/sharepoint/sharepoint-event-receivers-itemadded-null-columns-fun&#34;&gt;posted&lt;/a&gt; some info about using Event Receivers in SharePoint 2010 and a workaround to item values being null. Today, I needed to do something much more basic, and during an ItemUpdating event set the value of a column. I wrote the code that I knew would work - but, of course, it simply wouldn&amp;rsquo;t work. I did a spot of Googling about, and found the chaps at Tango Technology who had written a &lt;a href=&#34;http://blog.tangotechnologygroup.com/2011/02/09/sharepoint-events-setting-a-column-value-in-the-itemupdating-event/&#34;&gt;very simple solution&lt;/a&gt; to it. But - it wouldn&amp;rsquo;t work for me. I knew the event was firing - but no matter what I did, the new value just wouldn&amp;rsquo;t “take”.&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>SharePoint 2010 &#43; Associate workflow to Content Type in a feature</title>
      <link>https://matt-thornton.net/tech/sharepoint/sharepoint-2010-associate-workflow-to-content-type-in-a-feature/</link>
      <pubDate>Thu, 05 May 2011 16:17:57 +0000</pubDate>
      
      <guid>https://matt-thornton.net/tech/sharepoint/sharepoint-2010-associate-workflow-to-content-type-in-a-feature/</guid>
      
        <description>&lt;p&gt;Quick tip: this plagued me for a while. You may develop a custom workflow which should only be associated with particular content types. You can deploy it to your site and then manually associate it to your content type. It&amp;rsquo;s possible to do this in code but the process isn&amp;rsquo;t as straight forward as it should be. Not to mention the fact that it&amp;rsquo;s infuriatingly hard to debug EventReceivers (“no symbols have been loaded” misery!).&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>