|
DOC
|
Hi Curtis - thanks for the script. Regarding the AGOL shortname variable: Is there a way to install ArcGIS Pro silently across our organization and have the default Portal be our Enterprise Portal, using Windows Authentication to pass the user's credentials, instead of AGOL? We use a concurrent license server for Pro, and have already setup Windows Authentication to pass our organization credentials to the log-in prompt.
... View more
10-22-2020
02:27 PM
|
0
|
0
|
7703
|
|
POST
|
Sounds like you want to do a “join”? You will likely have to use the “analysis” tool to either spatially join the layers, or relate/join them based on a common ID field. Once layers have been related/joined, you should be able to use Arcade (or maybe SQL) to fetch the value from one layer to the other. I forget the exact syntax right now, but yes, this is possible. I know this is a very top-level response – there are a lot of options doing these sorts of calculations. Google around, looking at ESRI technical resources and Stack Exchange/Overflow as well as GeoNet posts. Joe Bryant GIS Coordinator We’re hiring! Visit our career site, here<https://recruiting2.ultipro.com/WES1042WYAI/JobBoard/204a74b2-b15f-43fd-a0ba-448892f98e9a/?q=&o=postedDateDesc&w=&wc=&we=&wpst=> WEST YOST direct 530.761.0226 Currently working from home. Please use mobile: (916) 833-5840
... View more
10-21-2020
08:56 AM
|
0
|
0
|
6453
|
|
POST
|
Hi Travis! Cool project - I like the idea to have the DMA water loss dashboard displayed on a TV in your office. You mentioned that you "assigned the master/zone meter a negative value". I'm not sure if you are doing this manually when you input the new data each month, or if you are using some sort of expression for your calculations. It sounds like what you want to do would be possible using Arcade expressions to calculate new fields in your feature layer. Then you could treat Meter 2's value as either a positive or a negative depending on the DMA you are calculating. If you are not familiar with calculating new feature service fields using Arcade, see this blog post: Create Custom Field Calculations Using Arcade Expressions When your co-workers upload the new .csv consumption values, you could just have them create a new field(s) for the month and run your saved Arcade expressions to calculate the fields before they run the analysis. PS: If your data is local, for instance in ArcGIS Enterprise, you could probably create a custom Python tool to run all of these calculations locally, and just have your federated feature service published to the DMA Dashboard to display the results. That may be simpler for your co-workers to follow - all the steps being contained in a single custom tool.
... View more
10-20-2020
10:26 AM
|
0
|
3
|
6453
|
|
POST
|
I've now upgraded to 2.6 and can confirm this works. It's a real time saver! You do have to check any domain lists and editing templates you have in the map; these did not get updated for me. And, yes, I did republish the web layer first after making a schema change.
... View more
10-14-2020
04:19 PM
|
4
|
1
|
37387
|
|
IDEA
|
I'm surprised no one else has up-voted this. It is extremely frustrating for our field app users to have the passwords we (admin) have created for them suddenly expire in the middle of a project without warning. And I have no way to review the password reset schedule as an admin so that I could at least review upcoming resets before a project. Please add this simple functionality, ESRI! PS: I'm glad to see that the ability to turn off password expiration, as requested here, has been added. But this will likely not be ideal for organizations that require a high degree of security.
... View more
09-03-2020
09:39 AM
|
0
|
0
|
1217
|
|
POST
|
Thanks for the update, Dan. I will test this after I've upgraded to 2.6. The link you provided is very helpful, particularly the considerations when converting an AGOL web map to a Pro map and then back.
... View more
09-02-2020
09:32 AM
|
1
|
0
|
37387
|
|
POST
|
I had limited success writing a script to retrieve a token using user input credentials. I'm sure I'm close, but gave up and manually copied the active token for now. I altered your script to add a token variable and formatted r as: r = requests.get(featureLayerURL + "?f=json&token=" + token) This was able to retrieve and create the feature service field names and types, but did not grab the domain values. I'll have to revisit this script later when I have more time. For now, I will be reverting to copying and pasting the field names and domains to a spreadsheet.
... View more
07-08-2020
02:29 PM
|
1
|
1
|
3123
|
|
POST
|
Hi Joshua, thanks for posting this. I'm going to make this code into a python script tool for myself. I do get a KeyError when trying to run this code in the Python 3 module in ArcGIS Pro (2.5): Traceback (most recent call last): File "<string>", line 18, in <module> KeyError: 'fields' Is this because the requests.get method is not passing the json format to 'r'? This is a secured service that requires login credentials to access. The first time I ran the code I used the service url with my current token as a url parameter, but this failed because of the bad syntax of appending your additional "?f=json" parameter. After I removed the token from the address, this error went away and I only received the KeyError above. I'm not sure if Python reads and passes your credentials from ArcGIS Pro automatically when you attempt to access secured services. How should I handle passing the correct permissions to access the feature service? Add a username and password variable? I have tried setting both my Enterprise Portal (where I'll be creating the copy) and the client's ArcGIS site (using our fieldworker account) as the active portal in Pro, and it made no difference.
... View more
07-06-2020
10:15 AM
|
1
|
2
|
3123
|
|
POST
|
I'd like to save myself some work by not creating a feature service layer from scratch. I have edit access to the secure feature service layer I'd like to base my new feature service on, but it has not been enabled for downloading (I don't own the service and I don't have publishing rights in the organization that owns it). I don't need the data from the current service - I just want to create an identical feature service layer schema for a similar workflow in another project. I tried to use AGOL Assistant's copy tool, but I cannot copy an item I do not own. I then tried copying and pasting the json definition for the service in to a text file, and creating a new service using that json file, but AGOL only accepts GeoJSON as input (the json text does not start with "type": "FeatureCollection"). I'm not a developer, so forgive any gaps in my knowledge regarding JSON files. What is the easiest way to accomplish this? Any tools in Pro?
... View more
07-02-2020
09:28 AM
|
1
|
5
|
3217
|
|
POST
|
So... the current workaround that we've been using is to make every step in the task "Optional" while you are in development. This allows you to skip steps during testing. Once you have dialed in your task, you can change the required steps to no longer be optional and test again. My other piece of advise would be to NOT use the record tool to create steps - this seems to hardcode file names into the task steps that cannot be updated later through parameter edits. This causes the step to fail on the next run when it goes looking for that old file name, unlike ModelBuilder which will use the new output from the previous step. For now, try to manually setup all your task step actions.
... View more
06-22-2020
05:29 PM
|
4
|
0
|
1762
|
|
POST
|
Hi Maxime, I went back and reviewed this dashboard and it looks like I never figured it out. I have a loaded category value that is blank that I have labeled "Android", but I don't have this choice in smart-filter buttons, so the app must not recognize that value when it populates. Maybe a good enhancement request?
... View more
06-02-2020
02:18 PM
|
2
|
1
|
4311
|
|
POST
|
That's good to hear; thanks for confirming that Michael. It's been working on 10.4 for me. Any idea why it's not listed as supported on the Solutions page? I need to recommend to our clients on how to download the Add-In, and this will raise doubts about installing it on their systems. Requirement Description Software Desktop ArcMap (Standard or Advanced) 10.2.1, 10.5 - 10.8
... View more
05-18-2020
09:31 AM
|
0
|
1
|
6685
|
|
POST
|
I see that the current release of the Attribute Assistant does not support ArcMap 10.4.1. Our firm and most of our water utility clients are still on 10.4.1 because of dependencies on other software, like Innovyze InfoWater. Is there a link to the older release of the Attribute Assistant that supported 10.4? We need to be able to provide that copy to our clients.
... View more
05-15-2020
01:54 PM
|
0
|
3
|
6685
|
|
POST
|
I submitted a support ticket to ESRI. But before they got back to me, I gave up and went back to ArcMap (I was also having issues with being able to Geocode and create/edit annotation, and just needed to get this done already)! The feature class was able to edited in ArcMap. I did find that the Geocoder in Pro added a TON of fields to the feature class, making it impossible to assign a new domain to one of the original fields (the field list in the Domain tool wasn't long enough to show the fields at the end I was editing). So I used the Delete Field Tool to remove all the geocode fields. This allowed me to assign the domain. I now can't re-create the problem in Pro (the fields are editable now that I updated them in ArcMap). Which makes me suspect the excess geocoding fields were causing an issue. We'll see if it happens again next time. When ESRI support got back to me, they recommended exporting the feature class to a new geodatabase in case it was corrupt.
... View more
04-17-2020
03:53 PM
|
0
|
0
|
5234
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-12-2026 02:09 PM | |
| 1 | 03-21-2025 03:07 PM | |
| 1 | 12-04-2025 04:57 PM | |
| 1 | 10-23-2025 04:54 PM | |
| 9 | 10-01-2025 12:20 PM |