<?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: csv layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csv-layer/m-p/215916#M20013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-userid="256126" data-username="smailhoussem" href="https://community.esri.com/people/smailhoussem" style="color: #3778c7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 13.7136px;"&gt;Houssam Smail&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to manually add those csv fieldInfo based on your schema and loaded as&amp;nbsp;fieldInfos inside of FeatureTable Widget. And you probably need to setup proxy to make sure the requests pass the CORS, or put your csv file and application in the same web domain.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a proof of concept that you can basically merge these two samples together to make the &lt;A href="https://developers.arcgis.com/javascript/3/jssamples/layers_csv.html"&gt;csvlayer sample&lt;/A&gt;&amp;nbsp;with &lt;A href="https://developers.arcgis.com/javascript/3/jssamples/featuretable.html"&gt;featureTable sample&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jsbin.com/davivacidu/edit?html,output" title="https://jsbin.com/davivacidu/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/346064_pastedImage_1.png" style="width: 620px; height: 309px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can provide you some inspiration to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Apr 2017 23:48:11 GMT</pubDate>
    <dc:creator>YueWu1</dc:creator>
    <dc:date>2017-04-10T23:48:11Z</dc:date>
    <item>
      <title>csv layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csv-layer/m-p/215915#M20012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;I want to&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #fefefe;"&gt;to display attributes from a csv layer in a&amp;nbsp;&lt;SPAN&gt;Feature Table for javascript&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #fefefe;"&gt;&lt;SPAN&gt;like this&amp;nbsp;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/346025_Capture.PNG" style="width: 620px; height: 299px;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 18:30:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csv-layer/m-p/215915#M20012</guid>
      <dc:creator>HoussamSmail</dc:creator>
      <dc:date>2017-04-10T18:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: csv layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csv-layer/m-p/215916#M20013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-userid="256126" data-username="smailhoussem" href="https://community.esri.com/people/smailhoussem" style="color: #3778c7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 13.7136px;"&gt;Houssam Smail&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to manually add those csv fieldInfo based on your schema and loaded as&amp;nbsp;fieldInfos inside of FeatureTable Widget. And you probably need to setup proxy to make sure the requests pass the CORS, or put your csv file and application in the same web domain.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a proof of concept that you can basically merge these two samples together to make the &lt;A href="https://developers.arcgis.com/javascript/3/jssamples/layers_csv.html"&gt;csvlayer sample&lt;/A&gt;&amp;nbsp;with &lt;A href="https://developers.arcgis.com/javascript/3/jssamples/featuretable.html"&gt;featureTable sample&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jsbin.com/davivacidu/edit?html,output" title="https://jsbin.com/davivacidu/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/346064_pastedImage_1.png" style="width: 620px; height: 309px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can provide you some inspiration to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 23:48:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csv-layer/m-p/215916#M20013</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2017-04-10T23:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: csv layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csv-layer/m-p/215917#M20014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you 1 million times&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 16:47:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csv-layer/m-p/215917#M20014</guid>
      <dc:creator>HoussamSmail</dc:creator>
      <dc:date>2017-04-11T16:47:46Z</dc:date>
    </item>
  </channel>
</rss>

