|
POST
|
Alix Vezina - thank you for the reponse. Just to clarify though, does your example refer to a hosted feature layer? I am working with an ArcGIS Server feature service and not a layer hosted in AGOL or Portal. The web map consumed in a WAB 2.13 (Developer) app resides in AGOL.
... View more
06-29-2020
09:53 AM
|
0
|
3
|
3331
|
|
POST
|
Does the Smart Editor widget not inherit or display symbology derived from an Arcade expression in an AGOL map? I have a WAB (Developer 2.13) app in which I'm using the Smart Editor to draw utility permit line features. When I use my AGS feature service as its published, the symbology looks fine in the feature template section (see 'Utility Permits from Service' in first image below). Said symbology is based on field called UtilityType. Since I published the service, the users want to only display line features where an additional Display field value = 'Yes'. So, I've created an Arcade expression (provided at bottom) to only display each utility type when Display = Yes. I then set the symbology in AGOL accordingly. The problem is that symbology does NOT carry over to the feature template section in the Smart Editor widget (see 'Utility Permits'). For comparison, the symbology shows up just fine in the Layer List widget (second image). Is this a limitation or is there something else I need to do? var utility = $feature["Utility_Type"] var display = $feature.Display if (display == 'Yes' && utility == 'Electric'){ return "Electric" } else if (display == 'Yes' && utility == 'Gas'){ return "Gas" } else if (display == 'Yes' && utility == 'Communication'){ return "Communication " } else if (display == 'Yes' && utility == 'Water'){ return "Water" } else if (display == 'Yes' && utility == 'Drainage Tile'){ return "Drainage Tile" } else { return "Not Displayed (No)" }
... View more
06-26-2020
07:38 AM
|
0
|
7
|
3417
|
|
POST
|
Thank you for the explanation Alix. I can relay this information to our users if they have questions as they use the widget. Thanks again.
... View more
04-27-2020
12:10 PM
|
0
|
0
|
3362
|
|
POST
|
How does the Smart Editor determine which intersecting feature gets pulled into the attributes of a new feature. I am testing the Smart Editor Widget in WAB Developer 2.13. I have a feature service for utility permits (lines) and I have the Smart Editor set up so that when the line is drawn it pulls in the intersecting Section-Township-Range. If I start in section 5 and end in section 6, which value should be pulled in, 5 or 6? The same thing applies to township and range. I've noticed cases where it seems to grab the starting section, but the next feature appears to pull in the ending section number. I swear I've also seen instances where it pulls in the section that contains the largest share of the total line length Is there something else at play?
... View more
04-22-2020
10:27 AM
|
1
|
8
|
3497
|
|
POST
|
I believe we do but I don't know for sure as I have not heard from our few ArcReader users since my original posts. I'm guessing at this point they just know what the best work around is. In the near future we will transition them away from ArcReader maps to a web app.
... View more
02-18-2020
08:36 AM
|
0
|
0
|
1626
|
|
POST
|
Xander Bakker Thank you. I think I found a quick way of doing this without having to mess with the html. Expression3 IIF(IsEmpty($feature.SampleBallotURL),'','To see a sample ballot click ') Expression4 IIF(IsEmpty($feature.SampleBallotURL),'','here') And this in the popup (minus all the other stuff that will go in it).
... View more
01-24-2020
12:04 PM
|
7
|
1
|
18242
|
|
POST
|
I am trying to create an Arcade expression that inserts a hyperlink as text. Is this possible just in Arcade or does this require html formatting in the popup? Field = SampleBallotURL I want my expression to show... If SampleBallotURL is empty or null, return "No sample ballot available at this time." Else (if it's not empty or null) return "Click <a href=Sample BallotURL>here</a> to view a sample ballot." I've tried this, but you can see (in the images), the 'No sample...' portion works but the hyperlink does not appear as text where the condition is false. IIF(IsEmpty($feature.SampleBallotURL),'No sample ballot available at this time.','Click <a href=$feature.SampleBallotURL>here </a> to view sample ballot.') Can somebody point me in the right direction? I've read some other posts that indicate I need to do some html work in the popup but I'm not sure how to do that and get it so that only one of these lines is returned. I should add that when include quotation marks like in a normal <a href> they appear in the popup.
... View more
01-24-2020
08:39 AM
|
1
|
3
|
18894
|
|
DOC
|
Hi Tom Sellsted I updated to Developer 2.13 earlier this week and was informed yesterday that the polyline feature isn't showing/capturing the individual segment length. Instead, it's just providing the total length/perimeter. Are you aware of this or can you replicate it? Below you see 2.12 (left) and 2.13.
... View more
09-19-2019
06:38 AM
|
5
|
0
|
12651
|
|
DOC
|
Thanks for the information and tip, Robert. That works nicely.
... View more
07-30-2019
05:33 AM
|
0
|
0
|
19304
|
|
DOC
|
Robert Scheitlin, GISP Hi. Is it possible to disable the Zoom to and the Clear selected links in the ActionPane or ActionList? I've tried do it via commenting lines 13-16 or 14-15 in widget.html and lines 113-115 in widget.js, but both of those attempts kicked back a load error for the widget. Below is an image showing the problem I'm trying to avoid. The Layer List widget is in the Header Controller while the Popup Panel is On Screen. You can see both are open, with the Layer List 'over' the Popup Panel, but the Zoom to and three dots in the Panel's Action area bleed through. Is there a transparency setting of the on-screen widgets I need to adjust? I'm using 2.12.
... View more
07-29-2019
07:52 AM
|
0
|
0
|
19304
|
|
POST
|
I am working in WAB 2.12 and thought I would put in one post all of the steps needed to accomplish the symbology update (or what works for me) based on the previous posts. Thank you to everybody who has helped. First though, click and vote up this ArcGIS Idea that Greg Bazhaw posted to ask ESRI staff to "Change selection color in Search Widget in Web AppBuilder." It would be great if we could do this in the configuration window or just have an easier way of doing it. Change the Search widget symbology in WAB 2.12 1) Add 'esri/symbols/jsonUtils', to define and add jsonUtils in function according to Robert Scheitlin, GISP post on July 7, 2016 (see here). Changes are on lines 38 and 54. 2) Added lines 324-329 per Kyle Schwizer's post on October 31, 2018, from within this thread. Commented line 327 per David Coley's post on April 10, 2019, also from within this thread. 3) Comment lines 351-386 per David Coley's post on April 9, 2019, also from within this thread. 4) Note - this is NOT a change but I want to point out that Kyle's post from October 31, 2018 also states to comment "this.searchDijit.clearGraphics" (line 492 below). That was already a comment in 2.12. 5) Added "highlightSymbol" settings to the Search config json. See lines 42-57 and remember to add the comma after "query" on line 42 per Robert S. My settings create a red circle around an address point. One tip to pass along is in reference to item 2 above. I have two or three searches configured in all of my apps, some search on a point layer and others on a polygon layer. What I noticed was if I didn't comment line 327 (see item 2) then my polygon searches returned the symbology for the points and polygons. That's illustrated below. I should only be seeing the red parcel border for a parcel search. Commenting line 327 stopped that. (I did not notice any instances where a point search returned both the point and polygon symbology).
... View more
07-23-2019
12:30 PM
|
1
|
0
|
955
|
|
DOC
|
Thanks. I've done a little more testing of the Search and eSearch widgets in the 'new' version of 2.12 on my PC and haven't had any problems. I even copied and pasted the eSearch config from my existing deployed app and it came in just fine. Something apparently is just off with the other 2.12 I have on this PC or I've unintentionally made a subtle change to it that prevents eSearch from operating properly. Thanks again.
... View more
07-22-2019
07:23 AM
|
0
|
0
|
9987
|
|
DOC
|
ArcGIS Server = 10.6.1. We have Portal 10.6.1 installed on another server but we're not running anything off it right now. Everything is coming from AGO or AGS. I installed WAB 2.12 on a laptop last Friday and in a test app there I am able to get all of your default searches to work. Only one of them works in the version on my PC. Weird. My service I'm trying to use in eSearch won't work in WAB on my PC but it seems to be working on the laptop, and the same goes for another service I created this morning to test things further. I am currently installing another instance of WAB 2.12 (in a different location) on my PC to see if I can replicate the problem there. We've been having problems with the speed of the Search widget in our WAB 2.9 apps ever since we had the server updates two weeks ago. Results used to populate within two seconds at worst and now we're waiting 10-15 seconds at times. There were some changes (field length and type I believe) to our parcels layer that pre-dated the server updates but those same searches were running just fine before we went from 10.4.1 to 10.6.1, and the fields that were modified are not field I use for searching. I have an open case with ESRI on that matter. Note that I have overwritten and completely republished our services since we went to 10.6.1, hoping a fresh start on them would cure the issue(s) but to no avail. I'm just trying to eliminate the source(s) of the problem and was curious if you had come across any similar issues. Thanks.
... View more
07-22-2019
06:43 AM
|
0
|
0
|
9987
|
|
DOC
|
Thanks. Do all three of Robert's default searches work when you add eSearch to a new app? I'm most surprised by the fact that only one of three work on my end.
... View more
07-19-2019
06:44 AM
|
0
|
0
|
9987
|
|
DOC
|
Robert Scheitlin, GISP Sorry to reply to my own comment but I want to pass along that I was able to copy and paste the previous Identify config (from 2.9) into 2.12 and have everything work as it was configured. Recall from my first post that I've done that in the past for eSearch and had things been ok, just not this time. Also, a few of the REST endpoints being hit in the Identify widget are also being hit in the eSearch widget, but they're not working eSearch like they are in Identify.
... View more
07-18-2019
10:22 AM
|
0
|
0
|
9987
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-14-2025 09:57 AM | |
| 2 | 11-06-2025 07:33 AM | |
| 1 | 10-15-2025 01:59 PM | |
| 2 | 09-17-2025 11:45 AM | |
| 1 | 03-20-2025 09:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|