<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What is the best way to execute custom code when a version is posted to DEFAULT? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-best-way-to-execute-custom-code-when-a/m-p/34196#M892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think setting your DEFAULT version's permissions to Protected should give you what you're looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Oct 2010 12:58:44 GMT</pubDate>
    <dc:creator>JamesMacKay</dc:creator>
    <dc:date>2010-10-26T12:58:44Z</dc:date>
    <item>
      <title>What is the best way to execute custom code when a version is posted to DEFAULT?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-best-way-to-execute-custom-code-when-a/m-p/34193#M889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to write custom code that compares versions on 'Post'.&amp;nbsp; I want to compare the edit version being posted to the DEFAULT version prior to the actual edits being committed in DEFAULT.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've thought of writing a custom Post command for ArcMap, but this requires all of our GIS analysts to have the extension installed (and use it).&amp;nbsp; That is too much of a training risk.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be ideal if I could catch the Post at the database level so that no matter who posts, I can handle the event.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on how I might do that (or something similar)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 17:45:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-best-way-to-execute-custom-code-when-a/m-p/34193#M889</guid>
      <dc:creator>JordanParmer</dc:creator>
      <dc:date>2010-10-25T17:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to execute custom code when a version is posted to DEFAULT?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-best-way-to-execute-custom-code-when-a/m-p/34194#M890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jordan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One option would be to create a workspace extension that implements the IVersionEvents2 interface. The major drawback of this is that you'd still have to deploy a DLL to all of your users, but it has the advantage over a custom command that your users can still rely on the standard post command. Once they install the DLL the user experience won't change for them at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a link with more information: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Creating_workspace_extensions/000100000423000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Creating_workspace_extensions/000100000423000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 23:41:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-best-way-to-execute-custom-code-when-a/m-p/34194#M890</guid>
      <dc:creator>JamesMacKay</dc:creator>
      <dc:date>2010-10-25T23:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to execute custom code when a version is posted to DEFAULT?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-best-way-to-execute-custom-code-when-a/m-p/34195#M891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey James,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is a good idea.&amp;nbsp; I've been looking into it.&amp;nbsp; Unfortunately, the way our company is structured, our GIS analysts are somewhat sandboxed from our development group.&amp;nbsp; There is a likely chance that a new employee will get a machine pre-loaded with a GIS image without our extensions installed.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After thinking on this, I think I'm going to have the GIS analysts post all of their edits to a QA/QC version and then write a custom process that posts that version to DEFAULT allowing me to run custom code comparing the two versions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to prevent people from posting to DEFAULT?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 12:44:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-best-way-to-execute-custom-code-when-a/m-p/34195#M891</guid>
      <dc:creator>JordanParmer</dc:creator>
      <dc:date>2010-10-26T12:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to execute custom code when a version is posted to DEFAULT?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-best-way-to-execute-custom-code-when-a/m-p/34196#M892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think setting your DEFAULT version's permissions to Protected should give you what you're looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 12:58:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-best-way-to-execute-custom-code-when-a/m-p/34196#M892</guid>
      <dc:creator>JamesMacKay</dc:creator>
      <dc:date>2010-10-26T12:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to execute custom code when a version is posted to DEFAULT?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-best-way-to-execute-custom-code-when-a/m-p/34197#M893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks James!&amp;nbsp; I'll look into that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 13:31:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-best-way-to-execute-custom-code-when-a/m-p/34197#M893</guid>
      <dc:creator>JordanParmer</dc:creator>
      <dc:date>2010-10-26T13:31:26Z</dc:date>
    </item>
  </channel>
</rss>

