<?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: log from clients side esri storymaps in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173184#M16033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is not possible with client side technology like JavaScript. You would have to use a server side tech like asp.net or some web service. You can always do some Google search for a tutorial as what you are wanting to do is relatively side a beginner should have have any issue. A simple Google Search like "asp.net write log to text file" produces lots of results and you can get Visual Studio Express for free.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Dec 2015 13:44:04 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-12-24T13:44:04Z</dc:date>
    <item>
      <title>log from clients side esri storymaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173183#M16032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the map tour template, in a dynamic environment. In that I mean that I send a url parameter to the app and then going to a different json (to use as web map). I want to add a script to the index file that will enable me to write a text file on my server that will log all of the entries and to where they went (by the url parameter). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am only a client side JavaScript developer and after some time searching the web I couldn't find a good solution.&amp;nbsp; Is there any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all,&lt;/P&gt;&lt;P&gt;Roi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 11:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173183#M16032</guid>
      <dc:creator>roialgavish</dc:creator>
      <dc:date>2015-12-24T11:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: log from clients side esri storymaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173184#M16033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is not possible with client side technology like JavaScript. You would have to use a server side tech like asp.net or some web service. You can always do some Google search for a tutorial as what you are wanting to do is relatively side a beginner should have have any issue. A simple Google Search like "asp.net write log to text file" produces lots of results and you can get Visual Studio Express for free.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 13:44:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173184#M16033</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-24T13:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: log from clients side esri storymaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173185#M16034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have had good luck with JSNlog - &lt;A href="http://jsnlog.com/" title="http://jsnlog.com/"&gt;Logging JavaScript errors to your server side log - JSNLog&lt;/A&gt; &lt;/P&gt;&lt;P&gt;It is a client (JS) side logging framwork/Lib that will "beam" your logs back to the server. It has several backends that work with it and all are very easily configured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 12:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173185#M16034</guid>
      <dc:creator>JordanBaumgardner</dc:creator>
      <dc:date>2015-12-28T12:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: log from clients side esri storymaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173186#M16035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Jordan Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;I tried using jsnlog only with the js option, and I failed. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;I put the jsnlog.js and a jsnlog.logger in my app folder (as attached in the picture).&lt;IMG alt="AppFolder.JPG" class="image-1 jive-image" height="108" src="https://community.esri.com/legacyfs/online/163069_AppFolder.JPG" style="height: 108px; width: 457.024px;" width="457" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri',sans-serif;"&gt;I haven't done step two in the installation guide which is - Format&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri',sans-serif; color: #333333;"&gt; of the log messages&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Calibri, sans-serif; color: #333333;"&gt;Because I didn’t understand what to write there &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 10.0pt; font-family: Calibri, sans-serif;"&gt;I added this line to my index.html - JL().fatal("log message");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10.0pt; font-family: Calibri, sans-serif;"&gt;What I get in the cosole is: RiskApp/jsnlog.logger 405 (Method Not Allowed).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Calibri, sans-serif;"&gt;If you can help me it will be grate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px; font-family: Calibri, sans-serif;"&gt;thanks, Roi.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 15:00:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173186#M16035</guid>
      <dc:creator>roialgavish</dc:creator>
      <dc:date>2015-12-31T15:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: log from clients side esri storymaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173187#M16036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a C# kinda guy and I'm using ASP.net and a Web.config &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I needed to tell IIS that it is ok to use the other HTTP Verbs [ Post and Delete ] like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Credentials" value="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Headers"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value="X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, X-Requested-With" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More Context:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;system.webServer&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;handlers&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="LoggerHandler" verb="*" path="*.logger" type="JSNLog.LoggerHandler, JSNLog" resourceType="Unspecified"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; preCondition="integratedMode" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="LoggerHandler-Classic" path="*.logger" verb="*" modules="IsapiModule"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; preCondition="classicMode" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/handlers&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;httpProtocol&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;customHeaders&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Credentials" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Headers"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value="X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, X-Requested-With" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/customHeaders&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/httpProtocol&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/system.webServer&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;jsnlog productionLibraryPath="~/Scripts/libraries/jsnlog.js" serverSideLevel="INFO"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverSideMessageFormat="CLIENTLOG, %level, %logger, %jsonmessage, %userHostAddress, %url" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;common&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;logging&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4net1211"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;arg key="configType" value="INLINE" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/factoryAdapter&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/logging&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/common&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't tell from your post what back end you chose, but I would wager there is a "Server Side" setup section of JSNlog setup that you need to go back over. I believe your problem lies there. Its trying to send the log message back to the server and is being blocked because its using the HTTP verb "Put" and that is being blocked by your web server. You need to let it know, Put is Ok. The specifics will be in the install section of the back end you chose (php, java, C#, ect)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 15:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173187#M16036</guid>
      <dc:creator>JordanBaumgardner</dc:creator>
      <dc:date>2015-12-31T15:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: log from clients side esri storymaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173188#M16037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2 style="margin-top: 15.0pt; margin-bottom: 15.0pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri',sans-serif; color: #333333; font-weight: normal;"&gt;Hello,&lt;/SPAN&gt;&lt;/H2&gt;&lt;H2 style="margin-top: 15.0pt; margin-bottom: 15.0pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri',sans-serif; color: #333333; font-weight: normal;"&gt;In order to use the .net installation of the jsnlog I need to imbed the storymap app in a aspx project I do not want to do that. That Is way it tried to use the "only JS" part of the jsnlog I wasn’t successful because of some IIS problems. &lt;/SPAN&gt;&lt;/H2&gt;&lt;H2 style="margin-top: 15.0pt; margin-bottom: 15.0pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri',sans-serif; color: #333333; font-weight: normal;"&gt;If there is more ideas about how to log some data only with JS it would be great.&lt;/SPAN&gt;&lt;/H2&gt;&lt;H2 style="margin-top: 15.0pt; margin-bottom: 15.0pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri',sans-serif; color: #333333; font-weight: normal;"&gt;Thank allot Roi.&lt;/SPAN&gt;&lt;/H2&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 09:38:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173188#M16037</guid>
      <dc:creator>roialgavish</dc:creator>
      <dc:date>2016-01-21T09:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: log from clients side esri storymaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173189#M16038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, you need to use some sort of back end to "catch" the log message. The client will post it back to A server. It doesn't have to be that particular installation, it could be anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But at some point you need to put some server code up somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think you need to change templates however. You would need to modify the current template (ie add the js startup code) and add the proper init stuff to your web.config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simplest solution might be to just have a separate site to just catch the logs. You could then use whatever back end was simplest for you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will still need to modify the template to add your jsnlog init code and link in the lib.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 18:48:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/log-from-clients-side-esri-storymaps/m-p/173189#M16038</guid>
      <dc:creator>JordanBaumgardner</dc:creator>
      <dc:date>2016-01-25T18:48:23Z</dc:date>
    </item>
  </channel>
</rss>

