Select to view content in your preferred language

Saving webmap to Arcgis online via portal API

1294
0
08-05-2013 05:05 AM
AndreasFpunkt
New Contributor
I was trying to write an export script for my web app, that should export some points(lat/lng) as a webmap and then save it to Arcgis online.
Basically the user first authenticates via OAuth 2 like shown in this example: https://developers.arcgis.com/en/javascript/jssamples/portal_oauth_popup.html .
Once being logged in I am able to query items the user has saved in Arcgis online, however I could not find a way to save new content to the user account.

If anyone has an idea on how to save items to arcgis online via the javascript portal API, please let me know.

Thanks in advance,
Andreas
0 Kudos
0 Replies