<?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: dynamically create a feature layer - in javascript in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590991#M55231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I had this requirement, I would look to creating a geoprocess to handle the input.&amp;nbsp; For faster response, you could take and parse the text on the client and create a graphics layer.&amp;nbsp; In the background you could send a request to a gp service and pass it the graphics.&amp;nbsp; The gp service could then "copy_features" those graphics into your gdb.&amp;nbsp; your gdb could already have a featureclass ready to be added to.&lt;BR /&gt;&lt;BR /&gt;That same featureclass could then be added to a mapservice and published to arcgiserver.&amp;nbsp; that service can be loaded as a feature layer when the app starts so all previous session data will be available moving forward&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Harold,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can we create a mapservice and publish on arcgisserver dynamically(on the fly)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am pretty much new to arcgis, so I am not sure if that is valid question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank for the reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Murali&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2011 05:41:45 GMT</pubDate>
    <dc:creator>MuraliUppala</dc:creator>
    <dc:date>2011-08-10T05:41:45Z</dc:date>
    <item>
      <title>dynamically create a feature layer - in javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590985#M55225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am creating an application, where the user has to upload a csv file(from browser)and visualize it on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can we dynamically create a feature layer(or editable layer) and save it on server?, so that the user can view the data in future and edit data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have seen this use case on arcgis.com(in maps tab). Creating a editable layer and save it. Does any one have an idea, how they implemented it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know. Its very urgent :(. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Murali&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 03:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590985#M55225</guid>
      <dc:creator>MuraliUppala</dc:creator>
      <dc:date>2011-08-10T03:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically create a feature layer - in javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590986#M55226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can we dynamically create a feature layer(or editable layer) and save it on server?, so that the user can view the data in future and edit data.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know about making it editable, but you can create a feature layer from a feature collection (which you could generate from your CSV file).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the example &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_featurecollection.html"&gt;here&lt;/A&gt;&lt;SPAN&gt; for some pointers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 03:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590986#M55226</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-08-10T03:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically create a feature layer - in javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590987#M55227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I don't know about making it editable, but you can create a feature layer from a feature collection (which you could generate from your CSV file).&lt;BR /&gt;&lt;BR /&gt;See the example &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_featurecollection.html"&gt;here&lt;/A&gt; for some pointers.&lt;BR /&gt; &lt;BR /&gt;Good luck,&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the quick reply Steve.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That sample really helped me. But can I save it in backend(as layer or something) for future use? so that the user need not upload each time?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Murali&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 03:52:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590987#M55227</guid>
      <dc:creator>MuraliUppala</dc:creator>
      <dc:date>2011-08-10T03:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically create a feature layer - in javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590988#M55228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;can I save it in backend(as layer or something) for future use? so that the user need not upload each time?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure, but I don't think this is possible within the ArcGIS Server JSAPI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might be able to automate something using an external process, by saving the values at the end of a session, storing them somewhere, and re-loading them when the next session starts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How to actually do this is totally beyond my knowledge, but hopefully someone can help. You could also try posting the question on &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com"&gt;http://gis.stackexchange.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 03:56:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590988#M55228</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-08-10T03:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically create a feature layer - in javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590989#M55229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm not sure, but I don't think this is possible within the ArcGIS Server JSAPI.&lt;BR /&gt;&lt;BR /&gt;You might be able to automate something using an external process, by saving the values at the end of a session, storing them somewhere, and re-loading them when the next session starts.&lt;BR /&gt; &lt;BR /&gt;How to actually do this is totally beyond my knowledge, but hopefully someone can help. You could also try posting the question on &lt;A href="http://gis.stackexchange.com"&gt;http://gis.stackexchange.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help Steve.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will post the question there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Murali&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 04:10:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590989#M55229</guid>
      <dc:creator>MuraliUppala</dc:creator>
      <dc:date>2011-08-10T04:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically create a feature layer - in javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590990#M55230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I had this requirement, I would look to creating a geoprocess to handle the input.&amp;nbsp; For faster response, you could take and parse the text on the client and create a graphics layer.&amp;nbsp; In the background you could send a request to a gp service and pass it the graphics.&amp;nbsp; The gp service could then "copy_features" those graphics into your gdb.&amp;nbsp; your gdb could already have a featureclass ready to be added to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That same featureclass could then be added to a mapservice and published to arcgiserver.&amp;nbsp; that service can be loaded as a feature layer when the app starts so all previous session data will be available moving forward&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 04:42:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590990#M55230</guid>
      <dc:creator>HaroldBostic</dc:creator>
      <dc:date>2011-08-10T04:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically create a feature layer - in javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590991#M55231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I had this requirement, I would look to creating a geoprocess to handle the input.&amp;nbsp; For faster response, you could take and parse the text on the client and create a graphics layer.&amp;nbsp; In the background you could send a request to a gp service and pass it the graphics.&amp;nbsp; The gp service could then "copy_features" those graphics into your gdb.&amp;nbsp; your gdb could already have a featureclass ready to be added to.&lt;BR /&gt;&lt;BR /&gt;That same featureclass could then be added to a mapservice and published to arcgiserver.&amp;nbsp; that service can be loaded as a feature layer when the app starts so all previous session data will be available moving forward&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Harold,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can we create a mapservice and publish on arcgisserver dynamically(on the fly)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am pretty much new to arcgis, so I am not sure if that is valid question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank for the reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Murali&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 05:41:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590991#M55231</guid>
      <dc:creator>MuraliUppala</dc:creator>
      <dc:date>2011-08-10T05:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically create a feature layer - in javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590992#M55232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not aware of anyway to do that at this time, at least with python/out of the box gp tools.&amp;nbsp; If you are familiar with ArcObjects, there may by an Interface their that provides that capability.&amp;nbsp; If so, you could create a Server Object Extension and publish that to ArcGIS Server&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 12:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590992#M55232</guid>
      <dc:creator>HaroldBostic</dc:creator>
      <dc:date>2011-08-10T12:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically create a feature layer - in javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590993#M55233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could look at this sample for one idea:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/exp/exp_localstorage.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/exp/exp_localstorage.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will allow the user to save edits on their own computer, but it will only work with some browsers.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A better way to go would be to set up a geoprocessing service that appends graphics (created from your .csv file) into a feature class on the server.&amp;nbsp; I do this in some of my applications, when I want to allow bulk uploads of data from the user to a mapservice.&amp;nbsp; There was a sample that ESRI put out (it might have been Sterling Quinn) which included sample data as well as a sample model for publishing to a geoprocessing service.&amp;nbsp; I use this particular sample for many editing tasks, allowing me to edit the FILE GEODATABASE that my data is contained in.&amp;nbsp; It is not the quickest process to run, but if you are appending dozens or hundreds of features at one time, it may end up being quicker than editing one record at a time the built in editing capabilities of the api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ken&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 14:19:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-create-a-feature-layer-in-javascript/m-p/590993#M55233</guid>
      <dc:creator>KenMorefield</dc:creator>
      <dc:date>2011-08-10T14:19:13Z</dc:date>
    </item>
  </channel>
</rss>

