<?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 JSON Timeline Help in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/json-timeline-help/m-p/1503924#M1430</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hello! I am starting to design a new project using Survey123 and ArcGIS Hub.&lt;/P&gt;&lt;P&gt;1. The main idea is that my coworker does on-site inspections for a limited set of project sites. Currently they use microsoft forms to record the data.I would like to switch to Survey123 then use ArcGIS Hub as a one stop shop. Fill out Survery123 form, View Map of Results, &amp;amp; Statistics regarding Inspection Completion Rate including the timeline.&lt;/P&gt;&lt;P&gt;2. At least 50% of sites need to be inspected every year and we are currently pushing to inspect 100% initially. Multiple inspections of the same site are fine however (# of Total Inspections) / (Total Sites) &amp;gt; 50% is too simple in the long run.&lt;/P&gt;&lt;P&gt;3. I would like to create a timeline chart to display the inspections. I quickly recreated their form however I am finding I will need to add more questions/columns to accomplish what I want.&lt;/P&gt;&lt;P&gt;That being said... I started by filtering by the EditDate and then I am using the placeholder of ObjectID for the "Number of Inspections" however I need it to be a Count of Inspections conducted on that date. Would a Number of Inspections value solve the problem despite it would be 1 for every entry? And then categorized by EditDate?&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"type": "timeline",&lt;BR /&gt;"datasets": [&lt;BR /&gt;{&lt;BR /&gt;"url": "URL",&lt;BR /&gt;"query": {&lt;BR /&gt;"where": "EDITDATE &amp;gt; '2024-06-01' AND EDITDATE &amp;lt; '2024-8-01'",&lt;BR /&gt;"orderByFields": "EDITDATE ASC",&lt;BR /&gt;"sqlFormat": "standard"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"series": [&lt;BR /&gt;{&lt;BR /&gt;"category": {&lt;BR /&gt;"field": "EditDate",&lt;BR /&gt;"label": "Date of Inspection"&lt;BR /&gt;},&lt;BR /&gt;"value": {&lt;BR /&gt;"field": "ObjectID",&lt;BR /&gt;"label": "Number of Inspections"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;I thought I'd reach out and see if there are some simple solutions. Also, any examples of similar projects would be extremely helpful!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 11 Jul 2024 14:38:28 GMT</pubDate>
    <dc:creator>PTW</dc:creator>
    <dc:date>2024-07-11T14:38:28Z</dc:date>
    <item>
      <title>JSON Timeline Help</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/json-timeline-help/m-p/1503924#M1430</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hello! I am starting to design a new project using Survey123 and ArcGIS Hub.&lt;/P&gt;&lt;P&gt;1. The main idea is that my coworker does on-site inspections for a limited set of project sites. Currently they use microsoft forms to record the data.I would like to switch to Survey123 then use ArcGIS Hub as a one stop shop. Fill out Survery123 form, View Map of Results, &amp;amp; Statistics regarding Inspection Completion Rate including the timeline.&lt;/P&gt;&lt;P&gt;2. At least 50% of sites need to be inspected every year and we are currently pushing to inspect 100% initially. Multiple inspections of the same site are fine however (# of Total Inspections) / (Total Sites) &amp;gt; 50% is too simple in the long run.&lt;/P&gt;&lt;P&gt;3. I would like to create a timeline chart to display the inspections. I quickly recreated their form however I am finding I will need to add more questions/columns to accomplish what I want.&lt;/P&gt;&lt;P&gt;That being said... I started by filtering by the EditDate and then I am using the placeholder of ObjectID for the "Number of Inspections" however I need it to be a Count of Inspections conducted on that date. Would a Number of Inspections value solve the problem despite it would be 1 for every entry? And then categorized by EditDate?&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"type": "timeline",&lt;BR /&gt;"datasets": [&lt;BR /&gt;{&lt;BR /&gt;"url": "URL",&lt;BR /&gt;"query": {&lt;BR /&gt;"where": "EDITDATE &amp;gt; '2024-06-01' AND EDITDATE &amp;lt; '2024-8-01'",&lt;BR /&gt;"orderByFields": "EDITDATE ASC",&lt;BR /&gt;"sqlFormat": "standard"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"series": [&lt;BR /&gt;{&lt;BR /&gt;"category": {&lt;BR /&gt;"field": "EditDate",&lt;BR /&gt;"label": "Date of Inspection"&lt;BR /&gt;},&lt;BR /&gt;"value": {&lt;BR /&gt;"field": "ObjectID",&lt;BR /&gt;"label": "Number of Inspections"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;I thought I'd reach out and see if there are some simple solutions. Also, any examples of similar projects would be extremely helpful!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Jul 2024 14:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/json-timeline-help/m-p/1503924#M1430</guid>
      <dc:creator>PTW</dc:creator>
      <dc:date>2024-07-11T14:38:28Z</dc:date>
    </item>
  </channel>
</rss>

