AnsweredAssumed Answered

How do I access my feature layers to pass them into a dijit?

Question asked by hone_j on Aug 16, 2019
Latest reply on Aug 16, 2019 by hone_j

Hi, I have made use of the selectdijit and I know I need to pass in a feature layer as a param so it knows what to select from.

 

I just cant work out how to get my feature layers into a var to pass in, seems like it should be simple but I cant quite find out how to do it.

 

In all the examples I see they are creating the feature layer then adding it to the map so they already have the feature layer to pass about. As Im using WAB I am not creating the feature layers in code they are added to the map when we config the app. How do I get the feature layers in my map so I can pass them as arguments etc?

 

thanks

Outcomes