POST
|
I am scripting a scheduled job to author and update content in AGOL - Hosted Feature layer. my enterprise AGOL enterprise uses federated office 365 login so I can’t just username and password flow. So the best option is to create a app in AGOL and get the appid and appsecret and authenticate. (previously i make own my rest calls to get the token and do other stuff ) API documentation class arcgis.gis.GIS(url=None, username=None, password=None, key_file=None, cert_file=None, verify_cert=True, set_active=True, client_id=None, profile=None) there is no way to pass the client secret in this above flow. even i tried put client secret in place of password it opens up the web browser and after successful login it returns a token then i need to manually paste that with my script prompt - which is not ideal since i am developing a scheduled task. (if Enterprise AGOL uses federated login to office365 then this method seems to returns wrong token - I think it’s a bug) API would be more versatile if there a way to set the token, I can make my own rest calls and generate the token and pass the token to api. because now api is not usable for any of my automation use cases for enterprise AGOL.
... View more
07-21-2017
04:40 PM
|
0
|
0
|
602
|
POST
|
thanks .. i havent tried your solution .. but i finally i was able to get the latest version by uninstalling the exiting api.
... View more
07-21-2017
04:00 PM
|
0
|
0
|
588
|
POST
|
refresh button didnt fix this issue .. but i finally i was able to get the latest version by uninstalling the exiting api.
... View more
07-21-2017
03:57 PM
|
0
|
0
|
588
|
POST
|
i am not able install latest version(Version 1.2.0 · July 2017) of ArcGIS api for python via arcmap pro python package manager. Update: i need to uninstall the existing version to install the latest version
... View more
07-21-2017
03:35 PM
|
0
|
4
|
1239
|
POST
|
I am using electron(electron.atom.io) for building cross browser application but i am unable to embed arcgis javascript maps into it. Error Message: Uncaught Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead. Uncaught AssertionError: path must be a string I tried everything but i am unable to resolve this issue. Can anyone confirm whether it is possible to fix this issue with my app? because i have successfully embedded google maps and other simple maps api.
... View more
06-22-2015
09:02 AM
|
0
|
5
|
4376
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|