<?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 lyrx, mapx from folder connection in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/lyrx-mapx-from-folder-connection/m-p/772218#M664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/updatingandfixingdatasources.htm" rel="noreferrer noopener" tabindex="-1" target="_blank" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/updatingandfixingdatasources.htm"&gt;I&lt;/A&gt; would like to know that is there any way to load layers info/data source info from lyrx/mapx directly from catalog folder connection?&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;And then update the data source location dynamically from ArcGIS pro sdk or pro python, may be driven from the dockpane UI?&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Or is that even possible?&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because in ArcMap development with arcobject or arcpy, we can do these by using IWorkspace object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Believe that underlying sdk is using arcobject, I think it should be possible? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/86730"&gt;Uma Harano&lt;/A&gt;‌ , &lt;A href="https://community.esri.com/migrated-users/10927"&gt;Wolfgang Kaiser&lt;/A&gt; ?‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Sep 2020 04:33:19 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-09-24T04:33:19Z</dc:date>
    <item>
      <title>lyrx, mapx from folder connection</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/lyrx-mapx-from-folder-connection/m-p/772218#M664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/updatingandfixingdatasources.htm" rel="noreferrer noopener" tabindex="-1" target="_blank" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/updatingandfixingdatasources.htm"&gt;I&lt;/A&gt; would like to know that is there any way to load layers info/data source info from lyrx/mapx directly from catalog folder connection?&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;And then update the data source location dynamically from ArcGIS pro sdk or pro python, may be driven from the dockpane UI?&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;Or is that even possible?&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because in ArcMap development with arcobject or arcpy, we can do these by using IWorkspace object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Believe that underlying sdk is using arcobject, I think it should be possible? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/86730"&gt;Uma Harano&lt;/A&gt;‌ , &lt;A href="https://community.esri.com/migrated-users/10927"&gt;Wolfgang Kaiser&lt;/A&gt; ?‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2020 04:33:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/lyrx-mapx-from-folder-connection/m-p/772218#M664</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-09-24T04:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: lyrx, mapx from folder connection</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/lyrx-mapx-from-folder-connection/m-p/772219#M665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I managed and load from Json function with map document and layer document.&lt;/P&gt;&lt;P&gt;From there I manage to update the datasource.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2020 05:42:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/lyrx-mapx-from-folder-connection/m-p/772219#M665</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-03T05:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: lyrx, mapx from folder connection</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/lyrx-mapx-from-folder-connection/m-p/772220#M666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Than,&lt;/P&gt;&lt;P&gt;Have you taken a look&amp;nbsp;at Esri Content\ExcelDropHandler&lt;SPAN&gt;&amp;nbsp;sample? It has method :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;private static async Task ModifyLayerSymbologyFromLyrFileAsync(FeatureLayer featureLayer, string layerFile)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It applies lyrx to featurelayer, but it is possible to create layer from lyrx ant then update CIMDataConnection. If you still interested ask me and I will describe second process more detailed.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2020 12:34:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/lyrx-mapx-from-folder-connection/m-p/772220#M666</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2020-11-03T12:34:10Z</dc:date>
    </item>
  </channel>
</rss>

