<?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 Filtering Feature Templates in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/filtering-feature-templates/m-p/408805#M2028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for an efficient way to manage over 20 feature templates in code so that only the templates that are relevant for a particular workflow are shown. At present, a single feature class is used to store the sub types that are referenced by the feature templates. Basically, I want to set the visibility of a template to false so it doesn't show in the template picker. I know I could achieve this using multiple feature classes, but I would like to keep the data structure as simple as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use &lt;/SPAN&gt;&lt;SPAN style="font-family:courier new;"&gt;featLayer.LayerInfo.FeatureTypes&lt;/SPAN&gt;&lt;SPAN&gt;I can see the sub types but &lt;/SPAN&gt;&lt;SPAN style="font-family:courier new;"&gt;featLayer.LayerInfo.Templates&lt;/SPAN&gt;&lt;SPAN&gt;is null. I can see the symbols defined in the feature templates using &lt;/SPAN&gt;&lt;SPAN style="font-family:courier new;"&gt;featLayer.LayerInfo.Renderer&lt;/SPAN&gt;&lt;SPAN&gt;. I must be missing something basic.&lt;/SPAN&gt;&lt;SPAN style="font-family:arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It would also be great if I could see an example of the FeatureTemplate constructor applied to a local feature service layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2012 04:47:12 GMT</pubDate>
    <dc:creator>MatthewBrown1</dc:creator>
    <dc:date>2012-08-16T04:47:12Z</dc:date>
    <item>
      <title>Filtering Feature Templates</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/filtering-feature-templates/m-p/408805#M2028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for an efficient way to manage over 20 feature templates in code so that only the templates that are relevant for a particular workflow are shown. At present, a single feature class is used to store the sub types that are referenced by the feature templates. Basically, I want to set the visibility of a template to false so it doesn't show in the template picker. I know I could achieve this using multiple feature classes, but I would like to keep the data structure as simple as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use &lt;/SPAN&gt;&lt;SPAN style="font-family:courier new;"&gt;featLayer.LayerInfo.FeatureTypes&lt;/SPAN&gt;&lt;SPAN&gt;I can see the sub types but &lt;/SPAN&gt;&lt;SPAN style="font-family:courier new;"&gt;featLayer.LayerInfo.Templates&lt;/SPAN&gt;&lt;SPAN&gt;is null. I can see the symbols defined in the feature templates using &lt;/SPAN&gt;&lt;SPAN style="font-family:courier new;"&gt;featLayer.LayerInfo.Renderer&lt;/SPAN&gt;&lt;SPAN&gt;. I must be missing something basic.&lt;/SPAN&gt;&lt;SPAN style="font-family:arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It would also be great if I could see an example of the FeatureTemplate constructor applied to a local feature service layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 04:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/filtering-feature-templates/m-p/408805#M2028</guid>
      <dc:creator>MatthewBrown1</dc:creator>
      <dc:date>2012-08-16T04:47:12Z</dc:date>
    </item>
  </channel>
</rss>

