AnsweredAssumed Answered

How to programmatically change the config search layer in eSearch?

Question asked by owenmt8656 on May 14, 2018
Latest reply on May 14, 2018 by owenmt8656

I was wondering if it is possible to programmatically change the config search layer based on a condition being met. I know you can access a search layer by its name using:

this.config.layers.name === "Name of the Search Layer";  

What I'm trying to do is set it to a particular search layer in my config. Any help programmatically changing this would be great.

Outcomes