<?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: Referenced Services - Updating file path in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391588#M38868</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/376278"&gt;@BrendanSoulé&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ArcGIS API for Python API Reference - DataStoreManager&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;A title="https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#datastoremanager" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#datastoremanager" target="_blank" rel="noreferrer noopener"&gt;https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#datastoremanager&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;This resource provides information about the data holdings of the server, as well as the ability to manage (add new items, update primary data store, remove a data store item, etc) the data store. Data items are used by ArcGIS Pro, ArcGIS Desktop, and other clients to validate data paths referenced by GIS services.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;There is a bug with the &lt;STRONG&gt;ArcGIS API for Python "DataStoreManager"&lt;/STRONG&gt;.&lt;BR /&gt;&lt;A href="https://support.esri.com/en-us/bug/associated-service-workspace-metadata-does-not-update-a-bug-000131019" target="_blank" rel="noopener"&gt;BUG-000131019 for ArcGIS GIS Server (esri.com)&lt;/A&gt;&lt;BR /&gt;&lt;EM&gt;Associated service workspace metadata does not update after updating the registered data store connection string for services with registered data sources.&lt;BR /&gt;&lt;STRONG&gt;Last Modified:&lt;/STRONG&gt; January 11, 2024&lt;BR /&gt;&lt;STRONG&gt;Status:&lt;/STRONG&gt; In Product Plan&lt;BR /&gt;&lt;STRONG&gt;Workaround:&lt;/STRONG&gt;&amp;nbsp;Republish services from MXDs with the updated database connection strings.&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTES:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I would try &lt;STRONG&gt;ArcGIS Pro 3.2 Update Data Source Tool &lt;/STRONG&gt;to update the ArcGIS Server Services&lt;EM&gt;&lt;SPAN&gt;.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/projects/update-data-sources.htm" target="_blank" rel="noopener nofollow noreferrer"&gt;Update data sources—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;You might also consider opening a ticket with Esri Technical Support to inquire about this, Support might be able to give you a Python API script that works for your case.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 00:53:12 GMT</pubDate>
    <dc:creator>MarceloMarques</dc:creator>
    <dc:date>2024-03-06T00:53:12Z</dc:date>
    <item>
      <title>Referenced Services - Updating file path</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391426#M38859</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;We have a number of referenced services that point to a shapefile or GDB on our network file storage. The storage hardware is being updated soon and IT has let us know that the filepath will need to change from '\\server1\arcgis' to '\\newserver\gis' and we'll need to point all referenced services to that new location.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to reliably automate the filepath update for these referenced services without having to manually republish them? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 20:05:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391426#M38859</guid>
      <dc:creator>BrendanSoulé</dc:creator>
      <dc:date>2024-03-05T20:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced Services - Updating file path</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391437#M38861</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/376278"&gt;@BrendanSoulé&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;ArcGIS Pro 3.2 Update Data Source Tool&lt;/STRONG&gt; can update the map documents and now can also update ArcGIS Server Services.&amp;nbsp; &amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/projects/update-data-sources.htm" target="_blank" rel="noopener"&gt;Update data sources—ArcGIS Pro | Documentation&lt;/A&gt;&lt;BR /&gt;If you run into any issue using the tool, then please open a ticket with Esri Technical Support to investigate further.&lt;BR /&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 20:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391437#M38861</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-03-05T20:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced Services - Updating file path</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391475#M38863</link>
      <description>&lt;P&gt;If you can manage the cutover very carefully, i.e. allowing yourself time, then theoretically, you could retire server1 and create a DNS entry to alias new server as 'server1'.&amp;nbsp; Things would just continue to work, assuming the sub-folders and permissions remain equal.&amp;nbsp; If it's a phased migration, then you're going to need to follow Marcelo's advice below.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 21:15:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391475#M38863</guid>
      <dc:creator>Scott_Tansley</dc:creator>
      <dc:date>2024-03-05T21:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced Services - Updating file path</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391495#M38864</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/413165"&gt;@Scott_Tansley&lt;/a&gt;&amp;nbsp;- a DNS Alias is a good alternative, as you mentioned, if the path to the sub-folders remains the same.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 21:35:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391495#M38864</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-03-05T21:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced Services - Updating file path</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391497#M38865</link>
      <description>&lt;P&gt;Yeah - it's not my favourite option, but it's the one that involved least work.&amp;nbsp; But only works if the data is migrated and ready.&amp;nbsp; The old machine can be turned off (and will not be turned on again) and then the DNS applied.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My preference is to use DNS up front, and have a \\datapath\ UNC alias, that can be swapped from server1 to newserver, but when it's retrospective like this, there are limited options.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 21:38:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391497#M38865</guid>
      <dc:creator>Scott_Tansley</dc:creator>
      <dc:date>2024-03-05T21:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced Services - Updating file path</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391564#M38867</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7880"&gt;@MarceloMarques&lt;/a&gt;&amp;nbsp;and &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/413165"&gt;@Scott_Tansley&lt;/a&gt;&amp;nbsp;&amp;nbsp;for the information! I'll definitely ask about the DNS option, it would be nice to avoid changing filepaths altogether.&lt;/P&gt;&lt;P&gt;For the arcpy method, does the update have to be done in the APRX used to publish the layer? Or can we change the connection path on the service itself, maybe using the ArcGIS API for Python?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 23:33:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391564#M38867</guid>
      <dc:creator>BrendanSoulé</dc:creator>
      <dc:date>2024-03-05T23:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced Services - Updating file path</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391588#M38868</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/376278"&gt;@BrendanSoulé&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ArcGIS API for Python API Reference - DataStoreManager&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;A title="https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#datastoremanager" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#datastoremanager" target="_blank" rel="noreferrer noopener"&gt;https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#datastoremanager&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;This resource provides information about the data holdings of the server, as well as the ability to manage (add new items, update primary data store, remove a data store item, etc) the data store. Data items are used by ArcGIS Pro, ArcGIS Desktop, and other clients to validate data paths referenced by GIS services.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;There is a bug with the &lt;STRONG&gt;ArcGIS API for Python "DataStoreManager"&lt;/STRONG&gt;.&lt;BR /&gt;&lt;A href="https://support.esri.com/en-us/bug/associated-service-workspace-metadata-does-not-update-a-bug-000131019" target="_blank" rel="noopener"&gt;BUG-000131019 for ArcGIS GIS Server (esri.com)&lt;/A&gt;&lt;BR /&gt;&lt;EM&gt;Associated service workspace metadata does not update after updating the registered data store connection string for services with registered data sources.&lt;BR /&gt;&lt;STRONG&gt;Last Modified:&lt;/STRONG&gt; January 11, 2024&lt;BR /&gt;&lt;STRONG&gt;Status:&lt;/STRONG&gt; In Product Plan&lt;BR /&gt;&lt;STRONG&gt;Workaround:&lt;/STRONG&gt;&amp;nbsp;Republish services from MXDs with the updated database connection strings.&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTES:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I would try &lt;STRONG&gt;ArcGIS Pro 3.2 Update Data Source Tool &lt;/STRONG&gt;to update the ArcGIS Server Services&lt;EM&gt;&lt;SPAN&gt;.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/projects/update-data-sources.htm" target="_blank" rel="noopener nofollow noreferrer"&gt;Update data sources—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;You might also consider opening a ticket with Esri Technical Support to inquire about this, Support might be able to give you a Python API script that works for your case.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 00:53:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391588#M38868</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-03-06T00:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced Services - Updating file path</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391989#M38883</link>
      <description>&lt;P&gt;Thanks so much, we'll take a look at these options and see if they're viable for updating the services. If so, I'll be sure to mark this solved.&lt;/P&gt;&lt;P&gt;Appreciate your help!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 17:22:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/referenced-services-updating-file-path/m-p/1391989#M38883</guid>
      <dc:creator>BrendanSoulé</dc:creator>
      <dc:date>2024-03-06T17:22:00Z</dc:date>
    </item>
  </channel>
</rss>

