Service Proxies for ArcGIS Online Routing and Traffic

2177
12
Jump to solution
10-25-2016 07:16 AM
deleted-user-CQZbjNeBXm49
Occasional Contributor III

Hi All,

Please I need some help using the service proxies in my WAB dev 2.1 web apps in the "Direction Widget", I have tried using the generated services proxies but all I get is an error in the configuration settings, also tried doing it via "proxy.js" but this prompts users to login before they can make use of the direction widget.

Can anyone assist me in successfully implementing the "Direction Widget" without users needing to Login?

Baba

0 Kudos
12 Replies
deleted-user-CQZbjNeBXm49
Occasional Contributor III

Hi Derek,

Thanks for the reply, I have gone through the blog post and now having new sets of errors like "Error generating token" and/or "You do not have permissions to access this resource."

This occurred using an administration account within my organisation

While the later occurred after I had created a publisher account outside the AD

Do I need to activate or license something before I can get permissions to the resource?

Cheers

Baba

0 Kudos
deleted-user-CQZbjNeBXm49
Occasional Contributor III

Solution:

Activate Network Analysis License for the credential to be used

However, now that it works I get the "Please sign in to continue" prompt, even after sharing the item as "Everybody"

0 Kudos
deleted-user-CQZbjNeBXm49
Occasional Contributor III

Thank you Derek ‌ and Robert ,

I was able to figure it all out now, rather than using "https://route.arcgis.com" in the <serverUrl>, the full service need to be in there as seen in the image below

Thank you

Baba

0 Kudos