Load select layers into templatePicker

Discussion created by thebillcarr on Apr 2, 2014
Latest reply on Jul 22, 2014 by thebillcarr

I'm throwing together an app to add a series (107) feature layers for the attribute inspector. I also have a Editor/Template for adding point features. The problem is that the template picks up all the feature layers that are loaded.

var templateLayers =, function(result){
            return result.layer;

Is there a way to only display a couple feature layers for the template picker? I don't want to clutter the content pane and REALLY don't want anybody contaminating the other feature layers. I've checked samples and examples all day but, no joy.

Any ideas?