I am trying to figure out if there is a way to dynamically create a feature layer on our arcgis online instance, and save features to this layer.
Scenario 1
User does a button click and it creates a dedicated feature service named FS_A with polygon/polyline/point layers.
Scenario 2
User creates a graphic and saves it as a feature in previously created feature layer service FS_A with all relevant meta data.
Scenario 3
User loads map, on load, it then loads feature service FS_A programmatically thus showing all the saved features on the map.
I've currently hacked this by generating Feature Layer locally, and storing "feature" data in local PostgreSQL, which then loads it to the layer.
Hi Aeseir,
I also have the same issue.
But for the time being can you help me with how can I create feature layer locally from my local database through javascript sdk.
Send me link to your question and i'll have a look
I tagged in your issue because I am also looking for the same solution But for the time being I wanted to know How you are storing data in your local machine and creating a feature layer locally.