|
POST
|
@Anonymous User I recently experienced something very similar, but with Select By Location tool. I wrote script that is processing polylines by running couple of "Select By Location" intersecting with another Point and Polyline feature classes.. Running the code using Pro default python environment, the script struggles to process 230 records in 5 mins.. Running the same code using ArcGIS Desktop 64x python, the code can handle 500+ records in 3 mins .. eventually I used the ArcGIS Desktop python to finish the task. I am using Pro 2.8.2, and ArcGIS Desktop 10.8.1 Thanks for posting about this, I was willing to post about it as well. Hopefully someone can pinpoint what would be issue.
... View more
12-08-2021
09:55 PM
|
0
|
0
|
2722
|
|
POST
|
the script is not targeting a user, rather it will return all forms that either owned by the account used by line 2, or forms that are shared with this account. If you use "admin" account, the script should return everything.
... View more
12-08-2021
09:21 PM
|
0
|
0
|
1025
|
|
POST
|
Hi @JervinAlbeso the code to retrieve "Survey123" : from arcgis.gis import GIS gis = GIS(url='Portal URL', username='account username', password='account password', verify_cert=False) list = gis.content.search(query='type:("Form")', item_type=None, max_items=999) len(list)
... View more
12-08-2021
09:03 PM
|
0
|
2
|
1030
|
|
POST
|
project folder/files access permissions? I would try to do manually in Pro what they code is trying to do, you might get more descriptive error message.
... View more
11-23-2021
08:21 PM
|
0
|
1
|
8713
|
|
POST
|
Hi @RyanBohan you will need to inject the required styling to the constructed HTML code. I would suggest not to use ESRI css file, because it will be huge for just a print page for the popup. sample code to inject the css file link: document.getElementById("of head/body tag") .innerHTML += '<link rel="stylesheet" type="text/css" href="style.css">';
... View more
11-23-2021
08:10 PM
|
1
|
1
|
4258
|
|
POST
|
Hi @HarrySmiles ArcGIS Enterprise platform allows having geoprocessing service execution results to be shared as a service. The doco page here can give more details on this approach: https://enterprise.arcgis.com/en/server/10.8/publish-services/windows/using-result-map-service-in-web-applications.htm
... View more
11-23-2021
08:01 PM
|
1
|
0
|
797
|
|
POST
|
Alternative approach, while still using the service, is to use API for Python arcgis.features.FeatureLayer module, either using the "append" or "edit_features" methods, as explained here: https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#featurelayer
... View more
11-04-2021
06:16 PM
|
0
|
0
|
2859
|
|
POST
|
Hi @al_Dhakal instead of republishing the service every time you get new data, you can use the feature access capability to update the service features. I would recommend having a look into this tutorial, implementing almost exactly what you are after: Append attribute values from a CSV into a new column on a Feature Layer https://developers.arcgis.com/python/guide/appending-features/#Append-attribute-values-from-a-CSV-to-a-Feature-Layer Hope that helps Ihab
... View more
11-04-2021
06:13 PM
|
1
|
1
|
2860
|
|
POST
|
Hi @AmandaBristowe I usually see this exclamation mark when the tool script has syntax error, or when the tool script is missing. Are you sure that your Pro meets the requirements of this toolset solution? I checked the doco, it says that the toolset needs ArcGIS Online ArcGIS Pro 2.7 or later (Advanced) ArcGIS 3D Analyst extension ArcGIS Spatial Analyst extension And, the user type must be at least GIS Professional Advanced. Hope that helps Ihab
... View more
11-04-2021
05:35 PM
|
0
|
1
|
884
|
|
POST
|
I would try to add a filter or query definition of some sort to limit the number of features that the map viewer is trying to fetch. Also, I would use Chrome or Edge as a browser.
... View more
11-04-2021
05:23 PM
|
0
|
0
|
2618
|
|
POST
|
Hi @Anonymous User Have you tried to set the streetDirectionsProperties language property? I believe you can do that from Python. This doco page here is explaining the different properties for "streetDirectionProperties", and it has sample code as well: https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/streetdirectionproperties.htm Regards Ihab
... View more
11-04-2021
05:21 PM
|
0
|
0
|
1120
|
|
POST
|
Hi, the service is hosted on ESRI AGOL, you won't get better than that. I would suggest to make sure you are using proper internet connection.
... View more
11-04-2021
05:08 PM
|
0
|
2
|
2627
|
|
POST
|
for some reason, this issue kinda ringing a bell. Did you try to republish the service using your built-in credentials?
... View more
09-30-2021
11:14 PM
|
0
|
0
|
2071
|
|
POST
|
Hi @PatSmyth If the role of the GP service is just to kickstart the python code, then it might be easier to do so using another RESTful service technology , like NodeJS or DotNet. I don't have a workable code sample, but something like https://www.npmjs.com/package/python-shell can be a good start, which will allow you to run python from a specific python environment.
... View more
09-30-2021
11:03 PM
|
1
|
0
|
1596
|
|
POST
|
Hi @RishavPathak offline capabilities for ESRI JS APIs are limited, the ArcGIS JS API won't support that out of the box. I would suggest that to go through the "Build Offline Applications" guide from ESRI Developer website, which details the possible options provided by ESRI APIs: https://developers.arcgis.com/documentation/mapping-apis-and-services/offline/ Also, I am adding here offline capabilities matrix for different ESRI APIs
... View more
09-30-2021
10:36 PM
|
0
|
0
|
808
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-29-2024 07:29 PM | |
| 1 | 05-17-2022 09:41 PM | |
| 1 | 09-12-2023 12:23 AM | |
| 1 | 01-15-2024 02:36 PM | |
| 2 | 01-06-2024 08:57 PM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|