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
Friday
|
0
|
0
|
26
|
POST
|
CONFIRMED: Collector will be removed from app stores in December 2021.
... View more
2 weeks ago
|
1
|
0
|
62
|
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
|
3
|
204
|
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
|
254
|
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
|
286
|
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
|
5
|
313
|
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
|
258
|
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
|
258
|
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
|
1
|
0
|
222
|
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
|
222
|
Online Status |
Offline
|
Date Last Visited |
Friday
|