<?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: Customize built-in widgets in ExB in Experience Builder Custom Widgets</title>
    <link>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1358313#M164</link>
    <description>&lt;P&gt;I modified the map-layers widget so that the transparency is a slider not a data action. the code is here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Majeedpy/new-map-layers-widget/" target="_blank"&gt;https://github.com/Majeedpy/new-map-layers-widget/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MajeedP_0-1701985050766.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88421iE2E21A8BEF20DC3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MajeedP_0-1701985050766.png" alt="MajeedP_0-1701985050766.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 21:37:39 GMT</pubDate>
    <dc:creator>MajeedP</dc:creator>
    <dc:date>2023-12-07T21:37:39Z</dc:date>
    <item>
      <title>Customize built-in widgets in ExB</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1355953#M158</link>
      <description>&lt;P&gt;I am trying to make changes to a built-in widget. As an example, let's say I want to take Map Layers widget and modify it:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MajeedP_0-1701462212522.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87801i5D2FD4AA595138E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MajeedP_0-1701462212522.png" alt="MajeedP_0-1701462212522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to change transparency to a slider, instead of current buttons. What I did was to find widget files from&amp;nbsp;ArcGISExperienceBuilder\client\dist\widgets\arcgis\map-layers and create a new custom widget from them. I started working with them and noticed that it uses DataActionList like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;&amp;lt;DataActionList widgetId={this.props.id} dataSet={dataSet}&amp;gt;&amp;lt;/DataActionList&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I want to add a new action to the list of actions in this widget, how do I generate html component for it? I checked DataActionList and it only takes a buttonType:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/// &amp;lt;reference types="react" /&amp;gt;
/** @jsx jsx */
import { React, type IMThemeVariables, type DataRecordSet, type ThemeButtonType } from 'jimu-core';
import { type ButtonSize } from './button';
export declare enum DataActionListStyle {
    IconList = "ICON_LIST",
    List = "LIST",
    Dropdown = "DROPDOWN"
}
interface Props {
    /** The widget id that is using this data-action list */
    widgetId: string;
    /** Whether it's batch-action, which passes in dataSets */
    isBatch?: boolean;
    /** The dataSet used for generating data-action list */
    dataSet?: DataRecordSet;
    /** The dataSets used for generating data-action list, it should work with isBatch field */
    dataSets?: DataRecordSet[];
    /** The data-action-list style, could be 'list', 'icon-list' or 'dropdown' */
    listStyle?: DataActionListStyle;
    /** The dropdown-button type */
    buttonType?: ThemeButtonType;
    /** The dropdown-button size */
    buttonSize?: ButtonSize;
}
/** This component displays available DataAction in an list, icon-list or dropdown style.
 * Widgets that need to use DataAction can use this component.
 * To display in a specific style, just pass `listStyle` with 'list', 'icon-list' or 'dropdown'
 *
 * You can use this component by:
 *
 * `import { DataActionList } from 'jimu-ui'`
 */
export declare const DataActionList: React.ForwardRefExoticComponent&amp;lt;Pick&amp;lt;Props, keyof Props&amp;gt; &amp;amp; {
    theme?: IMThemeVariables;
}&amp;gt;;
export {};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how do I modify things to add a slider for the map-layers, without writing the whole thing from scratch and incorporating it to the current Map Layers widget.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 21:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1355953#M158</guid>
      <dc:creator>MajeedP</dc:creator>
      <dc:date>2023-12-01T21:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Customize built-in widgets in ExB</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1358313#M164</link>
      <description>&lt;P&gt;I modified the map-layers widget so that the transparency is a slider not a data action. the code is here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Majeedpy/new-map-layers-widget/" target="_blank"&gt;https://github.com/Majeedpy/new-map-layers-widget/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MajeedP_0-1701985050766.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88421iE2E21A8BEF20DC3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MajeedP_0-1701985050766.png" alt="MajeedP_0-1701985050766.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 21:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1358313#M164</guid>
      <dc:creator>MajeedP</dc:creator>
      <dc:date>2023-12-07T21:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Customize built-in widgets in ExB</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1390871#M235</link>
      <description>&lt;P&gt;Hi Majeed, may I ask how do you adapt the existing out-of-box widget code? Do you start a new custom widget folder in the "your-extensions" folder in Dev edition? and just copy the original widget from "dist" to there, did you have to change the config.json and the manifest.json files? Somehow when I did these steps above, the new custom widget is not showing up in my EXB Dev Edition UI....&lt;/P&gt;&lt;P&gt;See below screenshot, the left is all the custom widgets I've included inside the "your-extensions/widgets" folder (both those I started from scratch and those I adapted from default widgets from the dist code). The right shows what are available in my Dev Edition local UI. You can see a number of those adapted from default widget are NOT showing up....&amp;nbsp; Any suggestions would be greatly appreciated! Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ENGEOGIS1_0-1709603632198.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/96838i854741CD9DBBA084/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ENGEOGIS1_0-1709603632198.png" alt="ENGEOGIS1_0-1709603632198.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 01:55:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1390871#M235</guid>
      <dc:creator>ENGEOGIS1</dc:creator>
      <dc:date>2024-03-05T01:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Customize built-in widgets in ExB</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1390914#M236</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/580259"&gt;@MajeedP&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/147817"&gt;@ENGEOGIS1&lt;/a&gt;&amp;nbsp;, I also have same question. Also, where to find the existing widgets? where is&amp;nbsp;&lt;SPAN&gt;"dist" folder?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 04:32:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1390914#M236</guid>
      <dc:creator>GeeteshSingh07</dc:creator>
      <dc:date>2024-03-05T04:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Customize built-in widgets in ExB</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1391466#M241</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/721900"&gt;@GeeteshSingh07&lt;/a&gt;&amp;nbsp;I downloaded the EXB dev edition, inside the client folder there are the code files for the existing widgets:&lt;/P&gt;&lt;P&gt;..\ArcGISExperienceBuilder\client\dist\widgets&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 20:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1391466#M241</guid>
      <dc:creator>ENGEOGIS1</dc:creator>
      <dc:date>2024-03-05T20:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Customize built-in widgets in ExB</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1391467#M242</link>
      <description>&lt;P&gt;Forgot to mention &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/580259"&gt;@MajeedP&lt;/a&gt;&amp;nbsp;- if you have any insights, would highly appreciate it. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 20:58:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/customize-built-in-widgets-in-exb/m-p/1391467#M242</guid>
      <dc:creator>ENGEOGIS1</dc:creator>
      <dc:date>2024-03-05T20:58:36Z</dc:date>
    </item>
  </channel>
</rss>

