AnsweredAssumed Answered

Clearing Feature Layer

Question asked by jay.kapalczynski on Dec 5, 2014
Latest reply on Dec 5, 2014 by jay.kapalczynski

I am populating a Feature Layer with the spatial features contained withing a Shapefile.


Attached is a snip of that code:  In that code I am assigning the shapefile to the Feature Layer "featureLayerSF"

Everything works fine and I can add the shapefiles.  Although in my case I only want to have one shapefile added at a time. 

My question is how do I remove the data inside "featureLayerSF" before the newly chosen shapefile spatial contents are added to the "featureLayerSF"


Any ideas would be very appreciated.  Or code snips....