Using the web app builder I have created an application in which I would like to include the A to B driving directions widget for all users of the map. Unfortunately, when I test the app without being logged in to my organizational account, the driving directions tool redirects to a login page. After many hours of mucking about I cannot figure out how or where to configure the application so that my end users can create driving directions without needing an online account.
Here's the app:
http://ridemgis.maps.arcgis.com/apps/webappviewer/index.html?id=e95b2c324fc446d28a44538b0ad056c7
Hi Michael,
Yeah i had posted this after Robert's comment. Seeing how Paul is using web appbuilder online, I modified my comments to discuss what could be, above
Cheers.
Hi Aravind,
Unfortunately Paul stated " But I'm not running the app locally". as in not using IIS.
If Paul was, I dont think there would be an issue.
Thanks Again - I'll keep plugging away it this!
I found some guidance here:
http://doc.arcgis.com/en/arcgis-online/reference/arcgis-server-services.htm#ESRI_SECTION2_D93695CA3A384D50990888F81FF93C05
"When you want to share Esri premium content in apps that support anonymous access, for example, a public site locator app that includes the Esri World Route Service, you can follow a similar workflow to sharing your own secure services. Add the Esri service item as a new item to your My Content and follow the rest of the steps above. Be sure to share the item with everyone (public)."
I've followed these steps and still get prompted for credentials when not logged in.
Paul,
This is out of my area of expertise then. I would give tech support a call on this.
Hi Robert - thanks for info. Is this the only way?
The note at the top of the post just before step one says that the proxy page must be located on the same server as my javascipt application. But I'm not running the app locally. It runs off ESRI's servers using layers I've published through our State's Enterprise GIS.
Thanks!
PJ
Just to add to Robert's point, remember to convert the proxy folder in your IIS to a defaultapppool application if you haven't.
You will have to setup a proxy on your web server to do the user validation to your org for you as the routing takes credits.
See this whole blog post but specifically step 11.
Setting up a Proxy | Support Services Blog
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.