Select to view content in your preferred language

Closest Facility Widget not working in Flex Application Builder

4017
11
08-16-2013 01:11 AM
tanyabisen
Emerging Contributor
Hi All,

I downloaded Closest Facility Widget for Flex Viewer Application Builder and I am able to import it successfully. It works fine while using sample ESRI Network Service.

I tried embedding my Network Service into the widget but it failed. I even tried importing my custom Closest Facility widget which is working fine using Flash Builder but no success.

Below is the Error :

Input field [sh_name] was not mapped to a field in the network analysis class "Facilities". Input field [DTNAME11] was not mapped to a field in the network analysis class "Facilities". Insufficient number of valid locations in "Facilities" or "Incidents".

Where is it actually I am going wrong for my NA service for Application Builder as the same NA service works fine for my customized Flex application.

Please help.

Thanks,
Tags (2)
0 Kudos
11 Replies
RobertScheitlin__GISP
MVP Emeritus
George,

 
Just for clarification, was the original closest facility widget customized for the demo NA service?
I would assume so, as this is what I would normally do. But I am not the widget creator so I can not say definitively.

Is it correct in stating that if I can alter my settings to match the  ones in the demo service then I should be able to get it working?
This is once again a strong assumption on my part but I would say yes.

I ran into the same thing with my route widget. I made it work for the NA_Route service and then when they published the world route service I had to tweak several things in my widget.
0 Kudos
GeorgeHaskett
Deactivated User
Okay, thanks Rob.  I guess I need to do more research on the topic then.
0 Kudos