psm1988

My Javascript code doesnt show route in closest facility

Discussion created by psm1988 on Jul 2, 2012
Latest reply on Jul 6, 2012 by dkudinov-esristaff
Hello,

I have attached code here, it is sample for closest facility. I dont get route from incident to facility.
My closest facility service works perfectly in service directory.

I get this message

dojo.io.script.jsonp_dojoIoScript3._jsonpCallback({"error":{"code":500,"message":"Error solving closest facility","details":["Time attribute specified for directions engine does not exist in network dataset."]}});

Now how to overcome with this problem? Please note that i do not have time data in my network, i am using only length. Please help me as fast as you can.

Pratik M

Attachments

Outcomes