<?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 Cannot create a simple feature in Dashboards consisting of multiple records using arcade? in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-create-a-simple-feature-in-dashboards/m-p/1537309#M10270</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am merely trying to create another table within Dashboards using arcade, but I cannot seem to get the feature set to populate using multiple records. I have tested this multiple times, but I am not sure if I need to edit the feature or if there is some other way to go about it.&lt;/P&gt;&lt;P&gt;I would greatly appreciate any help on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var TimeFields = [
    {'name': 'InspectionDate' , 'type':'esriFieldTypeDate' },
    {'name': 'TimeSlot' , 'type':'esriFieldTypeString' , 'Length':10 }
    ]

var TimeSlots = {
  'fields': TimeFields,
  'geometryType': '',
  'features' : []
}

var T = Today()
for( var i= 0 ; i &amp;lt; 24 ; i++ ){
    var V = { 'InspectionDate' : T , 'TimeSlot' : Text( T , 'h:00 A') }
    var F = { geometry : '' , attributes : V }
    Push( TimeSlots.features , F )
    T = DateAdd( T , 1 , 'hours' )
}

console( TimeSlots.features )
var FS = FeatureSet( Text( TimeSlots ) )
return FS&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2024 14:19:19 GMT</pubDate>
    <dc:creator>RPGIS</dc:creator>
    <dc:date>2024-09-11T14:19:19Z</dc:date>
    <item>
      <title>Cannot create a simple feature in Dashboards consisting of multiple records using arcade?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-create-a-simple-feature-in-dashboards/m-p/1537309#M10270</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am merely trying to create another table within Dashboards using arcade, but I cannot seem to get the feature set to populate using multiple records. I have tested this multiple times, but I am not sure if I need to edit the feature or if there is some other way to go about it.&lt;/P&gt;&lt;P&gt;I would greatly appreciate any help on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var TimeFields = [
    {'name': 'InspectionDate' , 'type':'esriFieldTypeDate' },
    {'name': 'TimeSlot' , 'type':'esriFieldTypeString' , 'Length':10 }
    ]

var TimeSlots = {
  'fields': TimeFields,
  'geometryType': '',
  'features' : []
}

var T = Today()
for( var i= 0 ; i &amp;lt; 24 ; i++ ){
    var V = { 'InspectionDate' : T , 'TimeSlot' : Text( T , 'h:00 A') }
    var F = { geometry : '' , attributes : V }
    Push( TimeSlots.features , F )
    T = DateAdd( T , 1 , 'hours' )
}

console( TimeSlots.features )
var FS = FeatureSet( Text( TimeSlots ) )
return FS&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 14:19:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/cannot-create-a-simple-feature-in-dashboards/m-p/1537309#M10270</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2024-09-11T14:19:19Z</dc:date>
    </item>
  </channel>
</rss>

