<?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: How to get attributes of a featurelayer to show in custom datagrid in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846153#M4083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manually changing the paths in the csproj should work, but you could miss a few paths.Also, there are entries in the config.daml that needs to be fixed too - So the tool makes this simpler &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! See you in Palm Springs.&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2019 14:29:33 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2019-02-20T14:29:33Z</dc:date>
    <item>
      <title>How to get attributes of a featurelayer to show in custom datagrid</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846148#M4078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on an add-in where I provide the user with a combobox, to select one of the featurelayers available in the toc.&lt;/P&gt;&lt;P&gt;On change of the index of the combobox I want to read all attributes (columns and rows) of the specific featurelayer to be shown in a datagrid. Sure enough, in the end I do not want to show all columns of the attribute table but want to specify two or three columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is basically like the attribute table, only that I want to have it within my own ui and show only pre-defined columns.&lt;/P&gt;&lt;P&gt;I looked through the api and the ProSnippets, but didn't find an example to do so. I do not have any selected features to show the attributes from, but need the attributes of all features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody who can point me the right direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2019 13:09:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846148#M4078</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2019-02-18T13:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get attributes of a featurelayer to show in custom datagrid</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846149#M4079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;You can look at this sample here&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/IdentifyWindow"&gt;https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/IdentifyWindow&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;I think this does pretty much what you need, except you need to get all features instead of just the selected features.&amp;nbsp; You also have to add your own 'column' filter logic in the&amp;nbsp;GetSelectedFeaturesAsync method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Wolf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2019 23:56:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846149#M4079</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2019-02-19T23:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to get attributes of a featurelayer to show in custom datagrid</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846150#M4080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wolfgang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the reply and the linked example. It seems as if there's (almost) everything I need to get going. However, when i want to build the solution then I have the problem &lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Error&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\Program Files\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets not found.&amp;nbsp;&amp;nbsp; &amp;nbsp;IdentifyWindow&amp;nbsp;&amp;nbsp; &amp;nbsp;c:\...\...\source\Samples\IdentifyWindow\IdentifyWindow.csproj&amp;nbsp;&amp;nbsp; &amp;nbsp;139&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How can I adjust the path in VisualStudio, since I do not have my programs installed in the standard directories?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gruß Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 14:07:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846150#M4080</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2019-02-20T14:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get attributes of a featurelayer to show in custom datagrid</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846151#M4081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;Since your Pro install location is different than the one used in the sample solution, you can use the&amp;nbsp;"Pro Fix References" utility. You can get this utility by installing the &lt;A href="https://marketplace.visualstudio.com/items?itemName=ArcGISProSDKteam.ArcGISProSDKforNETUtilities"&gt;ArcGIS Pro SDK for .NET (Utilities) vsix package from Visual&amp;nbsp;Studio Marketplace.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More information on the utility is here:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/esri/arcgis-pro-sdk/wiki#arcgis-pro-sdk-for-net-utilities" title="https://github.com/esri/arcgis-pro-sdk/wiki#arcgis-pro-sdk-for-net-utilities"&gt;Home · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run this utility on the sample solution. You will then be able to build it.&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>Wed, 20 Feb 2019 14:19:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846151#M4081</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2019-02-20T14:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get attributes of a featurelayer to show in custom datagrid</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846152#M4082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer! I was altering the paths just now by hand in the csproj file and that seems to work, but I was already thinking this won't be the right way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See you guys in Palm Springs... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 14:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846152#M4082</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2019-02-20T14:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get attributes of a featurelayer to show in custom datagrid</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846153#M4083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manually changing the paths in the csproj should work, but you could miss a few paths.Also, there are entries in the config.daml that needs to be fixed too - So the tool makes this simpler &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! See you in Palm Springs.&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 14:29:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846153#M4083</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2019-02-20T14:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get attributes of a featurelayer to show in custom datagrid</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846154#M4084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wolfgang and Uma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a possibility to convert an ArcGIS.Core.Data.Table object into a System.Data.Datatable object? Looking at the linked example the DataTable of selected features is built-up iterative. Any chance to avoid that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 12:50:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846154#M4084</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2019-02-21T12:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get attributes of a featurelayer to show in custom datagrid</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846155#M4085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Thomas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;There is no easy way to convert to a Datatable object.&amp;nbsp; I personally like to use the Datatable because of its capabilities and wide support by user controls, hence i used a DataTable in the sample i referenced above.&amp;nbsp; You can also look at the new TableControl with a ProGuide here:&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-TableControl"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-TableControl&lt;/A&gt;&amp;nbsp;and the corresponding sample here:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/TableControl"&gt;https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/TableControl&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2019 00:49:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846155#M4085</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2019-02-23T00:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get attributes of a featurelayer to show in custom datagrid</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846156#M4086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you use the Table object with a feature class attribute table that has some of its fields "hidden", i.e., that has some of it's Fields made "non-Visible"?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hiding Fields using the UI:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/tables/hide-columns-in-a-table.htm" title="https://pro.arcgis.com/en/pro-app/help/data/tables/hide-columns-in-a-table.htm"&gt;Hide columns in a table—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attributes IsVisible Property using the Code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic9653.html" title="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic9653.html"&gt;ArcGIS Pro 2.3 API Reference Guide&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;+ bill&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 20:05:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-attributes-of-a-featurelayer-to-show-in/m-p/846156#M4086</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-02-25T20:05:35Z</dc:date>
    </item>
  </channel>
</rss>

