<?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 ArcGIS Mobile SDK - using SelectFeatureTypePage in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/arcgis-mobile-sdk-using-selectfeaturetypepage/m-p/694343#M2948</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;I'm trying to create a custom collection workflow for the ArcGIS Mobile for Windows application (10.2.1) which I know is out of support soon, but hoping someone might have come across this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the workflow I want to use the standard SelectFeatureTypePage to allow the user to select a feature type to collect. However, when I create a new instance of the SelectFeatureTypePage and transition to it, there are no feature types listed, despite there being layers in the project with AllowNew = true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see that the SelectFeatureTypePage has a FeatureTypeListControl property which has a FeatureSourceInfos property, but this is read-only, so I can't populate it with layer sources.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code I have is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;SelectFeatureTypePage selectFeatureTypePage &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;SelectFeatureTypePage&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;
selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Title &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Collect"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Note &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Select the type of feature"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ImageSource &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ImageSource&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ShowFeatureSources &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ClickBack &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&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;EventHandler&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;OnSelectFeatureTypeBackCommandExecute&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FeatureTypeSelected &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&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;EventHandler&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;FeatureTypeEventArgs&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;OnFeatureTypeSelection&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

MobileApplication&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Current&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Transition&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;selectFeatureTypePage&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The constructors for SelectFeatureTypePage and FeatureTypeListControl also do not have arguments to pass in a set of layer infos.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone successfully used the SelectFeatureTypePage in the ArcGIS Mobile SDK? How did you get it to populate the list of feature types?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 05:13:29 GMT</pubDate>
    <dc:creator>JohnFannon</dc:creator>
    <dc:date>2021-12-12T05:13:29Z</dc:date>
    <item>
      <title>ArcGIS Mobile SDK - using SelectFeatureTypePage</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/arcgis-mobile-sdk-using-selectfeaturetypepage/m-p/694343#M2948</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;I'm trying to create a custom collection workflow for the ArcGIS Mobile for Windows application (10.2.1) which I know is out of support soon, but hoping someone might have come across this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the workflow I want to use the standard SelectFeatureTypePage to allow the user to select a feature type to collect. However, when I create a new instance of the SelectFeatureTypePage and transition to it, there are no feature types listed, despite there being layers in the project with AllowNew = true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see that the SelectFeatureTypePage has a FeatureTypeListControl property which has a FeatureSourceInfos property, but this is read-only, so I can't populate it with layer sources.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code I have is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;SelectFeatureTypePage selectFeatureTypePage &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;SelectFeatureTypePage&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;
selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Title &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Collect"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Note &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Select the type of feature"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ImageSource &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ImageSource&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ShowFeatureSources &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ClickBack &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&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;EventHandler&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;OnSelectFeatureTypeBackCommandExecute&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
selectFeatureTypePage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FeatureTypeSelected &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&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;EventHandler&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;FeatureTypeEventArgs&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;OnFeatureTypeSelection&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

MobileApplication&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Current&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Transition&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;selectFeatureTypePage&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The constructors for SelectFeatureTypePage and FeatureTypeListControl also do not have arguments to pass in a set of layer infos.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone successfully used the SelectFeatureTypePage in the ArcGIS Mobile SDK? How did you get it to populate the list of feature types?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:13:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/arcgis-mobile-sdk-using-selectfeaturetypepage/m-p/694343#M2948</guid>
      <dc:creator>JohnFannon</dc:creator>
      <dc:date>2021-12-12T05:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Mobile SDK - using SelectFeatureTypePage</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/arcgis-mobile-sdk-using-selectfeaturetypepage/m-p/694344#M2949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After several weeks wait, I now have confirmation from Esri UK, via Esri Inc, that this is a bug as it's not possible to populate the SelectFeatureTypesPage using the SDK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reference I was give - if it's of use to anyone else was:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;BUG-000102430 : Unable to populate SelectFeatureTypePage using the ArcGIS Runtime for Windows Mobile&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An Esri UKs&amp;nbsp;conclusion was:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;EM&gt;The FeatureTypeListControl is what is used to populate the SelectFeatureTypePage.&amp;nbsp; The FeatureTypeListControl is populated by FeatureSourceInfos.&amp;nbsp; FeatureSourceInfos is a read only property, which means the FeatureTypeListControl cannot be populated.&amp;nbsp; This in turn means the SelectFeatureTypePage cannot be populated.&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;As the product is now in mature support and shortly to be retired, Esri Inc will not provide a fix. In any case, du&lt;/SPAN&gt;e to our time constraints, we had already worked around the issue by creating a custom SelectFeatureTypesPage that allows for population of the feature type list with a collection of FeatureSourceInfos. We made this visually the same as the original and it works very well, although took several hours of development that we hadn't budgeted for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps anyone else who might be struggling with the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 14:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/arcgis-mobile-sdk-using-selectfeaturetypepage/m-p/694344#M2949</guid>
      <dc:creator>JohnFannon</dc:creator>
      <dc:date>2017-01-27T14:58:20Z</dc:date>
    </item>
  </channel>
</rss>

