So I have a multiple-select option and I was wondering how do I retrieve the values from the multi-select and assign it to the following layer expression:
map.allLayers.forEach((layer) => {
layer.definitionExpression = "CSDNAME IN";
layer.queryExtent().then(function (results) {
view.goTo(results.extent);
});
});