AnsweredAssumed Answered

Filter feature layer with JavaScript in a custom WAB application

Question asked by jugalpatel803 on Apr 27, 2016
Latest reply on Apr 27, 2016 by jugalpatel803

Let's say I have a map created on ArcGIS desktop and I publish it as a feature service to ArcGIS online. In the ArcGIS online interface, I can filter that feature service layer into three separate layers. I can then take those layers and use them for a WAB application. I need to customize the WAB app though, so I downloaded all the files and code that builds my app. But do you know how I can filter the original feature layer using JavaScript instead? Specifically, I have all my files for my web app stored locally, but I'm not sure which file I'd need to do that filtering in.