Will it be possible to filter on a scene layer in Experience Builderin the future?

255
5
10-14-2020 05:08 AM
JoëlHempenius3
Occasional Contributor

Using the JavaScript API, it should be possible to apply a filter to a scene layer: SceneLayer filter and query | ArcGIS API for JavaScript 4.17 

As far as I could see now, the Filter widget in Experience builder currently only supports Feature Layers

Will it be possible to use a filter widget in Experience Builder which implements this JS Api function in a future release of Experience builder? 

0 Kudos
5 Replies
DavidMartinez
Esri Regular Contributor

Hi Joel,

Scene layers that support query will be in our next release, which will be in the next couple of days.

Cheers,

David

JoëlHempenius3
Occasional Contributor

Hi David,

Thank you for your response. 

I just checked whether I could enable a filter in Experience builder, but the Scene layer didn't show in the list. I added the filter widget, then clicked new filter but then my scene layers don't show in the list of layers which can be filtered. Also tried adding the scene layer to the Experience builder.

When I edit the Scene, I can set a filter on the layer. So am I missing something?

0 Kudos
DavidMartinez
Esri Regular Contributor

Hi Joel,

Can you share the scene layer with me? Does the scene service has query capabilities? If it is private can you add me to a group? My username is dmart. 

Thanks,


David 

0 Kudos
JoëlHempenius3
Occasional Contributor

Hi David,

Thank you for your help. How can I check whether the scene service has query capabilities? I tried https://tiles.arcgis.com/tiles/PHrUCWXcVq4HQRPl/arcgis/rest/services/panden_waadhoeke_harlingen/Scen...  and found a query capability in the resulting json.

I  shared the service and web scene with you: https://rug.maps.arcgis.com/home/group.html 

Thanks.

Joel

0 Kudos
DavidMartinez
Esri Regular Contributor

Hi Joel,

Now that makes sense, you have tiles part of a SceneServer. We don't support the querying of those types yet. It has to be a scene layer like this one below. I will add an issue for us to look into your requirement. https://services2.arcgis.com/cFEFS0EWrhfDeVw9/arcgis/rest/services/STM____F_Helsinki__Textured_build...  

Cheers,

David