<?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: Bug in distributed source code for controller widget in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/bug-in-distributed-source-code-for-controller/m-p/1417428#M12391</link>
    <description>&lt;P&gt;To anyone looking to do this, replace the LayoutItemToolbar import with the line below and replace all the mentions. It will give an error, but it will compile and run just fine.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { Toolbar } from 'jimu-layouts/layout-builder'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2024 07:52:50 GMT</pubDate>
    <dc:creator>boro</dc:creator>
    <dc:date>2024-05-01T07:52:50Z</dc:date>
    <item>
      <title>Bug in distributed source code for controller widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/bug-in-distributed-source-code-for-controller/m-p/1392267#M11418</link>
      <description>&lt;P&gt;Line 22 of dummy-layout.tsx within widgets/common/controller/src/runtime/builder/layout/dummy-layout.tsx imports LayoutItemToolbar:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { LayoutItemToolbar } from 'jimu-layouts/lib/builder/layout-item-toolbar'&lt;/LI-CODE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Causes the widget to fail to build as this is no longer included in the distributed jimu-layouts/lib&lt;BR /&gt;&lt;BR /&gt;We're trying to wrap / extend this widget but this unfortunately breaks the functionality for adding widgets in&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Mar 2024 00:29:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/bug-in-distributed-source-code-for-controller/m-p/1392267#M11418</guid>
      <dc:creator>JoshGore</dc:creator>
      <dc:date>2024-03-07T00:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in distributed source code for controller widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/bug-in-distributed-source-code-for-controller/m-p/1393962#M11494</link>
      <description>&lt;P&gt;I assume that you made a copy of the Controller widget source code and tried to make a custom Controller widget.&lt;/P&gt;&lt;P&gt;However, the &lt;STRONG&gt;LayoutItemToolbar&lt;/STRONG&gt; is an internal component which is not intended for custom widgets. The &lt;STRONG&gt;LayoutItemToolbar&lt;/STRONG&gt; displays as a toolbar of the selected widget in the builder. It provides some widget tools, such as "Quick Style"(Button, Divider) and "Edit"(Text). You can remove the code related to &lt;STRONG&gt;LayoutItemToolbar&lt;/STRONG&gt; in the custom Controller. This won't affect other parts of the Controller's logic.&lt;/P&gt;&lt;P&gt;Please let me know if you run into any furthur issues. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 08:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/bug-in-distributed-source-code-for-controller/m-p/1393962#M11494</guid>
      <dc:creator>Shen_Zhang</dc:creator>
      <dc:date>2024-03-11T08:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in distributed source code for controller widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/bug-in-distributed-source-code-for-controller/m-p/1416547#M12350</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642760"&gt;@Shen_Zhang&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I assume that you made a copy of the Controller widget source code and tried to make a custom Controller widget.&lt;/P&gt;&lt;P&gt;However, the &lt;STRONG&gt;LayoutItemToolbar&lt;/STRONG&gt; is an internal component which is not intended for custom widgets. The &lt;STRONG&gt;LayoutItemToolbar&lt;/STRONG&gt; displays as a toolbar of the selected widget in the builder. It provides some widget tools, such as "Quick Style"(Button, Divider) and "Edit"(Text). You can remove the code related to &lt;STRONG&gt;LayoutItemToolbar&lt;/STRONG&gt; in the custom Controller. This won't affect other parts of the Controller's logic.&lt;/P&gt;&lt;P&gt;Please let me know if you run into any furthur issues. Thanks!&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hijacking this thread because this is exactly what I'm trying to do. Removing the code related to LayoutItemToolbar breaks everything.. You can't be serious this component can't be used for custom widgets...That's a joke... Why make a "customizable" platform if you cant customise anything... Really disappointed.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 14:59:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/bug-in-distributed-source-code-for-controller/m-p/1416547#M12350</guid>
      <dc:creator>boro</dc:creator>
      <dc:date>2024-04-29T14:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in distributed source code for controller widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/bug-in-distributed-source-code-for-controller/m-p/1417428#M12391</link>
      <description>&lt;P&gt;To anyone looking to do this, replace the LayoutItemToolbar import with the line below and replace all the mentions. It will give an error, but it will compile and run just fine.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { Toolbar } from 'jimu-layouts/layout-builder'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 07:52:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/bug-in-distributed-source-code-for-controller/m-p/1417428#M12391</guid>
      <dc:creator>boro</dc:creator>
      <dc:date>2024-05-01T07:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in distributed source code for controller widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/bug-in-distributed-source-code-for-controller/m-p/1502191#M13605</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642760"&gt;@Shen_Zhang&lt;/a&gt;&amp;nbsp;, Please add&amp;nbsp;LayoutItemToolbar,&lt;BR /&gt;It's not make sense that developers need to find that post to discover that component is not part of&amp;nbsp;custom widgets.&lt;BR /&gt;If so, esri sould document that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help the developer experience so that they can really have a development experience.&lt;/P&gt;&lt;P&gt;After all it's all about the experience &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2024 16:34:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/bug-in-distributed-source-code-for-controller/m-p/1502191#M13605</guid>
      <dc:creator>Dvirus</dc:creator>
      <dc:date>2024-07-07T16:34:04Z</dc:date>
    </item>
  </channel>
</rss>

