Near Me widget not seeing feature layers (imported as custom widget to Enterprise 11.1 ExB)

734
6
02-10-2024 04:26 AM
ShelbyZelonisRoberson
Occasional Contributor III

Hi! My organization is running Enterprise 11.1 and the 11.1 version of Experience Builder (NOT the dev edition).  I need to use the new NearMe widget so we followed the instructions here https://doc.arcgis.com/en/experience-builder/11.1/configure-widgets/add-custom-widgets.htm  to add the Near Me widget as a custom widget. We used the Near Me widget code found in the 1.13 version of ExB developer edition: https://developers.arcgis.com/downloads/#arcgis-experience-builder

I'm able to see the Near Me widget as an option in ExB, and I can add it to a page. However, when I go to connect it to ANY map, I get the error "This map does not contain any feature layers". Screenshot attached. I even did a test with a new map that just has Esri World Cities in it; still didn't work. 

I feel like we are so close to getting this working -- any ideas what our issue could be? Thank you!

 

6 Replies
JeffreyThompson2
MVP Regular Contributor

Near Me was originally released in the 1.12 version of Experience Builder. ArcGIS Enterprise 11.1 is running the 1.10 version of Experience Builder. I can't say for certain what kind of issues you may have trying to run a 1.13 widget in a 1.10 version environment. It may not be possible without extensive customization.

The first thing I would try is to open the manifest.json in Near Me and change the version and exbVersion to 1.10.0.

JeffreyThompson2_0-1707746401005.png

 

GIS Developer
City of Arlington, Texas
0 Kudos
ShelbyZelonisRoberson
Occasional Contributor III

Thanks! I was told by Esri that we could do this. I'll try your suggestion. 

0 Kudos
ShelbyZelonisRoberson
Occasional Contributor III

Just updating the post to say that this did NOT work. 

0 Kudos
JeffreyThompson2
MVP Regular Contributor

Just to be certain, you are using a feature service/layer, not a map service/layer? It can be hard to tell them apart sometimes. https://support.esri.com/en-us/knowledge-base/faq-what-is-the-difference-between-a-map-service-featu....

It is possible to convert a MapService to a FeatureLayer within the Web Map Viewer, if you need to do so.

GIS Developer
City of Arlington, Texas
0 Kudos
ShelbyZelonisRoberson
Occasional Contributor III

Yep! 100% positive these are feature services.

0 Kudos
YanivSade
New Contributor

@ShelbyZelonisRoberson 
Hi, Shelby, Is there any chance you can send the ZIP containing the widget?
We need to use it in Portal Enterprise 11.1 as well, I will do my best to make it work.

Thank you,
Yaniv

0 Kudos