<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Custom Code on Matt Thornton</title>
    <link>https://matt-thornton.net/tags/custom-code/</link>
    <description>Recent content in Custom Code on Matt Thornton</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 27 Oct 2011 15:16:24 +0000</lastBuildDate><atom:link href="https://matt-thornton.net/tags/custom-code/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SharePoint 2010 &#43; Document Sets &#43; Custom Ribbon Buttons with Custom Code</title>
      <link>https://matt-thornton.net/tech/sharepoint/sharepoint-2010-document-sets-custom-ribbon-buttons-with-custom-code/</link>
      <pubDate>Thu, 27 Oct 2011 15:16:24 +0000</pubDate>
      
      <guid>https://matt-thornton.net/tech/sharepoint/sharepoint-2010-document-sets-custom-ribbon-buttons-with-custom-code/</guid>
      
        <description>&lt;p&gt;I recently &lt;a href=&#34;https://www.matt-thornton.net/tech/sharepoint/sharepoint-2010-context-menu-item-with-custom-code&#34;&gt;posted a guide&lt;/a&gt; on how to add an item to the SharePoint 2010 context menu (“EditControlBlock”) and run some custom code on the click action. SharePoint 2010 uses the love-it-or-hate-it Microsoft Ribbon, which, to the developer, is fully accessible. This guide will show you how to implement a custom button for a Document Set, in the Manage group and also on the Edit form, and run some custom code when it&amp;rsquo;s clicked, in Visual Studio 2010.&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>SharePoint 2010 context menu item with custom code</title>
      <link>https://matt-thornton.net/tech/sharepoint/sharepoint-2010-context-menu-item-with-custom-code/</link>
      <pubDate>Wed, 28 Sep 2011 15:35:02 +0000</pubDate>
      
      <guid>https://matt-thornton.net/tech/sharepoint/sharepoint-2010-context-menu-item-with-custom-code/</guid>
      
        <description>&lt;p&gt;List items in SharePoint lists and document libraries have a “context menu” on the Filename/FileLeafRef field. When you hover to the right of the field, you see a drop down menu with a bunch of options. You can add your own items to this list, and also run custom code when the item is clicked. This tutorial will show you how, using Visual Studio 2010 and SharePoint 2010.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit: 16/02/2012&lt;/strong&gt; - there were a few comments about the custom assembly not firing. I&amp;rsquo;ve revised the post below to include an extra bit in the XML to ensure the control loads (see #13.)&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://matt-thornton.net/images/posts/refile1.png&#34;&gt;&lt;img loading=&#34;lazy&#34; class=&#34;size-full wp-image-1467 alignnone&#34; title=&#34;refile1&#34; src=&#34;https://matt-thornton.net/images/posts/refile1.png&#34; alt=&#34;&#34; width=&#34;274&#34; height=&#34;247&#34; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>