<?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: create a .json file on the fly and store it at the widget level in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324096#M8557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Robert for your response. Does dojo or javascript allow to write to an existing .json file on the web application? I looked at the dojo/request/xhr but haven't test it yet. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2016 17:34:16 GMT</pubDate>
    <dc:creator>Alexwang</dc:creator>
    <dc:date>2016-08-11T17:34:16Z</dc:date>
    <item>
      <title>create a .json file on the fly and store it at the widget level</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324094#M8555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, is there a way within WAB to create a .json file on the fly and save it at the widget level? The .json will be used to store graphics for users and can be updated with time. thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 13:51:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324094#M8555</guid>
      <dc:creator>Alexwang</dc:creator>
      <dc:date>2016-08-11T13:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: create a .json file on the fly and store it at the widget level</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324095#M8556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; No. Allowing client side code like JS to write to the file system without a user click and to a specific location would be a huge security risk. You can write a file and download it in most browsers (like you can see in the &lt;A href="http://apps.magis.nc/maps/wab-widgets/?extent=18114578%2C-2681126%2C18897293%2C-2147289%2C102100"&gt;eDraw widget&lt;/A&gt;)&amp;nbsp; but that you not be the same as what you are wanting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 17:04:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324095#M8556</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-11T17:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: create a .json file on the fly and store it at the widget level</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324096#M8557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Robert for your response. Does dojo or javascript allow to write to an existing .json file on the web application? I looked at the dojo/request/xhr but haven't test it yet. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 17:34:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324096#M8557</guid>
      <dc:creator>Alexwang</dc:creator>
      <dc:date>2016-08-11T17:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: create a .json file on the fly and store it at the widget level</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324097#M8558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; No this would be he same type of huge security hole for hackers to use if it was available. Your option for saving things on the client side is to use local storage (HTML 5 supporting browsers) or Browser Cookies. The Bookmark widget uses local storage.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 17:47:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324097#M8558</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-11T17:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: create a .json file on the fly and store it at the widget level</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324098#M8559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert. Local storage won't work for my scenario since I need to share the .json with all users using the widget. is it possible to call a GP service to create the file on the fly, pass the data, and write the data in the file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 17:58:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324098#M8559</guid>
      <dc:creator>Alexwang</dc:creator>
      <dc:date>2016-08-11T17:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: create a .json file on the fly and store it at the widget level</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324099#M8560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am not a GP person, but the way I would tackle this workflow is to develop a .Net web service that would be used to write info to a database hosted on your servers that the widget would communicate to using RESTful web service to read and write info or even easier would be to make a editable FeatureService table that stores the data and have the widget query the table and/or write new rows to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 18:07:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324099#M8560</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-11T18:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: create a .json file on the fly and store it at the widget level</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324100#M8561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert. .Net service is not area of&amp;nbsp; my expertise. I am still thinking the GP service option. So a GP service takes a json input and the underling python script is going to save the json string into the .json file. This way there won't be any editable FeatureService involved. Possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 18:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324100#M8561</guid>
      <dc:creator>Alexwang</dc:creator>
      <dc:date>2016-08-11T18:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: create a .json file on the fly and store it at the widget level</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324101#M8562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Like I said I am not a GP guy so I don't know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 11:59:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/create-a-json-file-on-the-fly-and-store-it-at-the/m-p/324101#M8562</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-12T11:59:30Z</dc:date>
    </item>
  </channel>
</rss>

