<?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: Use projectOperator in a custom Widget in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-projectoperator-in-a-custom-widget/m-p/1635032#M20062</link>
    <description>&lt;P&gt;What version of Enterprise are you on?&lt;/P&gt;&lt;P&gt;I think your issue relates to the compatibility between your Enterprise and the version of the JavaScript SDK it is compatible with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_0-1753200107539.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136936iFEB78413B2F2B1FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_0-1753200107539.png" alt="JeffreyThompson2_0-1753200107539.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ProjectOperator is a new feature in the API only added in 4.32. Enterprise will load the version of the JavaScript SDK it is compatible with. Unless you are on Enterprise 11.5, you will not be able to use projectOperator. And if you are, the chart is unclear.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/experience-builder/guide/release-versions/" target="_blank"&gt;https://developers.arcgis.com/experience-builder/guide/release-versions/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_1-1753200324258.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136937iA92D81C3962DA3B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_1-1753200324258.png" alt="JeffreyThompson2_1-1753200324258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jul 2025 16:05:50 GMT</pubDate>
    <dc:creator>JeffreyThompson2</dc:creator>
    <dc:date>2025-07-22T16:05:50Z</dc:date>
    <item>
      <title>Use projectOperator in a custom Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-projectoperator-in-a-custom-widget/m-p/1634999#M20055</link>
      <description>&lt;P&gt;I have troubles importing the projectOperator in my custom ExB Widget. This is my code:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import * as projectOperator from 'esri/geometry/operators/projectOperator' const Widget = (props: AllWidgetProps&amp;lt;IMConfig&amp;gt;) =&amp;gt; { 
const projectCoords = async () =&amp;gt; { 
    await projectOperator.load()
    const pt = projectOperator.execute(jimuMapView.view.center, { wkid: 2056 })
}
}&lt;/LI-CODE&gt;&lt;P&gt;When I use the Widget with the dev server, everything works fine.&lt;/P&gt;&lt;P&gt;I want to deploy the Widget in ArcGIS enterprise. The hosting is on IIS. When trying to use the widget in an experience, I get a 404 Not Found error. The widget tries to load projectOperator from here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" rel="noopener"&gt;https://&amp;lt;my-machine&amp;gt;/portal/apps/experiencebuilder/cdn/287/jsapi/esri/geometry/operators/projectOperator.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Does anybody know, what I need to do?&lt;/P&gt;&lt;P&gt;Importing other Maps SDK classes like "Point" works.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import Point from 'esri/geometry/Point'&lt;/LI-CODE&gt;&lt;P&gt;In my manifest.json, I have jimu-arcgis as a dependency.&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 15:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/use-projectoperator-in-a-custom-widget/m-p/1634999#M20055</guid>
      <dc:creator>DavidHanimann</dc:creator>
      <dc:date>2025-07-22T15:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use projectOperator in a custom Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-projectoperator-in-a-custom-widget/m-p/1635032#M20062</link>
      <description>&lt;P&gt;What version of Enterprise are you on?&lt;/P&gt;&lt;P&gt;I think your issue relates to the compatibility between your Enterprise and the version of the JavaScript SDK it is compatible with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_0-1753200107539.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136936iFEB78413B2F2B1FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_0-1753200107539.png" alt="JeffreyThompson2_0-1753200107539.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ProjectOperator is a new feature in the API only added in 4.32. Enterprise will load the version of the JavaScript SDK it is compatible with. Unless you are on Enterprise 11.5, you will not be able to use projectOperator. And if you are, the chart is unclear.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/experience-builder/guide/release-versions/" target="_blank"&gt;https://developers.arcgis.com/experience-builder/guide/release-versions/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_1-1753200324258.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136937iA92D81C3962DA3B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_1-1753200324258.png" alt="JeffreyThompson2_1-1753200324258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 16:05:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/use-projectoperator-in-a-custom-widget/m-p/1635032#M20062</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2025-07-22T16:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Use projectOperator in a custom Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-projectoperator-in-a-custom-widget/m-p/1635339#M20083</link>
      <description>&lt;P&gt;Thank you for your answer. I have tested with Enterprise 11.5 and the import of projectOperator works!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 09:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/use-projectoperator-in-a-custom-widget/m-p/1635339#M20083</guid>
      <dc:creator>DavidHanimann</dc:creator>
      <dc:date>2025-07-23T09:23:41Z</dc:date>
    </item>
  </channel>
</rss>

