<?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: JSON Forms and XForms direct loading. in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/json-forms-and-xforms-direct-loading/m-p/807290#M12387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jesse,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now we don't have direct support, but&amp;nbsp;it may be possible. &amp;nbsp;Ideally, there would be a tool to change XForm into XLSForm, though a quick search didn't show one. &amp;nbsp;That being said, you might be able to support the following with the XForm files:&lt;/P&gt;&lt;P&gt;1) Create a new Survey in Survey123 Connect. &amp;nbsp;This will create a (mostly) empty Excel file, which then gets processed into the XForm XML. &amp;nbsp;Close the Excel file without saving.&lt;/P&gt;&lt;P&gt;2) Open the survey directory. &amp;nbsp;Close Survey123 Connect (to remove any file locking that may occur)&lt;/P&gt;&lt;P&gt;3) Paste in your existing XForm XML. Delete the auto-created XML file and rename your existing XML file to match the name of the file you deleted.&lt;/P&gt;&lt;P&gt;4) Make sure that your XML file is dated later than the Excel file. &amp;nbsp;This can be done at the command line/terminal by a variant of the copy command (Windows - see&amp;nbsp;&lt;A class="link-titled" href="https://stackoverflow.com/questions/7249233/how-do-i-touch-a-file-with-standard-windows-commands" title="https://stackoverflow.com/questions/7249233/how-do-i-touch-a-file-with-standard-windows-commands"&gt;How do I touch a file with standard Windows commands? - Stack Overflow&lt;/A&gt;&amp;nbsp;) or the `touch` command on macOS and Linux.&lt;/P&gt;&lt;P&gt;5) You can now publish the form into your ArcGIS organization&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the JSON, what was the creator of the JSON file? &amp;nbsp;The ability to use it is dependent on how it wrote out the form information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2017 18:10:50 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2017-08-28T18:10:50Z</dc:date>
    <item>
      <title>JSON Forms and XForms direct loading.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/json-forms-and-xforms-direct-loading/m-p/807289#M12386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an existing form from another platform that exports as a JSON form, or &amp;nbsp;I can remap it to an Xform if necessary. I am attempting to load it as a service and cannot find a was to publish the form.&lt;/P&gt;&lt;P&gt;I was hoping to avoid having to recreate the entire form structure as it is over 300 questions. I often work in both platforms and was hoping to avoid continually having to rebuild my work on both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 16:32:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/json-forms-and-xforms-direct-loading/m-p/807289#M12386</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-08-28T16:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Forms and XForms direct loading.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/json-forms-and-xforms-direct-loading/m-p/807290#M12387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jesse,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now we don't have direct support, but&amp;nbsp;it may be possible. &amp;nbsp;Ideally, there would be a tool to change XForm into XLSForm, though a quick search didn't show one. &amp;nbsp;That being said, you might be able to support the following with the XForm files:&lt;/P&gt;&lt;P&gt;1) Create a new Survey in Survey123 Connect. &amp;nbsp;This will create a (mostly) empty Excel file, which then gets processed into the XForm XML. &amp;nbsp;Close the Excel file without saving.&lt;/P&gt;&lt;P&gt;2) Open the survey directory. &amp;nbsp;Close Survey123 Connect (to remove any file locking that may occur)&lt;/P&gt;&lt;P&gt;3) Paste in your existing XForm XML. Delete the auto-created XML file and rename your existing XML file to match the name of the file you deleted.&lt;/P&gt;&lt;P&gt;4) Make sure that your XML file is dated later than the Excel file. &amp;nbsp;This can be done at the command line/terminal by a variant of the copy command (Windows - see&amp;nbsp;&lt;A class="link-titled" href="https://stackoverflow.com/questions/7249233/how-do-i-touch-a-file-with-standard-windows-commands" title="https://stackoverflow.com/questions/7249233/how-do-i-touch-a-file-with-standard-windows-commands"&gt;How do I touch a file with standard Windows commands? - Stack Overflow&lt;/A&gt;&amp;nbsp;) or the `touch` command on macOS and Linux.&lt;/P&gt;&lt;P&gt;5) You can now publish the form into your ArcGIS organization&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the JSON, what was the creator of the JSON file? &amp;nbsp;The ability to use it is dependent on how it wrote out the form information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 18:10:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/json-forms-and-xforms-direct-loading/m-p/807290#M12387</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-08-28T18:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: JSON Forms and XForms direct loading.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/json-forms-and-xforms-direct-loading/m-p/807291#M12388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help, I will give this a try. The JSOn was created by a web data collection platform with a spatial component. It is Leaflet based, and they recently included the ability to extract and import form structure. I was intending to map it to the Xform structure required for survey123 using FME. If there is a more efficient way to do that I would certainly be interested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 18:28:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/json-forms-and-xforms-direct-loading/m-p/807291#M12388</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-08-28T18:28:56Z</dc:date>
    </item>
  </channel>
</rss>

