<?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 Re: Changing connection parameters on StreamLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1255643#M80178</link>
    <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/53756"&gt;@UndralBatsukh&lt;/a&gt;, But this is not working, It does recognize the disconnection But doesn't change the token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, Meanwhile, I'm thinking of the whole idea of creating a StreamLayer, As sometimes I need to dynamically update a graphic icon for example, And I don't see there is a way to update the layer like we can do in a FeatureLayer for example (no applyEdits method exist).&lt;/P&gt;&lt;P&gt;Am I wrong? Is there any other method?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2023 12:18:29 GMT</pubDate>
    <dc:creator>orahlagi</dc:creator>
    <dc:date>2023-02-07T12:18:29Z</dc:date>
    <item>
      <title>Changing connection parameters on StreamLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1250753#M80023</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently working on a project that involves creating a new StreamLayer and adding custom parameters such as an API token.&lt;/P&gt;&lt;P&gt;However, I am encountering an issue where the server sometimes fails and there is an automatic reconnection trial.&lt;/P&gt;&lt;P&gt;The problem is that the custom parameters I have set are changing and the reconnection is not working because a new set of custom parameters needs to be added.&lt;/P&gt;&lt;P&gt;I have been trying to update the custom parameters on the object once they change, but it is not affecting the URL that has already been saved.&lt;/P&gt;&lt;P&gt;Is there any way to apply the changes to the constructed StreamLayer, so that the reconnection will work with the updated custom parameters?&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 13:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1250753#M80023</guid>
      <dc:creator>orahlagi</dc:creator>
      <dc:date>2023-01-24T13:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Changing connection parameters on StreamLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1250905#M80037</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am able to reproduce the issue you are describing. We will look into this issue and will let you know as soon as we have a fix. I cannot think of any workaround at this time but will let you know if others can come up with any.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for reporting this issue,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 17:17:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1250905#M80037</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2023-01-24T17:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Changing connection parameters on StreamLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1255021#M80158</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I meant to ask you try the following days ago. Can you watch the connections status on the layer view and set the custom parameters when the connection status becomes disconnected?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;layerView.watch("connectionStatus", function(value) {
  console.log("connectionStatus", value)
  if (value === "disconnected") {
    layer.customParameters = {
      token: "secret"
    };
  }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 20:25:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1255021#M80158</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2023-02-03T20:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Changing connection parameters on StreamLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1255643#M80178</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/53756"&gt;@UndralBatsukh&lt;/a&gt;, But this is not working, It does recognize the disconnection But doesn't change the token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, Meanwhile, I'm thinking of the whole idea of creating a StreamLayer, As sometimes I need to dynamically update a graphic icon for example, And I don't see there is a way to update the layer like we can do in a FeatureLayer for example (no applyEdits method exist).&lt;/P&gt;&lt;P&gt;Am I wrong? Is there any other method?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 12:18:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1255643#M80178</guid>
      <dc:creator>orahlagi</dc:creator>
      <dc:date>2023-02-07T12:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Changing connection parameters on StreamLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1256528#M80211</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are making some significant updates for StreamLayer at 4.26 and sounds like you can take advantage of these updates. &amp;nbsp;Please check out our changelog for the next version of the api:&amp;nbsp;&lt;A href="https://github.com/Esri/feedback-js-api-next/blob/main/CHANGELOG.md" target="_blank"&gt;https://github.com/Esri/feedback-js-api-next/blob/main/CHANGELOG.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I will let you know once we fix the issue with customParameters which should be version 4.26.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 15:58:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1256528#M80211</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2023-02-09T15:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Changing connection parameters on StreamLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1259131#M80297</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We fixed the issue with customParameters at version 4.26. You will be able to test the fix on our next version next Tuesday.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 21:41:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-connection-parameters-on-streamlayer/m-p/1259131#M80297</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2023-02-16T21:41:06Z</dc:date>
    </item>
  </channel>
</rss>

