twey315

Saving webmap to Arcgis online via portal API

Discussion created by twey315 on Aug 5, 2013
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

Outcomes