<?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 Attribute Table widget does not display table content for a joined layer. in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/attribute-table-widget-does-not-display-table/m-p/460472#M12107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I joined a table with a feature layer&amp;nbsp;and tested with adding the layer using&amp;nbsp;FeatureLayer and&amp;nbsp;ArcGISDynamicMapServiceLayer. In both cases I can open the layer in attribute table widget, but it &lt;EM&gt;&lt;STRONG&gt;did not&lt;/STRONG&gt; &lt;/EM&gt;display the content of the table.(as picture below). however, I was able to pull up the table using FeatureTable. I have attached my code below. Did I do something wrong with the join that caused the issue with the attribute widget? if not, is there a work around with the issue? Thank you so much!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Code for the joining:&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;var rightTableSourcezz = new LayerDataSource();&lt;BR /&gt; rightTableSourcezz.dataSource = new TableDataSource({&lt;BR /&gt; type: "table",&lt;BR /&gt; workspaceId: "TableFilesGDB",&lt;BR /&gt; dataSourceName: "Z1_something_xg1" &lt;BR /&gt; }); &lt;BR /&gt; &lt;BR /&gt; var joinDataSourcezz = new JoinDataSource({&lt;BR /&gt; leftTableSource: leftTableSource,&lt;BR /&gt; leftTableKey: "someKey",&lt;BR /&gt; rightTableSource: rightTableSourcezz,&lt;BR /&gt; rightTableKey: "someKey",&lt;BR /&gt; joinType: "left-inner-join"&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; var zzLayerDataSource = new LayerDataSource();&lt;BR /&gt; zzLayerDataSource.dataSource = joinDataSourcezz;&lt;/P&gt;&lt;P&gt;var zzChLayer = new FeatureLayer(zzScreenUrl+"/0",&lt;BR /&gt; {mode: FeatureLayer.MODE_ONDEMAND, id: "zzChLayer",&lt;BR /&gt; outFields: ["*"] , visible: true, maxScale: zzMaxVal, minScale: zzMinVal, opacity: 0.4&lt;BR /&gt; }); &lt;BR /&gt; zzChLayer.on("load", function() {&lt;BR /&gt; zzChLayer.setDefinitionExpression(yzz_numID);&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="358996" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/358996_pastedImage_1.png" style="width: 620px; height: 171px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jun 2017 14:58:23 GMT</pubDate>
    <dc:creator>Ran_Deng</dc:creator>
    <dc:date>2017-06-28T14:58:23Z</dc:date>
    <item>
      <title>Attribute Table widget does not display table content for a joined layer.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/attribute-table-widget-does-not-display-table/m-p/460472#M12107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I joined a table with a feature layer&amp;nbsp;and tested with adding the layer using&amp;nbsp;FeatureLayer and&amp;nbsp;ArcGISDynamicMapServiceLayer. In both cases I can open the layer in attribute table widget, but it &lt;EM&gt;&lt;STRONG&gt;did not&lt;/STRONG&gt; &lt;/EM&gt;display the content of the table.(as picture below). however, I was able to pull up the table using FeatureTable. I have attached my code below. Did I do something wrong with the join that caused the issue with the attribute widget? if not, is there a work around with the issue? Thank you so much!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Code for the joining:&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;var rightTableSourcezz = new LayerDataSource();&lt;BR /&gt; rightTableSourcezz.dataSource = new TableDataSource({&lt;BR /&gt; type: "table",&lt;BR /&gt; workspaceId: "TableFilesGDB",&lt;BR /&gt; dataSourceName: "Z1_something_xg1" &lt;BR /&gt; }); &lt;BR /&gt; &lt;BR /&gt; var joinDataSourcezz = new JoinDataSource({&lt;BR /&gt; leftTableSource: leftTableSource,&lt;BR /&gt; leftTableKey: "someKey",&lt;BR /&gt; rightTableSource: rightTableSourcezz,&lt;BR /&gt; rightTableKey: "someKey",&lt;BR /&gt; joinType: "left-inner-join"&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; var zzLayerDataSource = new LayerDataSource();&lt;BR /&gt; zzLayerDataSource.dataSource = joinDataSourcezz;&lt;/P&gt;&lt;P&gt;var zzChLayer = new FeatureLayer(zzScreenUrl+"/0",&lt;BR /&gt; {mode: FeatureLayer.MODE_ONDEMAND, id: "zzChLayer",&lt;BR /&gt; outFields: ["*"] , visible: true, maxScale: zzMaxVal, minScale: zzMinVal, opacity: 0.4&lt;BR /&gt; }); &lt;BR /&gt; zzChLayer.on("load", function() {&lt;BR /&gt; zzChLayer.setDefinitionExpression(yzz_numID);&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="358996" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/358996_pastedImage_1.png" style="width: 620px; height: 171px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 14:58:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/attribute-table-widget-does-not-display-table/m-p/460472#M12107</guid>
      <dc:creator>Ran_Deng</dc:creator>
      <dc:date>2017-06-28T14:58:23Z</dc:date>
    </item>
  </channel>
</rss>

