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.
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.
Solved! Go to Solution.
@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
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
@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!
@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