<?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: Making a group layer (or layer) in memory in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730307#M129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not in the slightest &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;- wasn't aware of that at all - but I will have a dig around on what you describe.&lt;/P&gt;&lt;P&gt;Thanks Kirk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2020 08:54:11 GMT</pubDate>
    <dc:creator>Vidar</dc:creator>
    <dc:date>2020-04-17T08:54:11Z</dc:date>
    <item>
      <title>Making a group layer (or layer) in memory</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730303#M125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know you can use this method for creating a group layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;LayerFactory.Instance.CreateGroupLayer(map, 0, "mygrouplayer");&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to &lt;STRONG&gt;instantly&lt;/STRONG&gt; create a group layer in the map, but, is there a way to create a group layer without it being instantly created and then add it in later?, i.e. create it in memory first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 17:12:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730303#M125</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2020-04-16T17:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Making a group layer (or layer) in memory</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730304#M126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you considered creating a CIMGroupLayer, populating it with what you need, then turning it into a layer by calling CreateGroupLayer followed by GroupLayer.SetDefinition ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 19:30:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730304#M126</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-16T19:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Making a group layer (or layer) in memory</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730305#M127</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;&lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic26514.html"&gt;LayerDocument &lt;/A&gt;class allows you to configure a layer's properties prior to adding it to the map.&amp;nbsp; You can either create a new LayerDocument (using the available constructors) from an existing lyrx file or an existing feature layer in a map. Note: You also have the option of creating a blank LayerDocument and configuring all the properties from scratch if you want. But this is rare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then use the configured LayerDocument and Create a layer (or Group Layer)&amp;nbsp; using the CreateLayer method. The specific overload you will need is this:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic26527.html" title="https://prodev.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic26527.html"&gt;https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic26527.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will post a snippet on how to do this if you&amp;nbsp;need further help with this.&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, 16 Apr 2020 19:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730305#M127</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2020-04-16T19:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Making a group layer (or layer) in memory</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730306#M128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link&amp;nbsp;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fprodev.arcgis.com%2Fen%2Fpro-app%2Fsdk%2Fapi-reference%2Findex.html%23topic26527.html" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic26527.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;doesn't seem to work - I get the following in the browser:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/489048_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 08:52:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730306#M128</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2020-04-17T08:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Making a group layer (or layer) in memory</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730307#M129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not in the slightest &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;- wasn't aware of that at all - but I will have a dig around on what you describe.&lt;/P&gt;&lt;P&gt;Thanks Kirk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 08:54:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730307#M129</guid>
      <dc:creator>Vidar</dc:creator>
      <dc:date>2020-04-17T08:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Making a group layer (or layer) in memory</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730308#M130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The link seems to be different&lt;/P&gt;&lt;P&gt;Your link as shown&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic26527.html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where it links to&lt;/P&gt;&lt;P&gt;"&amp;nbsp;https://prodev.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic26527.html&amp;nbsp;"&lt;/P&gt;&lt;P&gt;when you examine its link versus the text.&lt;/P&gt;&lt;P&gt;Try editing the link to see if that is the issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 09:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730308#M130</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-04-17T09:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Making a group layer (or layer) in memory</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730309#M131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The links should work now. I have edited the typos.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, in the &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-MapAuthoring"&gt;ProSnippets: Map Authoring&lt;/A&gt; page there are 3 code snippets that use the LayerDocument to configure Feature Layers prior to adding it to the map. They create FeatureLayers, but the concept to create Group Layers is similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 13:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/making-a-group-layer-or-layer-in-memory/m-p/730309#M131</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2020-04-17T13:49:47Z</dc:date>
    </item>
  </channel>
</rss>

