Select to view content in your preferred language

File Access with Drag Drop Example.

713
0
03-07-2013 03:32 AM
AndrewDavis
Deactivated User
Hi,

I am working with the File access/Drag/Drop example.  http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/exp_dragdrop

I have been able to work through this on my home p/c, but my work p/c is giving me trouble. 

home p/c runs on FireFox 19  (jsapi 3.3 running locally)
work p/c runs on FireFox 4.0  (jsapi 2.8 running locally)  (yes I know this is an old FireFox.. it is outside of my control)


In the sample
var featureLayer = new esri.layers.FeatureLayer(featureCollection,{
   infoTemplate: infoTemplate,
   id: 'csvLayer'
}


I keep getting an error of:

"Error fetching items from CSV store:
  TypeError: type is undefined
  if(!dojo._hasResource["dijit._base.man...h"   etc...    "

I am running through on FireBug looking at both codesets and all of the parameters seem to be the same.

The question is:
  Is there a sample dealing with "featureLayer from featureCollection for version 2.8?

I think this should work.

Andy
0 Kudos
0 Replies