|
POST
|
That's one of the niceties of Jupyter. Just add a question mark to a command and you get the documentation.
... View more
05-16-2019
04:57 AM
|
1
|
1
|
1415
|
|
POST
|
Hi, Mark The API returns 100 as a default. Set the max_users= parameter to override. _users = gis.users.search(exclude_system=True, max_users=1000)
... View more
05-16-2019
04:28 AM
|
2
|
3
|
1415
|
|
POST
|
Glad to be of help, and actually it's even easier than that:
... View more
04-30-2019
06:10 AM
|
1
|
0
|
9499
|
|
POST
|
If I haven't misunderstood your problem I guess layer.query().sdf is what you are looking for. from arcgis import GIS
gis = GIS()
_content = gis.content.search("Ziekenhuisen")
_layer = _content[0].layers[0]
_layer.query().sdf
... View more
04-30-2019
05:00 AM
|
6
|
3
|
9499
|
|
POST
|
Hi, hard to tell what causes the problem. If it may be to any help I've uploaded my test script and two tiny gdb's here. Just unpack the zip and edit Portal and Path info.
... View more
02-04-2019
07:27 AM
|
0
|
1
|
1786
|
|
POST
|
Hi, Craig finally had a look at your code. My guess is that your problem is the update_src. update_src = 'C:\\Users\\' + getpass.getuser() + '\\Documents\\ArcGIS\\overwrite_test.gdb\\overwrite_data' my_flayer_collection.manager.overwrite(update_src) The overwrite function expects a zipped geodatabase, not a feature class, so try zipping the gdb.
... View more
01-30-2019
11:35 PM
|
1
|
3
|
1786
|
|
POST
|
Too bad, but don't think there are any specific patches needed. I just tested the API 1.5.2 on an unpatched 10.6 Portal and it worked nicely. Could you share your code or tell a bit more about your scenario?
... View more
01-21-2019
12:08 AM
|
0
|
5
|
1786
|
|
POST
|
Hi, Craig it was a bug in the 1.4.1 ArcGIS Python API. The missing function was fixed in 1.4.2, but additional bugs made the functionality unusable until 1.5.1. Have you updated the ArcGIS API to the latest version?
... View more
01-09-2019
11:42 PM
|
2
|
8
|
1786
|
|
POST
|
Hi, and no. Removing those lines only fixed the missing function problem, but update of items in portal still fails.
... View more
10-25-2018
01:21 AM
|
0
|
1
|
2775
|
|
POST
|
Good point, guess it explains the difference between cloned Pro-environments and environments built in Conda. And yes, switching the imports works, but it is neither intuitive nor good style as mentioned in the original post.
... View more
10-22-2018
07:45 AM
|
0
|
0
|
2355
|
|
POST
|
Ping Atma Mani, seems the bug lives on, just tested with 1.5 on a 10.6.1 portal.
... View more
10-22-2018
07:11 AM
|
0
|
14
|
2775
|
|
POST
|
But then, when testing in an environment not cloned from Pro it works…
... View more
10-22-2018
06:22 AM
|
0
|
3
|
2355
|
|
POST
|
Guessing you are using the field calculator, add a little Pre-Logic code: def justname(txt):
return txt[0: txt.find(',')]
... View more
09-18-2018
02:11 PM
|
3
|
1
|
4777
|
| Title | Kudos | Posted |
|---|---|---|
| 4 | 07-04-2023 07:23 AM | |
| 1 | 05-27-2022 07:34 AM | |
| 1 | 09-14-2021 12:26 AM | |
| 1 | 01-30-2019 11:35 PM | |
| 1 | 08-01-2019 04:27 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|