|
POST
|
Xander Bakker, This is pretty clever! When I test the expression i get the desired URL. However, in Collector Beta, the custom expression simply appears as a string...not a URL you can click on to launch the app. What am I missing here? [Latest version of Collector Beta for Android]. I am able to get a basic test pop-up 'working' for old Collector using a 'custom attribute display' (like the earlier blog posts show), but this obviously doesn't have the Arcade functionality and you need to have a pre-attributed X&Y field. I don't believe that old Collector/Collector classic supports the Arcade expressions.
... View more
10-29-2019
11:45 AM
|
0
|
0
|
2300
|
|
IDEA
|
Having a bearing and distance to a point is a business critical item for us. Esri, take note that Avenza maps provides this functionality.
... View more
10-29-2019
11:38 AM
|
0
|
0
|
2160
|
|
IDEA
|
Lance, for our business, having the bearing is critical! Thanks for bringing this up.
... View more
10-29-2019
11:15 AM
|
0
|
1
|
2223
|
|
POST
|
Tim Minter Derek Law Users seem to be confused because in Portal they can search for Portal items & ArcGIS Online items intuitively. (Presuming you've configured your enterprise site to allow ArcGIS Online content of course). In Pro you need to log out of Portal and log into ArcGIS Online. This presumes all of your user base has an ArcGIS Online account in addition to their Portal accounts, whereas in the Portal configuration this is not necessary.
... View more
10-25-2019
05:15 AM
|
1
|
1
|
873
|
|
POST
|
Right. So you have to switch back and forth from AGO to your Enterprise Portal for each search, right? Which is odd because when you're in the map viewer in Portal you can choose either from the drop down. Maybe I'm missing something in Pro? Using latest release.
... View more
10-22-2019
08:59 AM
|
0
|
0
|
873
|
|
POST
|
Perhaps I missed something but I thought the original discussion included the ability to search AGO in Pro while logged into an Enterprise Portal.
... View more
10-18-2019
07:24 PM
|
0
|
3
|
2979
|
|
POST
|
Is this enhancement ever going to become a reality!?
... View more
10-18-2019
08:54 AM
|
0
|
5
|
2979
|
|
POST
|
I see Senator Palpatine is really making the rounds. So you want to use GeoEvent Server? The Trade Federation would like a word...
... View more
06-26-2019
10:00 AM
|
0
|
0
|
4286
|
|
POST
|
I found some something that works over on SE. A thanks to ianbroad for this one, I was able to modify it...so super simple. If anyone has any additional suggestions, that would be great too! fc=Feature
field = "DIST"
values = [row[0] for row in arcpy.da.SearchCursor(fc, field)]
top_eight = sorted(values)[:8]
query = "\"{0}\" in {1}".format(field, tuple(top_eight))
arcpy.MakeFeatureLayer_management(fc, "top_8_layer", query)
... View more
06-21-2019
10:08 AM
|
0
|
1
|
2862
|
|
POST
|
An important question! Not and enterprise GDB, using fGDB mostly for intermediate data in a longer process. thanks.
... View more
06-21-2019
10:02 AM
|
0
|
0
|
2862
|
|
POST
|
By this I don't mean the highest value in a field. What I'm looking for is to find the highest (or lowest) 5 (or whatever value) records in a field. In this case, the field is a distance, so none of the examples I've found related to finding the highest occurrence of say a string value will will work here. Could this be done with a query alone?
... View more
06-21-2019
05:22 AM
|
0
|
7
|
3012
|
|
POST
|
It's my understanding that when you call a second script from a first script, __name__ = main in the first script but not in the second script: __name__ = the script name itself (sans .py extension) and both of them need to be in the same directory. This right here is something I really need to get my head around! I keep getting confused on this.
... View more
06-04-2019
05:51 AM
|
0
|
0
|
8928
|
|
POST
|
Got pulled back to project work. This is all very helpful. As I start to wrap my head around this more I'm understanding a bit better the need for modularity and organization...it's just applying that which is still the challenge for me. Based on everything I've read in this thread, so far it seems like what will benefit me the most in this situation is to organize several related functions into one module. I can then call them up as needed. Thanks so much to everyone! EDIT: I recently saw this article in my inbox regarding building command line interfaces with Python if anyone is interested.
... View more
06-04-2019
05:49 AM
|
0
|
0
|
8928
|
|
POST
|
ok, that makes way more sense and I had success using the python cmd prompt and supplying an arrangement. thanks so much! So is there a way to run a script from the interactive python window, or is my solution more like creating a master module that just calls up a bunch of my other single-purpose modules? Let me try to explain what I'm hoping to achieve. Often while working along in Pro (although I could be doing the same in Jupyter Lab I guess) I want to pull some info for a given client or property. So each module might have a single function that generates a report. Rather than run each module, I want to run all of them in one script/master module. The only argument that needs to be passed to each module is like a client identifier so this should be pretty straightforward. I'd prefer to not have to jump out to the python command prompt but also don't want the overhead of rolling these up into a script tool in a Pro toolbox.
... View more
05-29-2019
12:26 PM
|
0
|
2
|
8928
|
|
POST
|
I've had so many different tweaks to this it's been hard to keep track (kinda banging my head against the wall here). In the current permutation shown above if I attempt to import functiontest2 into the python window in Pro I receive the following error: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "\\fileshare\SCRIPTS\functiontest2.py", line 3, in <module>
HarvestThing = sys.argv[1]
IndexError: list index out of range
... View more
05-29-2019
11:27 AM
|
0
|
4
|
8928
|
| Title | Kudos | Posted |
|---|---|---|
| 9 | 03-24-2026 11:41 AM | |
| 1 | 11-06-2024 06:58 AM | |
| 1 | 12-16-2022 07:01 AM | |
| 1 | 08-09-2024 06:55 AM | |
| 1 | 08-13-2024 05:58 PM |
| Online Status |
Offline
|
| Date Last Visited |
03-24-2026
12:51 PM
|