|
POST
|
Thank you! This was a successful workaround for me. It's nice to be able to suppress empty fields. I noticed that the automatic hyperlinking still happens in pop-ups if you use the option to display a list of fields or a single field in the pop-up, but not if you do a custom pop-up. In that case, you have to use the URL button to create a link, which is an all-or-nothing proposition for right now (either everything is hyperlinked or nothing is hyperlinked). Maybe we'll get more versatility with Arcade modifying HTML down the road.
... View more
01-25-2021
01:15 PM
|
0
|
2
|
5284
|
|
POST
|
I have a dataset with a field that is either populated with a web address (https://....) or the text N/A. If there is a URL, I want to display it as a hyperlink in the pop-up so that the end user can just click to open it. I wrote up a conditional statement in Arcade and tried to plug it into HTML view in the pop-up custom configuration, but it only returns the HTML code in the pop-up, rather than recognizing the <a href> tag and adding the link. Here is my Arcade code: var webURL = $feature["Location_website"]
var linkYes = '<a href="{Location_website}" target="_blank"><b>{Location_website}</b></a>'
var linkNo = 'Website: <b>{Location_website}</b>'
when(webURL == 'N/A', linkNo, linkYes) And here is where I put the expression (I replace the highlighted text with {expression/expr0} And here is the pop-up (forgive my messy redaction work): Is there a better way to do this? I don't want to use the WYSIWYG editor to insert a hyperlink because I don't want N/A to be an active link that goes to nowhere.
... View more
01-22-2021
02:04 PM
|
0
|
4
|
5317
|
|
POST
|
CONFIRMED: Collector will be removed from app stores in December 2021.
... View more
01-14-2021
10:48 AM
|
1
|
5
|
5036
|
|
POST
|
Someone marked your reply as the correct answer, but it does not answer the heart of my question, which is "So, I'm wondering if Collector will still be available past December 2021 for operations that are resource poor but still want to do data collection?" Or perhaps more clearly stated, will Collector still be available in the app stores after 12/2021? I asked our sales rep and he indicated that Collector WILL be removed from the app stores in December 2021. Is this correct?
... View more
12-14-2020
10:39 AM
|
0
|
8
|
5178
|
|
POST
|
The answer is embedded in that article that you referenced. Specifically, "Because of that lazy execution and chaining, the following two expressions are identical, and will have the same performance with respect to query execution:" The two expressions that follow are nearly identical to what I posted. Thank you - that was an interesting article.
... View more
12-07-2020
01:49 PM
|
3
|
0
|
3163
|
|
POST
|
Has anyone tested Arcade's performance with tight vs more verbose expressions? For example, here is an expression I wrote to count the number of accidents that occurred within 150 feet of a road centerline: Count(Intersects((FeatureSetByName($map, "Accident"), Buffer($feature, 150, "feet"))) A more verbose way to get the same result might be: var accidents = FeatureSetByName($map, "Accident")
var roadBuffer = Buffer($feature, 150, 'feet')
var roadAccidentIntersects = Intersects(accidents, roadBuffer)
var countAccidents = Count(roadAccidentIntersects)
return countAccidents Does anyone know if one expression would perform better than the other in an AGOL pop-up? I've definitely noticed that the more you click on features in a map with spatial analysis, the faster the browser gets at calculating the results. I'm just wondering if there is an advantage to writing tight code as opposed to more readable code.
... View more
12-07-2020
10:39 AM
|
0
|
4
|
3195
|
|
POST
|
I saw the announcement about Collector being "retired" in December 2021. Does that mean that after December 2021, we will not be able to download the Collector app onto any device that does not currently have it installed? Or does it just mean that we can continue to download/use it but there will be no tech support offered after that date? Here's why I ask: the software requirements for Field Maps are fairly high -- iOS 13.5 or Android 8.0. Now I realize that in an ideal world, everyone would be buying new tablets and Smart phones every few years, but that's not the reality. I can easily imagine local governments and non-profits having an investment in older hardware that cannot be upgraded to the latest and greatest OS. In our current economy, they are unlikely to have the funds to purchase new hardware. So, I'm wondering if Collector will still be available past December 2021 for operations that are resource poor but still want to do data collection?
... View more
12-02-2020
12:43 PM
|
1
|
11
|
6109
|
|
POST
|
OK, take two. Try running this tool: Manage Map Server Cache Status (Server)—ArcMap | Documentation . If closing/reopening ArcCatalog doesn't do it, this tool might "shake it loose."
... View more
10-23-2020
02:10 PM
|
1
|
0
|
5072
|
|
POST
|
You need the menu option directly below that, which is grayed out. View Cache Status... has an option to cancel caching. See View cache completion status—ArcGIS Server | Documentation for ArcGIS Enterprise for details. I know I've had a problem with those tools graying out before. Seems like the fix was something stupid like closing and reopening ArcCatalog. I'll see if I can find any documentation and get back to you.
... View more
10-23-2020
02:08 PM
|
0
|
1
|
5072
|
|
POST
|
Based on my subsequent research as well as Jonathan Quinn's comment on this post, I feel confident that it is not possible to migrate to a new server AND upgrade versions at the same time. Disappointing, but it makes sense that there isn't a tool that can do both. Esri would have to come up with custom configurations to accommodate every possible jump between versions. That's a pretty heavy lift.
... View more
10-23-2020
02:02 PM
|
2
|
0
|
2357
|
|
POST
|
I read that blog - it says that the ArcGIS versions have to match if you use the WebGIS DR tool. I'm looking for a way to migrate existing 10.5.1 Enterprise content directly into a new 10.8.1 environment.
... View more
10-15-2020
09:53 AM
|
0
|
1
|
2357
|
|
POST
|
I am getting new servers for our Enterprise deployment, so I need to migrate all of our existing content. At the same time, we are due for a version upgrade and want to install Enterprise 10.8.1. My question: is it possible to install 10.8.1 on our new servers and migrate content from a previous version of Enterprise (specifically 10.5.1)? The prevailing wisdom on server migrations seems to be to either use the WebGIS DR Utility to backup and restore (which requires the versions to match) or to use a Join Site operation to move content (not clear on whether the versions have to match). For what it's worth, the Enterprise deployment is spread out over multiple servers, so software installation is not as simple as running the Enterprise Builder tool on one server.
... View more
10-15-2020
09:33 AM
|
0
|
4
|
2411
|
|
POST
|
Yes, I did confirm that it came in as a double. I wouldn't have believed it if I hadn't seen it with my own eyes because you are 100% right that it's impossible. I wish I still had the table so that I could screenshot it and post, but it would take more time than I'm willing to spend to undo the corrections I've written into the script to recreate the issue.
... View more
09-16-2020
07:54 AM
|
0
|
0
|
3057
|
|
POST
|
That is an excellent question, Joe, and one for which I do not have an answer. Definitely falls into the "that shouldn't happen, but it did anyway" category.
... View more
09-16-2020
07:11 AM
|
0
|
3
|
3057
|
|
POST
|
No, that didn't work either. After further digging, the problem became more complicated. Despite the fact that there are records with 3 spaces in them, that column imported from Excel into my FGDB as a double by default (most of the records are three-digit numbers, many with leading zeros). That would explain why a text-based query failed to work -- it wasn't a text field. I ended up querying out those records earlier in the script, before they imported into the FGDB. Problem solved, but it does leave me wondering if there is any programmatic solution to remove blank spaces that are in a double field. I tried the steps in Model Builder (using the text string that failed in my script) and they worked fine.
... View more
09-16-2020
06:01 AM
|
0
|
0
|
3057
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 05-08-2024 01:17 PM | |
| 1 | 12-16-2021 07:17 AM | |
| 7 | 04-23-2026 08:57 AM |
| Online Status |
Online
|
| Date Last Visited |
2 hours ago
|