<?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 Layer File (lyrx) in Project Changes Source Path when Project is Copied Issue. in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/layer-file-lyrx-in-project-changes-source-path/m-p/1536476#M88045</link>
    <description>&lt;P&gt;&amp;nbsp; I have a a default project that I use to copy over each time I want a new fresh start.&amp;nbsp; Reason I do this is I have all the layers I want set up as well as all the folders and notes in the project location to make it much easier.&amp;nbsp; There is a layer file that points to a shapefile in a set location that I want to keep there.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; When I copy the project, everything links just fine (all but the layer file are on SDE), all except the one layer file.&amp;nbsp; I look at the source link and it's always appending the new folder location to the existing path and why it breaks.&amp;nbsp; I want to keep this source file in the same location as it often gets updated.&amp;nbsp; Everytime I export the layer to a *.lyrx, I don't see any option to keep the file source path relative at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Is there anyway to prevent this from happening to the layer file as I laways have to relink the broken link?&lt;BR /&gt;&lt;BR /&gt;Original source I want to keep for the shapefile the layer links to:&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PeteJordan_0-1725896754337.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114596i34549E06CBAF5C00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PeteJordan_0-1725896754337.png" alt="PeteJordan_0-1725896754337.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Source1.jpg" style="width: 892px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114595i9BF0FAF50576F845/image-size/large?v=v2&amp;amp;px=999" role="button" title="Source1.jpg" alt="Source1.jpg" /&gt;&lt;/span&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;New source layer that appends the new name which I don't want when copying the project over:&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Source2.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114597i1D0D6FAE77167EE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Source2.jpg" alt="Source2.jpg" /&gt;&lt;/span&gt;&lt;P&gt; &lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2024 15:47:41 GMT</pubDate>
    <dc:creator>PeteJordan</dc:creator>
    <dc:date>2024-09-09T15:47:41Z</dc:date>
    <item>
      <title>Layer File (lyrx) in Project Changes Source Path when Project is Copied Issue.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/layer-file-lyrx-in-project-changes-source-path/m-p/1536476#M88045</link>
      <description>&lt;P&gt;&amp;nbsp; I have a a default project that I use to copy over each time I want a new fresh start.&amp;nbsp; Reason I do this is I have all the layers I want set up as well as all the folders and notes in the project location to make it much easier.&amp;nbsp; There is a layer file that points to a shapefile in a set location that I want to keep there.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; When I copy the project, everything links just fine (all but the layer file are on SDE), all except the one layer file.&amp;nbsp; I look at the source link and it's always appending the new folder location to the existing path and why it breaks.&amp;nbsp; I want to keep this source file in the same location as it often gets updated.&amp;nbsp; Everytime I export the layer to a *.lyrx, I don't see any option to keep the file source path relative at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Is there anyway to prevent this from happening to the layer file as I laways have to relink the broken link?&lt;BR /&gt;&lt;BR /&gt;Original source I want to keep for the shapefile the layer links to:&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PeteJordan_0-1725896754337.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114596i34549E06CBAF5C00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PeteJordan_0-1725896754337.png" alt="PeteJordan_0-1725896754337.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Source1.jpg" style="width: 892px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114595i9BF0FAF50576F845/image-size/large?v=v2&amp;amp;px=999" role="button" title="Source1.jpg" alt="Source1.jpg" /&gt;&lt;/span&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;New source layer that appends the new name which I don't want when copying the project over:&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Source2.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114597i1D0D6FAE77167EE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Source2.jpg" alt="Source2.jpg" /&gt;&lt;/span&gt;&lt;P&gt; &lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 15:47:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/layer-file-lyrx-in-project-changes-source-path/m-p/1536476#M88045</guid>
      <dc:creator>PeteJordan</dc:creator>
      <dc:date>2024-09-09T15:47:41Z</dc:date>
    </item>
  </channel>
</rss>

