|
POST
|
Hi Johannes thanks for helping me on this. I modified my expression accordingly and when I tried it in the web map.... nothing.... Then I decided to try it in the Field Maps app and it was working just fine (new record and updating existing record). I then tried to create and Experience Builder app to see how it would behave... same as web map, Empty FUID field. Any idea why it's not working properly in the web map? For this project, my users will enter/modify data either through a web map or experience builder app. Thanks!
... View more
11-23-2022
07:24 AM
|
0
|
3
|
6545
|
|
POST
|
Hello I have the following Arcade code to create a new Unique ID on a feature layer (hosted on ArcGIS Server). It's working fine for a NEW record, but if I try to select an existing record, it will update the UID field with the next available number. How can I avoid to overwrite an existing value? Thanks for any help you could provide. D var fs=FeatureSetByName($datastore,'dr_testPts',['FUID'],false);
var cCurrentFUID = $feature.FUID
var fFilter = Filter(fs, 'FUID IS NOT NULL');
var fMax = 0
var tMax = 0
for (var k in fFilter){
fMax = Max(Right(k.FUID, Count(k.FUID)-3))
tMax = When(fMax>tMax,fMax, tMax)
}
tMax +=1
var vNewFUID = "EOC" + text(tMax, "00000")
if (IsEmpty(cCurrentFUID)){
return vNewFUID
} else {
return cCurrentFUID
}
... View more
11-22-2022
12:10 PM
|
1
|
14
|
8229
|
|
POST
|
Hello Everyone Any updates on this BUG? I get the same error message but not on all web maps I am trying to load into Teams....
... View more
11-09-2022
06:14 AM
|
0
|
0
|
4133
|
|
POST
|
Ok I solved my own problem: 1) I added a Filter on my Feature layer to get one Site Location the time fExpression = "FUID='" + f.attributes['FUID'] +"'"
SLHFL.filter = fExpression and then , after I ran the buffer I am adding the new feature to my Buffer Layer using the following code buffLyr = use_proximity.create_buffers(SLHFL, distances=[dDist], units = 'Feet')
#Append to Buffer HFL
BufferHFL.edit_features(adds=buffLyr.layer.featureSet.features) working great!
... View more
11-04-2022
01:41 PM
|
0
|
0
|
1447
|
|
POST
|
Hello I have an AGOL item with 3 layers: Site Location (pts), Site Buffer (poly) and Site Area (poly). The Site Area has a field with a Distance value that I would like to use to create my buffers (different value for each area). So in my Notebook, I have a piece of code that select all the Site Location where the BufferFlag='N' then I intersect each of the records with my Site Area to get the proper value of the Distance to create the buffer…. AND THEN I AM STUCK! below is the section of code that I can't figure it out.(line 15 to 20) i=0
###for each Site Location WORKING
for f in SLHFLcount:
print(f.attributes['FUID'] + ' -- '+ f.attributes['BufFlag2'])
ptFeat = SLHFLcount.features[i].geometry
print(ptFeat)
print("~~~~~~~~~")
###Intersect with my Site Location WORKING
AreaHFLqry = AreaHFL.query(where='1=1', geometry_filter=filters.intersects(ptFeat))
print(len(AreaHFLqry))
if len(AreaHFLqry) >=1:
AreaHFLqryFeatures = AreaHFLqry.features
print(AreaHFLqryFeatures[0].attributes['Area1']+ ' -- '+ AreaHFLqryFeatures[0].attributes['Area2'] + ' -- '+ str(AreaHFLqryFeatures[0].attributes['Dist']))
###Create individual buffers NOT WORKING
dDist = AreaHFLqryFeatures[0].attributes['Dist']
buffLyr = use_proximity.create_buffers(SLHFL, distances=[dDist], units = 'Feet',output_name=BufferHFL)
#buffLyr_fc = buffLyr.layer
#print(buffLyr_fc)
map1.add_layer(BufferHFL)
###update BufFlag to Y
#strExpression = "FUID='"+str(f.attributes['FUID']+"'")
#SLHFL.calculate(where=strExpression,calc_expression={"field":"BufFlag2", "value": "Y"})
else:
print("we don't have a polygon yet")
i +=1
print("----------------")
print("Process completed") How can I create the buffer JUST for that selected Site Location and append the buffer to my Site Buffer layer? Any help would be much appreciated. Thanks!
... View more
11-03-2022
01:55 PM
|
0
|
1
|
1489
|
|
POST
|
I am not familiar with squarespace but if you can add a HTML tag in you code, the following code should do it: <iframe frameborder="0" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px" height="100%" width="100%"
src="https://cityofamesgis.maps.arcgis.com/apps/dashboards/5367247413a24b0784414e7f18eb5b97"></iframe> the final product is accessed through the following HTML page https://gis.cityofames.org/images/AFD/AFDburnpermits.html
... View more
10-11-2022
11:19 AM
|
2
|
6
|
15053
|
|
POST
|
Hello while in edit mode, if you click and hold the C key, you will be able to move around. Below is the list of all the short cuts in AGS pro. https://pro.arcgis.com/en/pro-app/latest/get-started/arcgis-pro-keyboard-shortcuts.htm
... View more
10-10-2022
12:03 PM
|
1
|
1
|
5235
|
|
POST
|
I didn't realized he needed the geometry... this one will returns all the records select * from COA_CEMETERY_SECTIONS
where OBJECTID in(select UID from
(
select l.*, s.SECTION_NAME,s.SUB_SECTION_NAME,s.SUB_SUB_SECTION_NAME,s.OBJECTID as UID
from
(select
OBJECTID,Shape,Name
from COA_CEMETERY_BURIAL_SITES where Name='Limited Sale') as l
cross JOIN
(select * from COA_CEMETERY_SECTIONS) as s
WHERE (s.Shape.STContains(l.shape.STCentroid()) = 1)) t
group by t.UID)
... View more
10-04-2022
12:17 PM
|
0
|
0
|
4131
|
|
POST
|
here an example: I have Burial sites flagged as Limited Sales. I want to know where in the Cemetery Which Sections) So I use this query to create custom reports. Is that what you were looking for? select SECTION_NAME, COUNT(*) as RecCount
from
(
select l.*, s.SECTION_NAME,s.SUB_SECTION_NAME,s.SUB_SUB_SECTION_NAME,s.OBJECTID as UID
from
(select
OBJECTID,Shape,Name
from COA_CEMETERY_BURIAL_SITES where Name='Limited Sale') as l
cross JOIN
(select * from COA_CEMETERY_SECTIONS) as s
WHERE (s.Shape.STContains(l.shape.STCentroid()) = 1)) t
group by t.SECTION_NAME
... View more
10-04-2022
11:36 AM
|
0
|
2
|
4140
|
|
POST
|
hello would this works for you: search_result = gis.content.search("*", item_type = "Web Map", max_items=2000)
print(len(search_result))
t = len(search_result)
while i <t:
print(i)
print(search_result[0])
print(" "+str(search_result[0]['title']) +" "+ str(search_result[0].id) + " -- "+ str(len(search_result)))
search_result.pop(0)
i+=1
... View more
09-26-2022
07:23 AM
|
0
|
0
|
1602
|
|
POST
|
Seems like my issues have been resolved as well with the latest patch (initial patch didn't worked for us). My data source is SQL Server 2016 with ArcGIS Server 10.8. Thank you ESRI
... View more
07-05-2022
06:12 AM
|
0
|
0
|
1861
|
|
POST
|
Still not working for me. As other have mentioned previously, it's VERY frustrating and disappointing from ESRI as we all rely on their technology to be reliable and consistent from one version to the other. I have zero interest in re-building dozen of dashboards (in house and public) each time ESRI release an update. Please ESRI, fix it ASAP!
... View more
06-29-2022
07:07 AM
|
1
|
0
|
1893
|
|
POST
|
Hello I am trying to create an input connector to get the Geoevent REST Admin API calls (using Poll an External Website for JSON, version 10.8.1). I get what I am looking for in Postman (Returns the token and expires value) but I am not sure how/where to setup the Parameters info in the Input Connector. Should I put the Parameters info in the Parameters section or change the Post From: section from Content Body to Parameters and then put the info there Any help would be much appreciated. Thanks!
... View more
05-25-2022
03:40 PM
|
0
|
1
|
886
|
|
POST
|
Hello I am creating a survey for volunteers to register for a specific event. The event has multiple days, multiple time slots and multiple positions per time slots. I was able to use cascading select to get all that working fine, the only thing remaining is to LIMIT the number of volunteers to register for a specific job. and because the survey will be public, I can't use a JavaScript function... My question is: Once 2 volunteers register for that task below, how can that job NOT be available in my position dropdown? DAY, TIME SLOT JOB MAX VOL NEEDED July 29, 6:00 PM-10:00PM, Overnight Security, 2 this is what I could use as a lookup table: Any help would be much appreciated. Thanks!
... View more
05-11-2022
07:36 AM
|
0
|
0
|
619
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 13 | 06-29-2026 12:07 PM | |
| 1 | 03-26-2026 01:47 PM | |
| 1 | 08-05-2024 06:19 AM | |
| 1 | 06-11-2025 08:07 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|