POST
|
Hi Andrew, Thanks for the note about adding the task, much appreciated and I did try that. Also got the tip from the Esri Software Product Release team about this patch: this patch: https://support.esri.com/en/download/7577. In the meantime, am able to use the Environmental Screening widget for my needs, will test the print service after this patch is installed. Thanks again, Shelby
... View more
06-07-2018
07:44 AM
|
1
|
0
|
516
|
POST
|
Hi Robert, Thanks for the reply. I am trying it in Portal 10.6 Web AppBuilder and have ArcGIS Enterprise set up. Thanks, Shelby
... View more
06-06-2018
07:48 AM
|
0
|
2
|
516
|
POST
|
Hi there, I'm able to create a print service in Pro using Export Web Map tools and Get Layout Template server tools. I publish to ArcGIS Enterprise and add the print service to my utility services, print template seems to come through properly. Then I add the URL to my WAB print widget and get an "Error, try again". Not sure how to troubleshoot this, any insight is much appreciated! -Shelby
... View more
06-05-2018
03:49 PM
|
1
|
6
|
839
|
POST
|
Thank you Jay, for this detailed response, much appreciated. -- Shelby
... View more
05-25-2018
07:52 AM
|
0
|
0
|
385
|
POST
|
This is for a trash routing problem for a City. Thanks in advance!
... View more
05-23-2018
01:35 PM
|
1
|
2
|
585
|
POST
|
Thank you for this, will be testing this! Was able to make it work with the help of a colleague: arcpy.SelectLayerByAttribute_management("crimelayer", "NEW_SELECTION", "REPORTED_DATE > timestamp '{0}'".format(str(year_ago)), None)
... View more
10-24-2017
12:38 PM
|
0
|
0
|
2559
|
POST
|
Hi Dan_Patterson, I wonder if you know how to query for data from the last 365 days using a date field? Thank you! -Shelby
... View more
10-24-2017
10:59 AM
|
0
|
2
|
2559
|
POST
|
Thank you Dan! This is the error that I'm getting: Traceback (most recent call last): File "<string>", line 7, in <module> File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\management.py", line 6569, in SelectLayerByAttribute raise e File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\management.py", line 6566, in SelectLayerByAttribute retval = convertArcObjectToPythonObject(gp.SelectLayerByAttribute_management(*gp_fixargs((in_layer_or_view, selection_type, where_clause, invert_where_clause), True))) File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py", line 506, in <lambda> return lambda *args: val(*gp_fixargs(args, True)) arcgisscripting.ExecuteError: ERROR 000358: Invalid expression Failed to execute (SelectLayerByAttribute). Regarding your other questions, the date is in a field and is "date" data type. Yes, they are sequential dates from 2010 through today. Hundreds per day. Much appreciated, Shelby
... View more
10-24-2017
06:08 AM
|
0
|
5
|
2559
|
POST
|
Hi all, I am trying to 1) Select by Attribute and 2) overwrite a feature class with selected features. Below is the script that I'm trying as a start.. and am getting an error related to Select by Attribute. Ultimately, need to select last 365 days of data (not Baker neighborhood) and overwrite a feature class.. on a daily basis. Thank you in advance for any assistance! Shelby # Description: Extract features to a new feature class based on an attribute query # Import system modules import arcpy # Make a layer from the feature class arcpy.MakeFeatureLayer_management ("D:/pd/crimeD.gdb/dencrime", "crimelayer") # Select all crimes that happened in Baker arcpy.SelectLayerByAttribute_management ("crimelayer", "NEW_SELECTION", ' "NEIGHBORHOOD_ID" = baker ') # Write the selected features to a new featureclass arcpy.CopyFeatures_management("crimelayer", "Bakercrime")
... View more
10-23-2017
10:08 PM
|
0
|
7
|
4569
|
Title | Kudos | Posted |
---|---|---|
1 | 05-23-2018 01:35 PM | |
1 | 06-05-2018 03:49 PM | |
1 | 06-07-2018 07:44 AM |
Online Status |
Offline
|
Date Last Visited |
12-17-2020
11:14 AM
|