<?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: Has anyone tried the 'updateFolderConnections' Command? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/has-anyone-tried-the-updatefolderconnections/m-p/1268841#M66784</link>
    <description>&lt;P&gt;The expanded method help makes this clearer. You pass in a list that contains dictionaries, one dictionary per folder connection. Each dictionary has three keys and associated values: "connectionString" (A local or UNC path to a system folder), "alias" (optional alias for the path in the catalog view) and "&lt;SPAN&gt;isHomeFolder" (True if this entry is for the home folder, False otherwise). Basically you're passing in an anonymous config object like it's a JavaScript function, even though Python supports named objects. Guess whoever wrote that interface had a long day and didn't want to define a proper object&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 00:42:06 GMT</pubDate>
    <dc:creator>DavidSolari</dc:creator>
    <dc:date>2023-03-17T00:42:06Z</dc:date>
    <item>
      <title>Has anyone tried the 'updateFolderConnections' Command?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/has-anyone-tried-the-updatefolderconnections/m-p/1268823#M66781</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see this command: 'updateFolderConnections' in the ArcGISProject documentation (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/arcgisproject-class.htm)" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/arcgisproject-class.htm)&lt;/A&gt;&amp;nbsp;but I don't see any examples of how to use the tool. Does anyone have any example code that uses this command?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't really understand the entry, what would the dictionaries contain exactly?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;updateFolderConnections (folder_connections, {validate})&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Replaces project folder connections using a list of dictionaries that describe each connection.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 16 Mar 2023 23:44:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/has-anyone-tried-the-updatefolderconnections/m-p/1268823#M66781</guid>
      <dc:creator>rescobar</dc:creator>
      <dc:date>2023-03-16T23:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone tried the 'updateFolderConnections' Command?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/has-anyone-tried-the-updatefolderconnections/m-p/1268841#M66784</link>
      <description>&lt;P&gt;The expanded method help makes this clearer. You pass in a list that contains dictionaries, one dictionary per folder connection. Each dictionary has three keys and associated values: "connectionString" (A local or UNC path to a system folder), "alias" (optional alias for the path in the catalog view) and "&lt;SPAN&gt;isHomeFolder" (True if this entry is for the home folder, False otherwise). Basically you're passing in an anonymous config object like it's a JavaScript function, even though Python supports named objects. Guess whoever wrote that interface had a long day and didn't want to define a proper object&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 00:42:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/has-anyone-tried-the-updatefolderconnections/m-p/1268841#M66784</guid>
      <dc:creator>DavidSolari</dc:creator>
      <dc:date>2023-03-17T00:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone tried the 'updateFolderConnections' Command?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/has-anyone-tried-the-updatefolderconnections/m-p/1269009#M66804</link>
      <description>&lt;P&gt;Thank you for breaking this down!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 15:53:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/has-anyone-tried-the-updatefolderconnections/m-p/1269009#M66804</guid>
      <dc:creator>rescobar</dc:creator>
      <dc:date>2023-03-17T15:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone tried the 'updateFolderConnections' Command?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/has-anyone-tried-the-updatefolderconnections/m-p/1269020#M66806</link>
      <description>&lt;P&gt;Do you know if there's a similar command for database connections?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 16:02:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/has-anyone-tried-the-updatefolderconnections/m-p/1269020#M66806</guid>
      <dc:creator>rescobar</dc:creator>
      <dc:date>2023-03-17T16:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone tried the 'updateFolderConnections' Command?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/has-anyone-tried-the-updatefolderconnections/m-p/1269025#M66808</link>
      <description>&lt;P&gt;Sorry, to spam you but I'm getting this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;AttributeError: 'ArcGISProject' object has no attribute 'updateFolderConnections'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from this code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;aprx.updateFolderConnections (connections)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 16:24:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/has-anyone-tried-the-updatefolderconnections/m-p/1269025#M66808</guid>
      <dc:creator>rescobar</dc:creator>
      <dc:date>2023-03-17T16:24:15Z</dc:date>
    </item>
  </channel>
</rss>

