Select to view content in your preferred language

Using feature layer in webapplication

959
2
04-05-2013 11:29 AM
AndrzejMilosz
Deactivated User
I'm new to ArcGIS web applications and server. I want to build webapplication for a webbrowser where users could add new features in my polyline feature layer. New added features should be saved in the layer and later I want to use the layer to make analysis with ArcGIS Desktop.
I wonder where I need to store that feature layer to access it in my webapp? I analyzed some ArcGIS API for JavaScript samples and see there links to layers e.g.
var rivers = new esri.layers.FeatureLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hydrography/Watershed173811/FeatureServer/1"

Can I store my feature layer in ArcGIS Online, get similar link and put it to my javascript? The main goal that features added by users would be saved in the layer. How can I achieve this?

Thank you,
Andrzej
0 Kudos
2 Replies
RobertBorchert
Honored Contributor
You make the feature in your ArcGIS and then you share it to your ArcGIS Online account. By default it should go to your My Content tab.

When sharing it you should adjust the setting so users can edit.  Then you have to make a Map with it and share it.

I'm new to ArcGIS web applications and server. I want to build webapplication for a webbrowser where users could add new features in my polyline feature layer. New added features should be saved in the layer and later I want to use the layer to make analysis with ArcGIS Desktop.
I wonder where I need to store that feature layer to access it in my webapp? I analyzed some ArcGIS API for JavaScript samples and see there links to layers e.g.
var rivers = new esri.layers.FeatureLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hydrography/Watershed173811/FeatureServer/1"

Can I store my feature layer in ArcGIS Online, get similar link and put it to my javascript? The main goal that features added by users would be saved in the layer. How can I achieve this?

Thank you,
Andrzej
0 Kudos
chaoukisoussi
New Contributor
You make the feature in your ArcGIS and then you share it to your ArcGIS Online account. By default it should go to your My Content tab.

When sharing it you should adjust the setting so users can edit.  Then you have to make a Map with it and share it.


Hi Robert,
Could you tell me, if we can insert this layer in a web application without creating a map with it on ArcGIS Online?
I try to add only the layer without creating a map with it in ArcGIS Online to my web site using the APIs ArcGIS REST and JavaScript. Is it possible?
0 Kudos