<?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 u.load is not a function in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/u-load-is-not-a-function/m-p/1256009#M80191</link>
    <description>&lt;P&gt;Sorry for my bad english. &lt;SPAN&gt;Every time I run the project, this error always appears, and when I refresh the page, it disappears. It's very annoying because every time it happens, I have to continuously refresh the page.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 500px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/62336i6209A1FD5611ED9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;BR /&gt;here is my code in Search:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;view.when(() =&amp;gt; {&lt;/P&gt;&lt;P&gt;const searchWidget = new Search({&lt;BR /&gt;view: view,&lt;BR /&gt;sources: [&lt;BR /&gt;{&lt;BR /&gt;layer: fl,&lt;BR /&gt;searchFields: ["Name", "Address"],&lt;BR /&gt;name: "Search",&lt;BR /&gt;zoomScale: 10000,&lt;BR /&gt;},&lt;BR /&gt;],&lt;BR /&gt;includeDefaultSources: false,&lt;BR /&gt;allPlaceholder: "Tìm kiếm địa điểm",&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;const expandSearch = new Expand({&lt;BR /&gt;view: view,&lt;BR /&gt;content: searchWidget,&lt;BR /&gt;expandTooltip: "Search",&lt;BR /&gt;});&lt;BR /&gt;view.ui.add(expandSearch, {&lt;BR /&gt;position: "top-left",&lt;BR /&gt;});&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I will be grateful for any help you can provide.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2023 03:33:46 GMT</pubDate>
    <dc:creator>LazyDogz</dc:creator>
    <dc:date>2023-02-08T03:33:46Z</dc:date>
    <item>
      <title>u.load is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/u-load-is-not-a-function/m-p/1256009#M80191</link>
      <description>&lt;P&gt;Sorry for my bad english. &lt;SPAN&gt;Every time I run the project, this error always appears, and when I refresh the page, it disappears. It's very annoying because every time it happens, I have to continuously refresh the page.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 500px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/62336i6209A1FD5611ED9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;BR /&gt;here is my code in Search:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;view.when(() =&amp;gt; {&lt;/P&gt;&lt;P&gt;const searchWidget = new Search({&lt;BR /&gt;view: view,&lt;BR /&gt;sources: [&lt;BR /&gt;{&lt;BR /&gt;layer: fl,&lt;BR /&gt;searchFields: ["Name", "Address"],&lt;BR /&gt;name: "Search",&lt;BR /&gt;zoomScale: 10000,&lt;BR /&gt;},&lt;BR /&gt;],&lt;BR /&gt;includeDefaultSources: false,&lt;BR /&gt;allPlaceholder: "Tìm kiếm địa điểm",&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;const expandSearch = new Expand({&lt;BR /&gt;view: view,&lt;BR /&gt;content: searchWidget,&lt;BR /&gt;expandTooltip: "Search",&lt;BR /&gt;});&lt;BR /&gt;view.ui.add(expandSearch, {&lt;BR /&gt;position: "top-left",&lt;BR /&gt;});&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I will be grateful for any help you can provide.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 03:33:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/u-load-is-not-a-function/m-p/1256009#M80191</guid>
      <dc:creator>LazyDogz</dc:creator>
      <dc:date>2023-02-08T03:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: u.load is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/u-load-is-not-a-function/m-p/1256145#M80195</link>
      <description>&lt;P&gt;If you can provide a sample in codepen or similar, it would help. Could be the layer, but no way to tell.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/" target="_blank"&gt;https://codepen.io/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 16:11:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/u-load-is-not-a-function/m-p/1256145#M80195</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2023-02-08T16:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: u.load is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/u-load-is-not-a-function/m-p/1256373#M80202</link>
      <description>&lt;P&gt;Here is my code look like:&amp;nbsp;&lt;A href="https://codepen.io/nhannt2909/pen/dyjEEoW" target="_self"&gt;https://codepen.io/nhannt2909/pen/dyjEEoW&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 01:03:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/u-load-is-not-a-function/m-p/1256373#M80202</guid>
      <dc:creator>LazyDogz</dc:creator>
      <dc:date>2023-02-09T01:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: u.load is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/u-load-is-not-a-function/m-p/1256393#M80203</link>
      <description>&lt;P&gt;There is a lot going on in that sample, but if I had to guess, it's because you are calling the result of your ajax request "fl", and calling the FeatureLayer "fl", shadowing the variables. That's just a guess, the sample doesn't run as-is due to some other issues.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 03:01:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/u-load-is-not-a-function/m-p/1256393#M80203</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2023-02-09T03:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: u.load is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/u-load-is-not-a-function/m-p/1256860#M80218</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I guess the same as you. Is there any way to fix that error?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 03:49:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/u-load-is-not-a-function/m-p/1256860#M80218</guid>
      <dc:creator>LazyDogz</dc:creator>
      <dc:date>2023-02-10T03:49:53Z</dc:date>
    </item>
  </channel>
</rss>

