<?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: When does the Fields Property of LayerDataSource get set? in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/when-does-the-fields-property-of-layerdatasource/m-p/253071#M1195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am looking for same kind of access to the dynamiclayerinfo. Specifically the attributes and geometry of the layer which is on-the-fly layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my post -&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/70449-Query-dynamic-layer-from-DynamicLayerinfoCollection"&gt;http://forums.arcgis.com/threads/70449-Query-dynamic-layer-from-DynamicLayerinfoCollection&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No luck so far!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Nov 2012 22:01:33 GMT</pubDate>
    <dc:creator>jp</dc:creator>
    <dc:date>2012-11-03T22:01:33Z</dc:date>
    <item>
      <title>When does the Fields Property of LayerDataSource get set?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/when-does-the-fields-property-of-layerdatasource/m-p/253070#M1194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are adding layers on the fly in our application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
DynamicLayerInfo dynamicLayerInfo = new DynamicLayerInfo() {
&amp;nbsp; ID = &amp;lt;id&amp;gt;,
&amp;nbsp; Name = &amp;lt;name&amp;gt;,
&amp;nbsp; DefaultVisibility = &amp;lt;defaultVisibility&amp;gt;,
&amp;nbsp; MaxScale = &amp;lt;maxScale&amp;gt;,
&amp;nbsp; MinScale = &amp;lt;minScale&amp;gt;,
&amp;nbsp; Source = new LayerDataSource() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; DataSource = new TableDataSource() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WorkspaceID = "MyDatabaseWorkspaceID",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataSourceName = &amp;lt;dataSourceName&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }
};
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code is obviously just pseudo code that is part of a loop where we have access to the &amp;lt;bracketed&amp;gt; variables. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the LayerDataSource has a Fields (get/set) property. I was &lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;REALLY&lt;/STRONG&gt;&lt;SPAN&gt; hoping that it would read the Fields from the data source (an SDE Feature Class in our case) and populate the Fields list, but this does not seem to be the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So will this Fields property list ever get populated or is it up to the developer to define them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; -eric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 20:23:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/when-does-the-fields-property-of-layerdatasource/m-p/253070#M1194</guid>
      <dc:creator>EricPaitz</dc:creator>
      <dc:date>2012-11-01T20:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: When does the Fields Property of LayerDataSource get set?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/when-does-the-fields-property-of-layerdatasource/m-p/253071#M1195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am looking for same kind of access to the dynamiclayerinfo. Specifically the attributes and geometry of the layer which is on-the-fly layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my post -&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/70449-Query-dynamic-layer-from-DynamicLayerinfoCollection"&gt;http://forums.arcgis.com/threads/70449-Query-dynamic-layer-from-DynamicLayerinfoCollection&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No luck so far!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2012 22:01:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/when-does-the-fields-property-of-layerdatasource/m-p/253071#M1195</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2012-11-03T22:01:33Z</dc:date>
    </item>
  </channel>
</rss>

