<?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 controlling where documents are saved (seeking a BeforeSave event) in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/controlling-where-documents-are-saved-seeking-a/m-p/112435#M2943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's easy to control UI behavior when a user seeks to close ArcMap because you can handle the BeforeCloseDocument event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's harder to see how to do the same when a user seeks to &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;save &lt;/SPAN&gt;&lt;SPAN&gt;a document (or use&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt; save as&lt;/SPAN&gt;&lt;SPAN&gt;.)&amp;nbsp;&amp;nbsp; The OnSave event lets you serialize info into the document as it's saving, but doesn't appear to give you any choice about whether the process of saving the document should continue.&amp;nbsp; Other than replacing the default ESRI &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;save&lt;/SPAN&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;save as &lt;/SPAN&gt;&lt;SPAN&gt;menu items, recreating the dialogs, and then saving the documents via our own code, is there an event we can trap to control this behavior? In our shop as in others, there are good and bad places to store documents, and we'd like to provide some subtle guidance to our users &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Charlie Richman&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;District of Columbia Office of Planning&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2012 15:42:01 GMT</pubDate>
    <dc:creator>CharlieRichman</dc:creator>
    <dc:date>2012-02-10T15:42:01Z</dc:date>
    <item>
      <title>controlling where documents are saved (seeking a BeforeSave event)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/controlling-where-documents-are-saved-seeking-a/m-p/112435#M2943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's easy to control UI behavior when a user seeks to close ArcMap because you can handle the BeforeCloseDocument event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's harder to see how to do the same when a user seeks to &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;save &lt;/SPAN&gt;&lt;SPAN&gt;a document (or use&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt; save as&lt;/SPAN&gt;&lt;SPAN&gt;.)&amp;nbsp;&amp;nbsp; The OnSave event lets you serialize info into the document as it's saving, but doesn't appear to give you any choice about whether the process of saving the document should continue.&amp;nbsp; Other than replacing the default ESRI &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;save&lt;/SPAN&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;save as &lt;/SPAN&gt;&lt;SPAN&gt;menu items, recreating the dialogs, and then saving the documents via our own code, is there an event we can trap to control this behavior? In our shop as in others, there are good and bad places to store documents, and we'd like to provide some subtle guidance to our users &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Charlie Richman&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;District of Columbia Office of Planning&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 15:42:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/controlling-where-documents-are-saved-seeking-a/m-p/112435#M2943</guid>
      <dc:creator>CharlieRichman</dc:creator>
      <dc:date>2012-02-10T15:42:01Z</dc:date>
    </item>
  </channel>
</rss>

