POST
|
@XanderBakker Xander: You've been my go-to person for all things Arcade. Is there any chance you can help me here? I have a field (StatusDate, type = date) that needs to be displayed in a popup. When that date is 12/31/22 I want to ignore the value and leave it blank. All other values will be shown. I have tried these expressions and they do NOT ignore the 12/31/22 values. 1) IIF(Find(12/31/22,$feature.StatusDate) > -1, "", $feature.StatusDate) 2) IIF(Find('12/31/22',$feature.StatusDate) > -1, "", $feature.StatusDate) 3) IIF($feature.StatusDate == 12/31/22,"", $feature.StatusDate) 4) IIF($feature.StatusDate == '12/31/22',"", "$feature.StatusDate") In the feature class I only see the date value in the format above. When I open the attributes via AGO I see "12/31/22, 6:00 PM". Can you, or anyone else for that matter, help?
... View more
06-21-2022
12:03 PM
|
0
|
4
|
660
|
POST
|
@XanderBakker Thanks for your help. I haven't been able to try this yet will get around to eventually. Regarding the Colombia thing - are you in Colombia? Or is it saying my connection is in Colombia? I'm in the US.
... View more
02-01-2022
01:13 PM
|
0
|
0
|
304
|
POST
|
@XanderBakkerThanks for checking further into that. Your example includes an ESRI service example, right? Should I be able to use my own REST services (published with Server) with some tweaks to your expression? I'm surprised you can't access the services as they're public.
... View more
01-26-2022
02:00 PM
|
0
|
2
|
311
|
POST
|
Can you view this in a web map? https://gis.johnsoncountyiowa.gov/arcgis/rest/services/PH_Inspect/MapServer It's a different service, but the same three datasets I'm referencing in that map.
... View more
01-25-2022
09:37 AM
|
0
|
5
|
1175
|
POST
|
Just sent the invite, thank you. At the top of the map contents you'll see an address point layer and food and watershed inspector layers. Each of those is an item within a larger map service (see said map service below them in the contents) and have been added as individual items to this map. I can get the expression to work when the individual instance of the address points is used, but not when attempting to do it purely in the map service list.
... View more
01-25-2022
09:19 AM
|
0
|
7
|
1177
|
POST
|
Thanks @XanderBakker. Unfortunately, I don't see the $datastore option. All I am seeing are the fields within this specific dataset. To clarify though, I am... -Trying to use Intersects in a web map pop up for an address point layer, based on what inspector zone a point falls in. -Building in the pop up expression builder. -Said address points and inspector zones are present in the same AGS map service (not AGO feature layer) and the entire map service has been added to the web map. I did try it where I replaced $map with $datastore (but no other changes) and that didn't work. Do you have an idea of how that full expression should look?
... View more
01-25-2022
08:44 AM
|
0
|
9
|
1179
|
POST
|
@XanderBakker Hi Xander. Is there any chance you can answer my question above? Can I set up an expression in my address points that includes the intersection function, and have that be based on one of the polygon features in the layers above it? Note, all three items are published in one map service. I can't get it to work this way but can when I add each endpoint individually... which isn't really feasible in the grand scheme of the web map and WAB app.
... View more
01-24-2022
01:02 PM
|
0
|
11
|
1187
|
POST
|
@XanderBakker Correct. I have a few other apps where I account for the hyperlink issue via multiple expressions and use one of them in the insert hyperlink tool. That's what I intend to do here. My main concern lies in how to best handle the stacked features and to hopefully display all results in one popup.
... View more
09-29-2021
08:10 AM
|
0
|
0
|
1932
|
POST
|
Thanks for the information. In this case we are mapping parcels that have a water or wastewater document on file in our document management system. A parcel could have 1, 5 or 10 documents associated with it. The intent is to have a table of these documents joined to our parcels each night, where parcel number is the join field, so staff can see what parcels have a document or documents. In a web app they will click a feature to view the document information and link, regardless of the number of documents for that parcel. We can definitely live with the "1 of 2" and arrow through the list popup and I was just curious if the Intersects could condense that down to one popup and make things a little more user friendly. I have one other idea in mind involving a point layer (feature to points) against the parent polygon layer (just haven't tried it yet) and am open to other suggestions.
... View more
09-28-2021
08:58 AM
|
0
|
2
|
1952
|
POST
|
@XanderBakker Is it possible to use the Intersects function to return values from stacked features (within the same feature class) in the popup? Or is there a better method? I have some instances of stacked polygons. When I click those stacked polygons the popup displays the 1 of 2 or 3 and arrow over icon, similar to the image below, in the popup header. What I would like is for all stacked features' attributes to display in one popup, regardless of how many stacked features exist. condensed into one popup. Is this possible? Xander - I tagged you in this only because I've seen you answer other Intersects questions.
... View more
09-28-2021
08:29 AM
|
1
|
10
|
2014
|
POST
|
Is it possible to set up an Arcade expression with the intersect function that references another layer within the same service as the features in which the expression is applied? Or, do you have to add each endpoint within the service individually in order to make the expression work? For example, I have a service with three layers: address points, food inspector zones, and watershed inspector zones. If I add each of the endpoints individually, the following expression (in the address points) returns the desired value (from the food inspector zone layer): However, if I add the whole service to my map and set up the same expression on the address points there it does NOT work. I get this error: Does it simply not work within a service? Or do I have a wrong parameter?
... View more
09-16-2021
11:35 AM
|
0
|
12
|
1688
|
DOC
|
@RobertScheitlin__GISP Geez, that was it. I kept looking right past that in the configuration of the one app. Thanks for the help.
... View more
05-12-2021
12:15 PM
|
0
|
0
|
6072
|
DOC
|
@RobertScheitlin__GISP Thanks for the information. Ironically, this is what I see in another 2.19 app with Identify 2.11. Only These is checked. It is reflected in the config file. "All layers" does NOT appear in the dropdown. Is this example the exception and not the rule? I'm not sure if I did anything differently in either config. The biggest difference I can think of is the app I mentioned the other day I originally built in 2.18 and imported to 2.19 via command prompt. The app in this example came from 2.13 (and imported via command prompt). Both were Identify 2.11.
... View more
05-12-2021
11:09 AM
|
0
|
0
|
6089
|
Title | Kudos | Posted |
---|---|---|
1 | 04-22-2020 10:27 AM | |
1 | 09-28-2021 08:29 AM | |
1 | 01-24-2020 08:39 AM | |
1 | 05-18-2015 10:34 AM | |
1 | 06-30-2015 10:45 AM |
Online Status |
Online
|
Date Last Visited |
4 hours ago
|