I am trying to access the PlanRoutes functionality through the JS API, the dijit shown that the stops to visit is required. But in the SS below, you can see that the first input box in the dijit "stops to visit" is missing. And the 6th parameter do show that it recognize the stop layer we add.
The attachment is our script and proxy setting.
Besides, we receive a error message on the promote before the arcgis online login window pops up: “Error: You do not have permissions to use this resource.”
Thank you so much!
Solved! Go to Solution.
I tried a lot of ways, including change the order of parameters, republish the stop feature service, modify the table structure of stop layer, however the fact proves that they are all useless. Finally, I remove the parameter of analysisGpServer...... The result is fine! It confused me a weekend !
I tried a lot of ways, including change the order of parameters, republish the stop feature service, modify the table structure of stop layer, however the fact proves that they are all useless. Finally, I remove the parameter of analysisGpServer...... The result is fine! It confused me a weekend !