|
POST
|
That gives me a pop-up, but it's of the point layer in the webmap, not an address. I actually have a Near Me widget which gives me all the info I need from the features. So, I'm just looking for the search widget to give me an address and that's it.
... View more
02-14-2025
07:18 AM
|
0
|
1
|
426
|
|
POST
|
@Laura Changing the color or switching off the highlight doesn't remove the yellow square when you hover over the Near Me results. I don't see anywhere in the Map or Search settings, the only other widgets in my ExB build, to turn it off either. I have no idea where the hover is coming from.
... View more
02-13-2025
08:35 AM
|
0
|
1
|
610
|
|
POST
|
In WAB the District Lookup Widget gives you an address in the map when you search. I'm trying to duplicate this with the Search widget in ExB online version. I'd be open to a custom widget also. I've seen a post or two that asks about this, but I have not found a definitive answer. It seems like the Records created menu would be where the functionality is. I've read somewhere that you should check the box for Set as operational layers, which did not have any effect for me.
... View more
02-11-2025
07:27 AM
|
0
|
3
|
464
|
|
POST
|
No, I wasn't using two widgets when I wrote that. I went over your blog a few more times and it finally does what you'd expect! To hide the additional Search and Near Me widgets I sent them to the back behind the other widgets.
... View more
02-07-2025
12:41 PM
|
0
|
0
|
960
|
|
POST
|
@JeffreyThompson2 I've been referencing your blogs all along, thank you. Yes, the polygon is a school district that's related to the school point. I'm pretty sure I'm following your steps, but... It's a vicious circle. I set the proximity to 1.5 miles in Near Me to get the surrounding schools with an address search, but then the click in the map shows the proximity on the polygon too (which I don't want). If I set the proximity to 0 the search doesn't find any results, but at least the proximity doesn't show up on the polygon when I click the map.
... View more
02-07-2025
08:18 AM
|
0
|
1
|
968
|
|
POST
|
Since the District Look Up widget was discontinued, I've been struggling to recreate it as close as possible in ExB so our non-GIS-user-base does not throw its arms up in confusion at the changes. I've been trying unsuccessfully with the Javascript SDK in numerous ways using the search widget on a feature layer. I've tried the Instant Apps Zone Lookup template; the official replacement. But, I moved on because when I clear search location it only clears the selected points, not the related polygon. Also, the layout leaves a lot to be desired. Working in ExB, the layout/design is whatever you want it to be, but getting the widgets to play nice is another thing. What I have so far is really close to my end goal. I need help with these couple things: I'm using a webmap with point and polygon features that have a related join. In ExB, the Near Me widget Analysis is set to Proximity with a search distance of 1.5 miles. If you search 302 N. Chicago St., Joliet, for example, it functions the way I expect. I have School set as the Search source and as the selected layer in the Near Me widget. But, what's unexpected is when I click the map (on Joliet, for ex.) the distance of 1.5 miles is added to the polygon too. Why? Use map pin and label as on the Zone Lookup Instant App (while at the same time keeping the Map-->Near Me record selection changes).
... View more
02-06-2025
01:36 PM
|
0
|
6
|
1014
|
|
BLOG
|
@JeffreyThompson2 Looks like some data is missing in your demo app.
... View more
02-03-2025
08:33 AM
|
0
|
0
|
2856
|
|
POST
|
In this (hopefully) reproducible example, my search field is "Region". The search shows values of the first field of the table, that being "Sitename L". Is there a way to change the suggestion? let searchWidget = new Search({
view: view,
maxSuggestions: 6,
sources: [
{
layer: fish,
searchFields: ["Region"],
name: "fish",
zoomScale: 500000,
maxSuggestions: 6,
suggestionsEnabled: true,
}
]
}); Search: Table:
... View more
01-13-2025
01:14 PM
|
0
|
1
|
623
|
|
IDEA
|
On top of that, It would be nice to use the related table more seamlessly, like within the rich text editor. Too many clicks, back arrows, exit arrows, etc... as it is now.
... View more
12-30-2024
12:20 PM
|
0
|
0
|
340
|
|
POST
|
I'm using Pro v. 3.3.2. And what @MattRummel said worked for me too. Under Unplaced labels, check Never remove and then zoom out to a level where all your labels are showing. If you don't zoom out it only converts the labels in view. Next, in the Convert Labels To Annotation pane set the conversion scale to whatever works best. I set mine to 1:18,700 because that's the 1 to 1 in my map layout.
... View more
12-16-2024
02:17 PM
|
0
|
0
|
463
|
|
POST
|
https://support.esri.com/en-us/bug/unable-to-access-or-edit-the-metadata-in-arcgis-pro-thr-bug-000129839 I'm using Pro v. 3.3.2. It looks to be fixed as of June 2024. I ran this on a Pro project in my code editor. The Nones you see are only because the metadata is missing. import arcpy
aprx = arcpy.mp.ArcGISProject(r"pathtoAPRX\COUNTY_BOARD_A.aprx")
for m in aprx.listMaps():
for l in m.listLayers():
layer_metadata = l.metadata
nl = "\n"
try:
print(f'title: | {layer_metadata.title}')
print(f'desc: {layer_metadata.description}')
print(f'summary: {layer_metadata.summary}')
print(f'tags: {layer_metadata.tags}{nl}')
except AttributeError as e:
print(e) title: | None
desc: None
summary: None
tags: None
'bool' object has no attribute 'title'
'bool' object has no attribute 'title'
'bool' object has no attribute 'title'
'bool' object has no attribute 'title'
'bool' object has no attribute 'title'
'bool' object has no attribute 'title'
title: | gisedit.DBO.Ref_County_Limits
desc: This boundary file has no other pupose than to represent Will County's limits. There are no attribute data besides Esri's internal fields.
summary: None
tags: None
title: | gisedit.DBO.Ref_Surrounding_Counties
desc: Surrounding County Boundaries. US Census data is included in the attribute table.
summary: None
tags: None
title: | Townships
desc:
summary: None
tags: None
title: | gisedit.DBO.Street
desc: Right-of-Way (ROW) centerlines that has the street name within the segment and located within Will County. The data entered is by some type of governmental documentation (recorded plat, ordinance, plat of dedication/vacation, etc.). This layer is continually updated by the Will County 9-1-1 GIS Department. There is a ½ mile buffer of streets outside of Will County and could be incorrect.
summary: None
tags: None
title: | CountyBoard
desc:
summary: None
tags: None
... View more
11-21-2024
10:55 AM
|
0
|
0
|
738
|
|
POST
|
[esri.renderers.RasterStretchRenderer] DEPRECATED - Property: statistics
️ Replacement: customStatistics
Version: 4.31 I updated my CDN from 4.27 to 4.31 and now I'm getting this warning. I think it's coming from the imagery2024 constructor. I don't have any statistics set in the code as my layers are in webmaps. I'm unsure how to fix it. Codepen <link rel="stylesheet" href="https://js.arcgis.com/4.31/esri/themes/light/main.css" />
<script src="https://js.arcgis.com/4.31/"></script>
<script>
require(["esri/Map",
"esri/views/MapView",
"esri/widgets/Search",
"esri/widgets/Locate",
"esri/widgets/LayerList",
"esri/layers/ImageryLayer",
"esri/widgets/Legend",
"esri/widgets/Expand",
"esri/widgets/Swipe",
"esri/WebMap",
"esri/layers/support/RasterFunction",
], (Map, MapView, Search, Locate, LayerList, ImageryLayer, Legend, Expand, Swipe, WebMap, RasterFunction) => {
//webmap IDs
const webmapids = [
"e67a8eb6768641c19d4a7c5df394dbf4", //DTM
"bfc5b0242adb42bfb0fc41e54497dfc8", //DSM
"6ed3d2e495db4e859a73d2a32ce3d576", //HEDEM
"d653b18bc941458491e06e657e10f393", //Intensity
"a9ab25b1c7204764b2fabad6fc7a4635", //IR
"e6bab92ebc524072a3305ec8f128e8f8", //Soil
"2f9acebfb8db4e10bb6dddab8d3239c7", //ClosedDepressions
];
/************************************************************
* Create multiple WebMap instances
************************************************************/
const webmaps = webmapids.map((webmapid) => {
return new WebMap({
portalItem: {
// autocasts as new PortalItem()
id: webmapid,
}
});
});
// add image services used in the swipe map
const imagery2024 = new ImageryLayer({
url: "https://gis.willcountyillinois.com/image/rest/services/Orthoimagery/Orthos_2024_3IN/ImageServer",
rasterFunction: [],
renderer: {
type: "raster-stretch", //I added this while debugging: no difference
}
});
webmaps[0].add(imagery2024);
/************************************************************
* Initialize the View with the first WebMap
************************************************************/
const view = new MapView({
map: webmaps[0],
container: "viewDiv",
constraints: {
maxScale: 500,
minScale: 300000,
}
});
console.log('construct the view')
... View more
11-13-2024
09:09 AM
|
0
|
1
|
482
|
|
POST
|
@TonyAlmeida After implementing your suggestion, I did some further debugging and found the problem. These two parameters require a space after the separator when imputing multiple values, and I wasn't doing that. oldList = Old_Text.split(', ') newList = New_Text.split(', ') So, if you have a space in the split() function then you need to put it after the parameter value too. Also, make sure your old text matches your existing layout text element or else it won't be found. Working in Pro 3.3.2 import arcpy
import os
arcpy.env.overwriteOutput = True
#workspace folder
arcpy.env.workspace = ws = arcpy.GetParameterAsText(0)
Old_Text = arcpy.GetParameterAsText(1)
oldList = Old_Text.split(', ') #split into a list, use comma and space as separator
New_Text = arcpy.GetParameterAsText(2)
newList = New_Text.split(', ')
f = arcpy.ListFiles("*.aprx")
for aprxname in f:
aprx_path = os.path.join(ws, aprxname)
aprx = arcpy.mp.ArcGISProject(aprx_path)
for lyt in aprx.listLayouts():
for elm in lyt.listElements('TEXT_ELEMENT'):
counter = 0
for text in oldList:
if text in elm.text:
elm.text = elm.text.replace(text,newList[counter])
arcpy.AddMessage(f'{aprxname} | updated to: {elm.text}')
counter = counter + 1
else:
counter = counter + 1
aprx.save()
... View more
11-07-2024
12:05 PM
|
0
|
0
|
1006
|
|
POST
|
Thought you had something there. I changed that at some point while debugging and forgot to put it back the way it was. Didn't make a difference.
... View more
11-07-2024
10:42 AM
|
0
|
1
|
1031
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 4 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 10-22-2025 02:14 PM | |
| 1 | 01-17-2019 08:21 AM | |
| 1 | 07-06-2023 07:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|