customParameters doesn't work for all requests on BuildingSceneLayer

211
1
Jump to solution
05-07-2025 07:19 AM
mtrcn
by
Emerging Contributor

Hello, 

I can't make it work to use `customParamters` with BuildingSceneLayer when it makes a request to "..layers/0/statistics/summary" endpoint. This is the configuration I use;

 

var layer = new BuildingSceneLayer({
url: "https://..../rest/services/Hosted/..../SceneServer",
customParameters: {
    "key": "test-key"
  }
});

 

All requests are made with "key" except for summary endpoint, see below;

mtrcn_0-1746627476211.png

Is it a bug ? If so, any plan for the fix or any workaround for this except for interceptors ?

 

0 Kudos
1 Solution

Accepted Solutions
AndreasUlmer
Esri Contributor

Thanks for reporting. Yes this looks like a bug.

Cannot promise but we hopefully are able to fix this with the next release.
Until then I'd say a request interceptor is your best workaround option.

View solution in original post

1 Reply
AndreasUlmer
Esri Contributor

Thanks for reporting. Yes this looks like a bug.

Cannot promise but we hopefully are able to fix this with the next release.
Until then I'd say a request interceptor is your best workaround option.