<?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: How do I refresh an sde connection to see updates to a feature class? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/796559#M1806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a versioned feature class? &amp;nbsp;And, if so, regular or branch versioning?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2019 14:51:05 GMT</pubDate>
    <dc:creator>RichRuh</dc:creator>
    <dc:date>2019-06-11T14:51:05Z</dc:date>
    <item>
      <title>How do I refresh an sde connection to see updates to a feature class?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/796558#M1805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a button that fires a stand alone python script. The script will update a row in a feature class that exists in an sde. I have that same feature class in my map in the aprx. Once the script has fired I want to see the updated row in the attribute table. If I manually refresh the sde connection in my database connection folder inside the aprx it will not update the row. However, if I were to right-click on the sde database and select properties this will cause a "refresh" and the update will become visible in the attribute table. I am attempting to duplicate this "refresh" action in C# once the python script has finished but I'm striking out. Any suggestions would be appreciated.&lt;A href="https://community.esri.com/group/3979"&gt;ArcGIS Pro SDK&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2019 21:19:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/796558#M1805</guid>
      <dc:creator>JeremyRogers1</dc:creator>
      <dc:date>2019-05-30T21:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I refresh an sde connection to see updates to a feature class?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/796559#M1806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a versioned feature class? &amp;nbsp;And, if so, regular or branch versioning?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 14:51:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/796559#M1806</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2019-06-11T14:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I refresh an sde connection to see updates to a feature class?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/796560#M1807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is versioned using branch versioning.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 15:03:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/796560#M1807</guid>
      <dc:creator>JeremyRogers1</dc:creator>
      <dc:date>2019-06-11T15:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I refresh an sde connection to see updates to a feature class?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/796561#M1808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The routine you are looking for is &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic7771.html"&gt;Version.Refresh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the feature class, get the Geodatabase. &amp;nbsp;Geodatabase.GetVersionManager() will get you a VersionManager. &amp;nbsp;VersionManager.GetCurrentVersion() will get you a Version object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 15:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/796561#M1808</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2019-06-11T15:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I refresh an sde connection to see updates to a feature class?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/796562#M1809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boom! Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Geodatabase gdb = layer.GetFeatureClass().GetDatastore() as Geodatabase;&lt;/P&gt;&lt;P&gt;VersionManager versionManager = gdb.GetVersionManager();&lt;/P&gt;&lt;P&gt;ArcGIS.Core.Data.Version version = versionManager.GetCurrentVersion();&lt;/P&gt;&lt;P&gt;version.Refresh();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Worked perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 16:00:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/796562#M1809</guid>
      <dc:creator>JeremyRogers1</dc:creator>
      <dc:date>2019-06-11T16:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I refresh an sde connection to see updates to a feature class?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/1194116#M8463</link>
      <description>&lt;P&gt;Is there a way to do this within arcpy? In order to see my edits to a layer from a versioned feature class I have to righ-click the sde connectin and hit Properties or restart ArcPro.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 19:15:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/1194116#M8463</guid>
      <dc:creator>StevenDel_Favero</dc:creator>
      <dc:date>2022-07-20T19:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I refresh an sde connection to see updates to a feature class?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/1195587#M8488</link>
      <description>&lt;P&gt;I've also been looking for a solution to this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 19:44:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-refresh-an-sde-connection-to-see-updates/m-p/1195587#M8488</guid>
      <dc:creator>caseysmith_DCP</dc:creator>
      <dc:date>2022-07-25T19:44:32Z</dc:date>
    </item>
  </channel>
</rss>

