<?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: Limitations for LayerCreationParams Fixed? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840523#M3778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;These LayerDocument issues have been reported to the development team. We will prioritize adding these requirements for a future near term release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all your feedback!&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2020 16:50:38 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2020-05-15T16:50:38Z</dc:date>
    <item>
      <title>Limitations for LayerCreationParams Fixed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840517#M3772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have the limitations for LayerCreationParams been fixed for 2.5 or greater? I really need to change visibility for layers and set definitions too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this link if you are unsure what I'm talking about (bit where it mentions KNOWN LIMIT):&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Map-Authoring#layer-files-and-layer-packages" title="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Map-Authoring#layer-files-and-layer-packages"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Map-Authoring#layer-files-and-layer-packages&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 16:40:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840517#M3772</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2020-04-21T16:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Limitations for LayerCreationParams Fixed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840518#M3773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon&lt;/P&gt;&lt;P&gt;This limitation still exists. The Pro development team is looking at fixes.&lt;/P&gt;&lt;P&gt;In the meantime, you can access the LayerDocument and the CIM Definition to accomplish what you need -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;      &lt;SPAN class="comment token"&gt;// create a layer and add it to a groupLayer&lt;/SPAN&gt;
      &lt;SPAN class="keyword token"&gt;string&lt;/SPAN&gt; urlLyrx &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;@"\\path\States.lyrx"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
      QueuedTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Run&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

        &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; layerDoc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;LayerDocument&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;urlLyrx&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; cimlyrDoc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; layerDoc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetCIMLayerDocument&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; defn &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; cimlyrDoc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;LayerDefinitions&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; CIMFeatureLayer&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        defn&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Visibility &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        defn&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Name &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Test Layer"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        &lt;SPAN class="comment token"&gt;//defn.Renderer = ..&lt;/SPAN&gt;
        &lt;SPAN class="comment token"&gt;//defn.DisplayFilters = &lt;/SPAN&gt;
        &lt;SPAN class="comment token"&gt;//etc&lt;/SPAN&gt;

        &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; createParams &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;LayerCreationParams&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cimlyrDoc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        FeatureLayer flyr &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; LayerFactory&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CreateLayer&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;FeatureLayer&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;createParams&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; MapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Active&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Map&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
      &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:15:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840518#M3773</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2021-12-12T10:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Limitations for LayerCreationParams Fixed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840519#M3774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The example looks like it only works with physical layer files on disk - however I am working with layer files from the portal and they com back as type Core.Item. Does this work with portal layer items? and can I position/set the index of the layer in the contents? like I can with the one of the overrides on the CreateLayer().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2020 08:19:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840519#M3774</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2020-04-22T08:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Limitations for LayerCreationParams Fixed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840520#M3775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried :&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;var&lt;/SPAN&gt; layerDoc &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="border: 0px; font-weight: inherit;"&gt;LayerDocument&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;(portalItemUrl&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;with the portal item (which is a .lyrx file) and it returns null.&amp;nbsp; Is there any way to make the code that you outlined in your answer work with portal layer items?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 07:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840520#M3775</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2020-05-13T07:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Limitations for LayerCreationParams Fixed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840521#M3776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon&lt;/P&gt;&lt;P&gt;Looks like the portal item URL cannot be passed to the Layer Document at this time.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We will prioritize adding this requirement for a future near term release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 19:26:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840521#M3776</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2020-05-14T19:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Limitations for LayerCreationParams Fixed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840522#M3777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uma,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for getting back to me. This is disappointing for us, I really do hope ESRI fix this sooner rather than later as it is hampering and degrading the user experience for our add in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway fingers crossed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Simon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 08:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840522#M3777</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2020-05-15T08:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Limitations for LayerCreationParams Fixed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840523#M3778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;These LayerDocument issues have been reported to the development team. We will prioritize adding these requirements for a future near term release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all your feedback!&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 16:50:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/840523#M3778</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2020-05-15T16:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Limitations for LayerCreationParams Fixed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/1023324#M6117</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;Is there any update on this?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 09:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/1023324#M6117</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2021-02-04T09:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Limitations for LayerCreationParams Fixed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/1023468#M6120</link>
      <description>&lt;P&gt;Did this get fixed in 2.7 - I don't see the text about "KNOWN LIMITS"?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 16:25:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/1023468#M6120</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2021-02-04T16:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Limitations for LayerCreationParams Fixed?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/1023635#M6121</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can confirm that the ability to create a Layer Document from a Lyrx file saved on Portal has been added to 2.8.&amp;nbsp; 2.8 is currently under development.&lt;/P&gt;&lt;P&gt;ArcPro 2.8 will be released later this year.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 20:37:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/limitations-for-layercreationparams-fixed/m-p/1023635#M6121</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2021-02-04T20:37:07Z</dc:date>
    </item>
  </channel>
</rss>

