|
POST
|
We are mostly still in WAB as ExB is still missing so many things. We are building and testing now though. But using the latest on AGOL the widget does not respect selections from the selection widget. This was listed as a known issue fixed in 11.4 posted here https://community.esri.com/t5/arcgis-experience-builder-questions/use-selected-features-as-input-to-analysis-tool/m-p/1396535 But we are using AGOL so not sure what that has to do with server? The one spot said to use Set as Analysis input. I do that and again it still has all the features and not what is selected. Well wait it works from some places and not others. It seems similar to WAB in a way. If I select using the select widget it gets ignored. If I select in the widget then use set as input it works. If I select then Set as from the layers list also ignored. Been confusing to users. thanks a lot
... View more
02-06-2025
07:10 AM
|
0
|
0
|
1442
|
|
POST
|
@Robert_LeClair Not sure why I just saw this but I do have it set to User defined and it still does not work. Note bug in Pro that you have to set this manually AND you have to reset it on every single Overwrite publish. So I know I do it. ExB same deal. This is driving users nuts. Any other things to try? Update testing again and a selection in the attribute table does work but when using the Select tool it does not work. Even though the same button.
... View more
02-05-2025
03:14 PM
|
0
|
2
|
1454
|
|
POST
|
I thought I had this figured out but it came back again. In Pro if you try to set symbology outside the layer values it gets mad. This is actually highly annoying because then we can never set consistent colors. In code it seems to let me do it unless the scale is really small. Like -0.0003 to 0.0003 the classify values below with fail. Again highly annoying. So here I try to set 10 breaks. If that fails I default to generic symbols. Again I really do not want to do that as then the user cannot compare anything. sym = rasterLayer.symbology
sym.updateColorizer('RasterClassifyColorizer')
# was Condition Number
sym.colorizer.colorRamp = project.listColorRamps('Prediction')[0]
sym.colorizer.classificationField = "Value"
sym.colorizer.breakCount = 10
#sym.colorizer.noDataColor = {'RGB': [255, 255, 255, 100]}
# manual breaks
# this will fail on small time periods
if len(sym.colorizer.classBreaks) == 10:
sym.colorizer.classBreaks[0].upperBound = -100
sym.colorizer.classBreaks[0].label = "Over -40%"
sym.colorizer.classBreaks[1].upperBound = -40
sym.colorizer.classBreaks[1].label = "-30% to -40%"
sym.colorizer.classBreaks[2].upperBound = -30
sym.colorizer.classBreaks[2].label = "-20% to -30%"
sym.colorizer.classBreaks[3].upperBound = -20
sym.colorizer.classBreaks[3].label = "-10% to -20%"
sym.colorizer.classBreaks[4].upperBound = -10
sym.colorizer.classBreaks[4].label = "0% to -10%"
sym.colorizer.classBreaks[5].upperBound = 10
sym.colorizer.classBreaks[5].label = "0% to 10%"
sym.colorizer.classBreaks[6].upperBound = 20
sym.colorizer.classBreaks[6].label = "10% to 20%"
sym.colorizer.classBreaks[7].upperBound = 30
sym.colorizer.classBreaks[7].label = "20% to 30%"
sym.colorizer.classBreaks[8].upperBound = 40
sym.colorizer.classBreaks[8].label = "30% to 40%"
sym.colorizer.classBreaks[9].upperBound = 100
sym.colorizer.classBreaks[9].label = "Over 40%"
else:
arcpy.AddMessage("Warning Trend Rasters may not work with short time frames. Trying reduced symbols.")
sym.updateColorizer('RasterStretchColorizer')
sym.colorizer.colorRamp = project.listColorRamps('Condition Number')[0]
sym.colorizer.stretchType = "StandardDeviation"
rasterLayer.name = "Total Change"
rasterLayer.symbology = sym But today we had a case where the value range was -7 to 8 and the breaks did set to -40 to 40 like I want BUT the entire map all draws at a single color. So my check to look for not 10 breaks fix fails. If I ask it how many breaks it does say 10. And my bounds are correct. Worse it sets the color to the first blue - so now the user thinks its all in the >-40% category. Any ideas on how to fix this? I am pretty confused why symbology will not let me set anything I want. We cannot have all the maps using a different color scale. That is weird. thanks
... View more
02-05-2025
02:10 PM
|
0
|
4
|
2638
|
|
POST
|
What I do is have the package on the network then use sys.path.append(path to dir of packages) before the import. Works slick. We can't install any packages so your way would not work for us.
... View more
02-05-2025
01:59 PM
|
0
|
0
|
1504
|
|
POST
|
What is going wrong? Is it a crash? I do know that if you try to run First on an empty set then it will crash. So you need to check the intersect for IsEmpty before you try First. So more like this var County_Parks = featuresetByName($map, 'County_Parks', ['Parent_Asset_ID']) // Intersect the current location with the County_Parks and var County_Parks = Intersects($feature, County_Parks) // If the current location does intersect a feature, // return the name of the County_Park. Otherwise, return null if (!IsEmpty(County_Parks)) { return First(County_Parks)['Parent_Asset_ID'] } else { return null }
... View more
02-05-2025
01:45 PM
|
0
|
1
|
1298
|
|
IDEA
|
@JordanCarmona no sorry that was my last job actually. I was just trying to do a simple field list from a given layer but WAB cant do that anyway.
... View more
02-03-2025
04:08 PM
|
0
|
0
|
1073
|
|
POST
|
Well just found my own post.. almost 10 years later and I still need it and it is still not there.
... View more
02-03-2025
02:49 PM
|
0
|
0
|
1408
|
|
IDEA
|
And then 3.3 has a bug where it is not respecting the list of who can publish GP tools so it is limited to admins only. So I still cannot actually fix this. Sigh.
... View more
02-03-2025
01:33 PM
|
0
|
0
|
1088
|
|
POST
|
Then you would need to use selected-at probably. Pull out each value that way, then recombine using concat. I do this and write out the max possibilities. If it is blank just nothing shows. But this may give you trailing commas. This code also gets the label vs the name. Seems like a lot of work just to add a comma though. concat(jr:choice-name(selected-at(${Rash1},0), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},1), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},2), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},3), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},4), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},5), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},6), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},7), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},8), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},9), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},10), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},11), '${Rash1}'), ' - ', jr:choice-name(selected-at(${Rash1},12), '${Rash1}'), ' - ', ${Q1UserNotes})
... View more
01-31-2025
07:25 AM
|
0
|
0
|
1958
|
|
POST
|
It may be do to wrapping it in the concat. Some functions do not like that. Try separating the join into its own field then use that field in the concat.
... View more
01-31-2025
06:31 AM
|
0
|
2
|
1964
|
|
POST
|
If you have any options to escalate the bug via your support please do. ENH-000130624 and BUG-000146406 : Upper and lower case globalids
... View more
01-31-2025
06:28 AM
|
0
|
0
|
1876
|
|
POST
|
You need a 1 to 1 lookup key is all. Right now your csv has no unique lookup key is why you are stuck. Its like going into a room and saying Jamie raise your hand - and 4 people do. But if you say first, middle, and last name then it works. Hope that makes more sense. For you just make a column with all 3 together. Then in your form use a concat field to also combine. Then use this for your lookup. Give it a shot it will probably click on a test.
... View more
01-30-2025
02:31 PM
|
0
|
3
|
4036
|
|
IDEA
|
Have you tried this setting on the Collaborate tab?
... View more
01-30-2025
07:58 AM
|
0
|
0
|
1236
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 1 | Wednesday | |
| 1 | Wednesday | |
| 1 | Wednesday | |
| 3 | 2 weeks ago |
| Online Status |
Online
|
| Date Last Visited |
Thursday
|