Select to view content in your preferred language

New Directions Widget/Component don't work with enterprise routes

301
3
Jump to solution
03-02-2025 10:24 PM
GeoGalvanic
Occasional Contributor

Hi, I've noticed some inconsistencies/broken features with the new directions widget when using a route layer from enterprise. Perhaps it's an issue with our route layer or something else, I'm not sure.

1. The features included in the edit route pane do not work.

2. The "save as" feature attempts to log in to arcgis online to save the layer, instead of using the portal associated with the route layer. I don't set the default portal in the config, maybe that would help. Still, it would be nice to be able to set the portal as a property on the component itself.

3. The "results" button at the bottom displays the text "()" instead of anything meaningful.

GeoGalvanic_0-1740982373909.png

I don't have an ArcGIS online account or any other route layers on hand, so I haven't been able to test changing it out very effectively.

 

0 Kudos
1 Solution

Accepted Solutions
Noah-Sager
Esri Regular Contributor

@GeoGalvanic - another option is to define the routing service to be used. By default it uses AGO. You should define this property in your app:

https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#routeServiceUrl

 

View solution in original post

3 Replies
Stephanie_F
Esri Contributor

Hi @GeoGalvanic if you are able, I suggest creating an Esri Support case to investigate if this deeper https://support.esri.com/en-us/contact

0 Kudos
Noah-Sager
Esri Regular Contributor

@GeoGalvanic - For routing, I believe the default services use ArcGIS Online. So if you do not define a portal, that is what will be used. For an enterprise workflow, I would recommend setting the portal in your app. Let us know if you still run into issues!

0 Kudos
Noah-Sager
Esri Regular Contributor

@GeoGalvanic - another option is to define the routing service to be used. By default it uses AGO. You should define this property in your app:

https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#routeServiceUrl