|
POST
|
Aaron, I had a hunch this was the case. I was able to upgrade the API. I noticed the command line syntax had changed, so I made those changes too. I also noted I had the wrong wkid value so that is now correct in the command syntax. Running the script returns this now. I am not sure what this error means. Thanks for your help and your patience. Jay
... View more
05-11-2018
10:35 AM
|
0
|
2
|
3020
|
|
POST
|
Hi Aaron, Thank you for your quick reply. In Pro I have ArcGIS API for Python version 1.2.5 installed. I checked the x,y fields, no quotes, so I assume the copy/paste to a new worksheet cleaned out whatever was causing the initial string error. The ‘create assignment from csv.py’ script I was using had a Feb 2018 date. I downloaded the latest script and ran that. Now I am getting this error: Traceback (most recent call last): File "V:\GIS\SolutionTesting\Workforce\HydrantFlushing\create_assignments_from_csv.py", line 35, in from arcgis.apps import workforce ModuleNotFoundError: No module named 'arcgis.apps' I don’t have enough experience yet to figure out what I need to do now to correct this. Please help. Thanks, Jay
... View more
05-11-2018
07:40 AM
|
0
|
4
|
3020
|
|
POST
|
Hi Adrian, I tried closing Pro instances, disconnecting users, laptop reboot, etc., multiple times, same result. I finally did the Add XY in ArcMap, was done in seconds. I am back working in Pro, and moving the project along. Thanks! Sincerely, Jay
... View more
05-10-2018
10:18 AM
|
1
|
0
|
1199
|
|
POST
|
Hi all. I have been learning and using Workforce and the various Python 'create' scripts available from GitHub. With some excellent help from Esri staff, I had great success using a create assignment script for the Citizen Problem Reporter and Manager solutions. I am now using 'create assignments from csv' script to automate assignment creation for hydrant flushing. After a fair amount of trial and error, I was able to have the script create assignments (but without having the Dispatcher or Worker fields populated). However, the maps in Workforce and Pro, do not show the assignment symbology (unassigned, assigned, in progress, etc.). The attribute table for the assignment feature service shows the assignment records but again there are no symbols on the maps. If I use the 'Zoom to' function for a row in the att table, we go nowhere. I did have trouble executing the script where I had a 'string to float' error on the xField. After checking each coordinate carefully, and still receiving the same error, I did a copy/paste of the existing csv into a new xlsx/csv file, and the error went away. The script started working and created assignments. So I need some assistance in getting the assignment features to symbolize please. The Shape field is populated with Point. Also, I am stumbling on passing the Dispatchers and Workers from the csv file. From the schema, the userid fields are text. In looking at the att tables for both services, the userid columns are populated with our email usernames (e.g., "jhodny@newark.yadda.yadda_CityOfyadda") When I include these two columns in the csv file, I get a 'ValueError: invalid literal for int() with base 10: 'jhodny@newark.yadda.yadda_CityOfyadda' error. I am not sure what to do here. Thanks, Jay
... View more
05-09-2018
11:54 AM
|
0
|
7
|
3604
|
|
POST
|
Hi. I am using ArcGIS Pro, latest version, and I was trying to add the XY coordinates to a fire hydrant (point) attribute table using the 'Add XY Coordinates' GP tool. Even though I had removed any connections (except sde) to the geodatabase, I was still getting a table lock error running the GP tool in Pro. I have write privileges to the feature dataset. I finally pulled the hydrant layer into ArcMap, disconnected any new connections, ran the GP tool and I was able to add the XY coordinates to the att table. I don't know if this is the place in GeoNet to mention this, but I wanted to get it out there. Thank you. Regards, Jay
... View more
05-08-2018
11:31 AM
|
0
|
2
|
1637
|
|
POST
|
Hi William et al., I have started working with Workforce including using the scripts available at GitHub, and I am a new to all of this. In working with a Workforce 'create assignment' script for the Citizen Problem Reporter/Manager solutions, I was pointed to a way to find the assignment type integer values, by Esri staff. This process uses ArcGIS Pro and the ArcGIS Solutions Deployment tool in the Share tab of Pro's main menu ribbon (this assumes the tool is already installed). 1) Once the assignment types are created, either directly in the Workforce Add Assignment dialogue screen or through the 'create assignment type' script, go to the 'assignment' service layer in that Workforce project group in ArcGIS Online, and copy the service URL. 2) In Pro, use the Add Data...Data from Path, paste the URL, to pull the service into your Pro project map. In the Share tab, fire up the deployment tool, and skip to step 3, Modify Domains. Choose the Assignments layer and Assignment Type field. This will list the newly created domain codes (the integer values) along with the assignment type descriptions. In the case of the Citizen Problem Reporter app, there are eight Problem Report feature services (Animal, Blight, Road, Snow/Ice, etc.). I was advised by Esri staff to create assignment types based on the domain values for each of the eight major problems. Thus, I had 74 assignment types. For example, "Road - Pothole," was how I created/named an assignment type. 3) If closed, open the Solutions deployment tool again in Pro, and input your feature service. In this example, I used the Road Problems as the input layer and Type of Problem as the field. I then updated the codes and descriptions based on the assignment type service integer values and descriptions for the 11 Road Problems (coded value domain). I repeated this process for the other seven major problem report services. Now when I run the Workforce Reporter create assignment script, the assignment type descriptions are passed to Workforce and the assignment "buttons" are labeled accordingly, see screen shot. I hope this helps! Regards, Jay
... View more
05-08-2018
08:03 AM
|
0
|
4
|
4582
|
|
POST
|
Hi all, this worked fairly well. We could not rename the classes with the geometric network present in the feature dataset. Fortunately, our network is small and not complicated. Before starting we reconciled and posted our edits. We create a back up of our sde geodatabase. We compressed the database (hoping this might resolve the original issue but it did not). The feature and map services were stopped. We made a copy of the feature dataset as described earlier ('_1'). Before continuing we confirmed we could add user and privileges in the '_1' feature dataset. Next, we deleted the geometric network in the original feature dataset and renamed the feature classes and dataset as '_orig.' We deleted the geometric network in the '_1' dataset, then renamed the classes by removing the '_1' in each class and the dataset. Thus, we returned to the original feature dataset, restoring the user/privilege add/update function, while preserving the class names and source. At this point we added a couple of fields/domains. The geometric network was rebuilt successfully in the "new" feature dataset. Services were restarted and the dataset was registered as versioned. We discovered had to republish the services as we should have (we think) registered the dataset as versioned before starting the services. Our working feature dataset (_orig)will be deleted along with any remaining '_1' items listed outside of the dataset in Catalog after we are satisfied we are back to normal. I believe I have documented the steps here in the order we performed them. Sigh.....
... View more
04-25-2018
01:28 PM
|
0
|
0
|
7742
|
|
POST
|
Thank you. I started down this same path originally, but got worried when I saw the ‘_1’ in target fields dialogue box.
... View more
04-24-2018
08:49 AM
|
0
|
0
|
5771
|
|
POST
|
Excellent, thank you! I get nervous copying and pasting.
... View more
04-24-2018
08:32 AM
|
0
|
0
|
1972
|
|
POST
|
Hi Jake, I figured there was a more efficient way! Let me give it try and I will let you know. Thank you, Jay
... View more
04-24-2018
08:30 AM
|
0
|
0
|
5771
|
|
POST
|
Jake, I tried this, but the copy/paste is not as straightforward as I thought (and I can blame my inexperience too). I can right-click and copy an existing feature class, but when I try to paste it in the new feature dataset, the paste command is greyed out. If I use the feature class to feature class GP tool, I can’t have the feature class named the same in the original and new feature datasets. So, I used a slightly different new feature class name, and the class was created in the new feature dataset with the GP tool. Upon opening the Privileges dialogue box for the new feature dataset, the sde user and privileges were there (a good sign). I was then able to add users and assign privileges. Thus, Jake as you indicated, there appears to be something wrong with the original feature dataset. I sense the path forward is to create new feature classes, named with a ‘_new’ in the class name for each class, in the new feature dataset. Once I am satisfied all the features have been copied and the data are intact, I would delete the original feature dataset, and rename the new feature classes and new feature dataset with the original naming convention to preserve source? I have a geometric network in the original feature dataset which will not copy using the feature class to feature class tool. I can copy/paste this item, but the target fields are named with an ‘_1.’ I am not sure what the ramifications are having different field names, or if I should recreate the original geometric network from the feature class(s) using the GP tool. Advice appreciated. Thanks for your help! Jay
... View more
04-24-2018
08:21 AM
|
0
|
6
|
5771
|
|
POST
|
Hi Jake, 1. I can add user/privileges to other feature datasets in this geodatabase. 2. Yes, when trying to add any user in this feature dataset, including non-Windows domain users. 3. Yes, the users have had privileges granted previously in this geodatabase to other feature datasets. 4. No, not yet. Only through my connection on my desktop. We use Windows authentication to sign on. I tried to add user/roles as sde, dbo, public, guest, and GIS, same behavior, system chugs along, then goes ‘Not Responding’ for a bit, then User record disappears from dialogue box. Thank you, Jay
... View more
04-24-2018
05:47 AM
|
0
|
8
|
5771
|
|
POST
|
Hi Jake, Either approach gives me the same result. The GP tool gives me a ‘succeeded’ message but no user is added and privileged. Thanks, Jay
... View more
04-23-2018
01:08 PM
|
0
|
0
|
5771
|
|
POST
|
I am trying to add users and update their privileges to a feature dataset using ArcCatalog, which has no users currently (and I am not sure why). I have tried to add privileges to both the versioned and unversioned versions of this dataset. I can enter the user (DOMAIN\USER) and select the privileges. When I click on Apply, the system chugs away, then the user record in the Privileges dialogue disappears. I had this problem before, but cannot recall how I resolved it.
... View more
04-23-2018
12:44 PM
|
1
|
13
|
8552
|
|
POST
|
Hi Dan, I copied the apps over from the S5 to the S9 during the phone set up process, so I was using whatever version of Collector that was on the S5. Upon receiving the message, I uninstalled Collector, went to the Google app store, downloaded, and installed what I assumed is the latest version of Collector. Same message when I tried to start up Collector. I don’t know much about certs and installing them on a smartphone, so let me do some more research and pester my IT group. Thank you! Jay
... View more
04-16-2018
12:04 PM
|
0
|
0
|
2903
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-07-2025 08:30 AM | |
| 1 | 09-09-2025 08:47 AM | |
| 1 | 03-07-2024 08:33 AM | |
| 1 | 10-17-2025 11:09 AM | |
| 1 | 07-24-2025 10:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|