<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic customParameters doesn't work for all requests on BuildingSceneLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customparameters-doesn-t-work-for-all-requests-on/m-p/1612421#M87101</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't make it work to use `customParamters` with BuildingSceneLayer when it makes a request to "..l&lt;SPAN&gt;ayers/0/statistics/summary" endpoint. This is the configuration I use;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var layer = new BuildingSceneLayer({
url: "https://..../rest/services/Hosted/..../SceneServer",
customParameters: {
    "key": "test-key"
  }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All requests are made with "key" except for summary endpoint, see below;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mtrcn_0-1746627476211.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/131695iE79993D2E67C1D5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mtrcn_0-1746627476211.png" alt="mtrcn_0-1746627476211.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it a bug ? If so, any plan for the fix or any workaround for this except for interceptors ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 May 2025 14:19:27 GMT</pubDate>
    <dc:creator>mtrcn</dc:creator>
    <dc:date>2025-05-07T14:19:27Z</dc:date>
    <item>
      <title>customParameters doesn't work for all requests on BuildingSceneLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customparameters-doesn-t-work-for-all-requests-on/m-p/1612421#M87101</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't make it work to use `customParamters` with BuildingSceneLayer when it makes a request to "..l&lt;SPAN&gt;ayers/0/statistics/summary" endpoint. This is the configuration I use;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var layer = new BuildingSceneLayer({
url: "https://..../rest/services/Hosted/..../SceneServer",
customParameters: {
    "key": "test-key"
  }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All requests are made with "key" except for summary endpoint, see below;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mtrcn_0-1746627476211.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/131695iE79993D2E67C1D5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mtrcn_0-1746627476211.png" alt="mtrcn_0-1746627476211.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it a bug ? If so, any plan for the fix or any workaround for this except for interceptors ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 14:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customparameters-doesn-t-work-for-all-requests-on/m-p/1612421#M87101</guid>
      <dc:creator>mtrcn</dc:creator>
      <dc:date>2025-05-07T14:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: customParameters doesn't work for all requests on BuildingSceneLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customparameters-doesn-t-work-for-all-requests-on/m-p/1612966#M87110</link>
      <description>&lt;P&gt;Thanks for reporting. Yes this looks like a bug.&lt;BR /&gt;&lt;BR /&gt;Cannot promise but we hopefully are able to fix this with the next release.&lt;BR /&gt;Until then I'd say a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#request" target="_blank"&gt;request interceptor&lt;/A&gt; is your best workaround option.&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 19:51:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customparameters-doesn-t-work-for-all-requests-on/m-p/1612966#M87110</guid>
      <dc:creator>AndreasUlmer</dc:creator>
      <dc:date>2025-05-08T19:51:18Z</dc:date>
    </item>
  </channel>
</rss>

