POST
|
This will work if you replace single apostrophes with double apostrophes (and I mean double apostrophes, not quotation marks) in your python code. So your variable would be p1.filter.list = ["a", "b", "don''s c", "d"]. I know, it's kind of weird, but so it is. Best of luck!
... View more
01-27-2021
04:38 PM
|
0
|
0
|
2612
|
POST
|
I am trying to add a side panel to my scrollable Experience Builder in a way that overlays a map to maximize map real estate on the page once users have selected filters within that side panel. I'm finding that I'm only able to have the side panel overlay the map if I either pin the side panel (not ideal as it remains in place as you scroll down the page), or if I embed both the side panel and the map into a fixed panel. The kicker with that latter solution is that it disables expected map behavior, making clicking, scrolling, and dragging around the map inconsistent and not responsive most of the time. It seems that some of this problem is a product of having a scrollable template, as our organization has a simpler, fullscreen Experience Builder app that features side panel over a map without issues. Have others run into this problem and have a solution?
... View more
01-07-2021
12:34 PM
|
5
|
2
|
927
|
IDEA
|
In Web AppBuilder, you can easily disable the default setting to save & re-load previous app state, making it so that when users refresh or re-load the app, they begin with a clean slate. In Experience Builder, this same option isn't available. Users for an Experience Builder I'm developing have expressed frustration that when they refresh the browser and they see their previous List widget selections applied. Can we implement the same ability to disable this default setting in Experience Builder as exists in Web AppBuilder? Thank you!!
... View more
01-07-2021
10:31 AM
|
7
|
2
|
714
|
POST
|
You can do this with two Lists an a trigger action set on the first List. The first List would be your counties, and your second list would be the associated programs. You would set up a trigger on the counties List to filter the framework, including the associated programs List, based on a key field between the two tables (this does make the Query Table moot for the Experience Builder). I have a similar set up to handle a few one-to-many cases between feature services with one of my Experience Builder pages. See the result of this pictured below: First list selection applied, with the result in the second list: Hope that's helpful!
... View more
01-07-2021
10:20 AM
|
1
|
0
|
759
|
POST
|
Hi David, I have two list widgets in a draft Experience Builder that don't have selections upon initial load, but once people start adding their selections and filters, refreshing the page retains these selections and filters. This preservation of previous app states is unexpected behavior for my organization's users. I'm not sure why it's behaving differently for me compared to you, however, as @WeiYing1 mentions it's a known limitation... You can verify with this link. The three region options and the areas tab are both list widgets. I didn't select anything in the configuration that I know of... but I'll let you know if something jumps out. Either way, we need a way to disable the storing previous states behavior when the browser is refreshed...
... View more
01-07-2021
10:00 AM
|
0
|
4
|
3317
|
POST
|
Hi David, Any updates with this bug? Many thanks, Emma
... View more
01-07-2021
09:44 AM
|
1
|
0
|
1920
|
POST
|
This would be very helpful for my organization as well!! This is been one of the sticking points for my organization in adopting a public-use sport fishing locations explorer built using Experience Builder. While applying filters works well for people, they are getting hung up on when they want to change filter parameters because they have to remember to click all of their previous selections to disable them. A simple "reset" option would go a long way for user-friendliness.
... View more
01-07-2021
09:42 AM
|
0
|
0
|
1672
|
POST
|
I just tried to iteratively build a set of tables using the code I posted below, and it returns nothing... var main = FeatureSetByRelationshipName($feature,"Remote_Releases",["FACILITY","AGENCY","SPECIES","MIN_BROOD_YEAR","MAX_BROOD_YEAR","TOTAL_RELEASED"]) var fltr = OrderBy(Filter(main,"TOTAL_RELEASED > 0"), 'MAX_BROOD_YEAR DSC') var rList = '<table><tbody>'; for (var r in fltr){ rList += TextFormatting.NewLine + '<table><tbody> <tr><th>Species: ' + r.SPECIES + ' - Agency: ' + r.AGENCY + '</th></tr> <tr><td>Brood Years: ' + r.MIN_BROOD_YEAR + '-' + Text(r.MAX_BROOD_YEAR) + "</td></tr> <tr><td>Total Released: " + Text(Round(r.TOTAL_RELEASED), '#,###') + '</td></tr> </tbody></table>' }
... View more
11-05-2020
09:57 AM
|
0
|
1
|
3038
|
POST
|
Quick update-- it's shared with you now, and the map extent trigger is back on so you can see what's happening. This time around, it looks like the filter from the area list selection (list one) gets applied briefly, then is undone by the map extent trigger as the map zooms in.
... View more
10-02-2020
12:23 PM
|
0
|
2
|
1979
|
POST
|
Hi David, Thanks for the reply! Yes, you are correct. One list should filter both the map and second list, and that works. What isn't working is that the extent query then overrides the filter triggers on list one, so list two will show areas outside the list one selection, but the map filter from list one is retained. I disabled the map triggers for our users temporarily, but I will re-enable and share so that you can see how the two don't work together. Thanks, Emma
... View more
10-02-2020
12:10 PM
|
0
|
0
|
1979
|
POST
|
The map extent trigger to filter the framework is overriding framework filters set by the list widget. The list widget triggers successfully filter the map, but the map zoom trigger set on the list widget initiates the map extent trigger to ignore the data filter setting. I would expect the user to only then see the data visible in the map reflected in the rest of the framework, and have the extent changes work with only that visible data. Instead, it appears I can't have both-- each works very well separately, but they don't play well together. I posted more about this here: https://community.esri.com/message/956578-possible-bug-experience-builder-map-extent-triggers-override-list-filter-triggers
... View more
09-30-2020
04:27 PM
|
0
|
0
|
879
|
POST
|
I am working with Experience Builder to allow our users to either query the framework using filter triggers set by a list widget, or simply use the map extent to query the framework. The expected behavior is that both methods of filtering would work together, so if someone both selected an area from the list, then zoomed in further, they would first see a filtered map and framework, and their zooming action would further refine the results on the page. Right now, the first list triggers will only work if I do not set the map triggers to filter the framework by extent. It appears I can't have both. The extent trigger is essentially overriding the list widget filter triggers. Here is a snapshot of what's happening. In the picture, you should only see locations in Ketchikan. But instead, the second list view includes sites from the full extent and including locations from Prince of Wales, even though they are filtered out and not visible in the map: Here is snapshot of the list and map widget triggers: Anyone have thoughts on this? Am I missing a way to ensure that the list triggers are still honored if set?
... View more
09-30-2020
12:25 PM
|
0
|
6
|
2049
|
POST
|
As I was testing out Experience Builder, I created some draft page layouts, and was exploring how duplicating works with multiple section widgets on pages. I deleted the former maps and draft pages as I decided on a format, and now in the List Widget, trigger action target list show that a memory of the past maps were retained from deleted maps (no idea how so many ever existed, but so it is) and are listed as trigger target options. I verified in the right pane/table of contents that I do, in fact, only have 5 give web maps across my three pages. But I have many, many more maps listed as targets in the pictured list. Any ideas on how to delete these if they are nowhere in my framework beyond this widget's trigger target list?
... View more
09-22-2020
12:49 PM
|
0
|
0
|
313
|
POST
|
Hi Marisa, I'm trying to export a survey to a file geodatabase and am running into problems with the export_format strings. The documentation doesn't have much in terms of what the strings actually need to be. I tried using "File Geodatabase" as my export format, and I get the error below: Here is the code that generated that error: import arcgis
from arcgis.gis import GIS
from arcgis.apps.survey123 import Survey, SurveyManager
import os
gis = GIS("https://adfg.maps.arcgis.com", 'username', 'password')
tbl_path = r"C:\Data\SurveyDownload_" + str(today).replace("-","_")
if not os.path.exists(tbl_path):
os.mkdir(tbl_path)
sm = SurveyManager(gis)
survey = Survey(survey123_form, sm)
survey123_form = gis.content.get("2ea1bdb67eda442eac567b15edd1181a6")
survey123_form.download(export_format = "File Geodatabase",
save_folder = os.path.join(tbl_path))
... View more
08-06-2020
05:18 PM
|
0
|
0
|
888
|
POST
|
I also have this question! I'd like to create a nicely-formatted table for a one-to-many relationship, and only add table rows for the number of values. The rows per feature vary from 1 to 15. Right now, I have to do this using a list in Arcade: var main = FeatureSetByRelationshipName($feature,"Remote_Releases",["FACILITY","AGENCY","SPECIES","MIN_BROOD_YEAR","Max_Year","TOTAL_RELEASED"])
var fltr = OrderBy(Filter(main,"TOTAL_RELEASED > 0"), 'Max_Year DSC')
var rList = '';
for (var r in fltr){
rList += TextFormatting.NewLine + '-(' + r.AGENCY + ' ' + r.MIN_BROOD_YEAR + '-' + Text(r.Max_Year) + ") " + r.SPECIES + ": " + Text(Round(r.TOTAL_RELEASED), '#,###') + ' released'
}
return rList This produces a list of values as shown below: What I'd really like to do instead of iteratively creating a list based on the number of releases at a site, is iteratively create rows in a table so that this pop-up is more consistently formatted like the rest of my custom pop-ups in the map: I tried out the conditional formatting display option with no luck, since once you're beyond the maximum releases for a given site, the attempt to index the value returns an out of bounds error. Is this capability on the horizon for Arcade?
... View more
05-06-2020
09:38 AM
|
1
|
0
|
3038
|
Title | Kudos | Posted |
---|---|---|
1 | 01-07-2021 09:44 AM | |
1 | 08-27-2021 09:29 AM | |
1 | 06-09-2021 09:49 AM | |
1 | 08-24-2021 10:44 AM | |
1 | 06-09-2021 09:41 AM |
Online Status |
Offline
|
Date Last Visited |
02-13-2024
02:29 PM
|