<?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: Making runtime featureLayers register as datasources for select widget in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1546878#M15300</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/71536"&gt;@MohammedHilal_K&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are there any errors in the browser console? Which data actions are missing? Is it only zoom to and pan to that are missing, or are they all missing? It would be great if you could upload a screenshot of the data actions.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 09:30:17 GMT</pubDate>
    <dc:creator>QunSun</dc:creator>
    <dc:date>2024-10-09T09:30:17Z</dc:date>
    <item>
      <title>Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1473175#M12641</link>
      <description>&lt;P&gt;I am loading my map layers at runtime through a custom widget. Everything is configured as desired in Developer Edition 1.12. Now, I am upgrading to 1.14 primarily for the access to the Select Widget and the Add to Table Data Action.&lt;/P&gt;&lt;P&gt;Adding a data layer with the OOTB Add Data widget will make the layer selectable in the Select Widget, but layers loaded from my custom widget are not available in the Select Widget.&lt;/P&gt;&lt;P&gt;How can I get the Select Widget to recognize the added data? Bonus points, if the Map Layers Widget will also show the Add To Table option.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184441"&gt;@Wei_Ying&lt;/a&gt;&amp;nbsp;Would creating a client side data source be picked up by the Select Widget?&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/widgets/client-side-output" target="_blank"&gt;https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/widgets/client-side-output&lt;/A&gt;&amp;nbsp;Can a single widget have multiple output datasources?&lt;/P&gt;&lt;P&gt;Looking through the code for the Add Data Widget I found these lines.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const dataSourcesChangeMessage = new DataSourcesChangeMessage(widgetId, DataSourcesChangeType.Create, dataSources)
MessageManager.getInstance().publishMessage(dataSourcesChangeMessage)&lt;/LI-CODE&gt;&lt;P&gt;Could publishing a message similar to this trigger the Select Widget to find the layers?&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 20:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1473175#M12641</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-05-15T20:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1473226#M12642</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4655"&gt;@TonghuiMing&lt;/a&gt;&amp;nbsp;any comment on this question?&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 21:21:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1473226#M12642</guid>
      <dc:creator>Wei_Ying</dc:creator>
      <dc:date>2024-05-15T21:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1499066#M13429</link>
      <description>&lt;P&gt;I've thought about and researched this question the best that I can over the past month and I keep coming back to the same issue. I need to take the REST endpoint of a FeatureLayer and have it be recognized by Experience Builder as a valid datasource. I know Experience Builder is capable of this, but I don't know how to do it.&lt;/P&gt;&lt;P&gt;I've looked at the sever/client side data source widget samples, but they presuppose an already existing datasource to create from.&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/widgets/server-side-output" target="_blank"&gt;https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/widgets/server-side-output &lt;/A&gt;&lt;/P&gt;&lt;P&gt;My widget would also need to output an arbitrary number of datasources which presumably the Add Data Widget is capable of, but is not shown in any code samples.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 14:15:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1499066#M13429</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-06-28T14:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1500720#M13537</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&gt;&amp;nbsp;&amp;nbsp;You can generate multiple output data sources in your widget. If you do not know the number and schema of the data sources your widget needs to generate in your settings, I recommend you look through the Add Data widget.&lt;/P&gt;&lt;P&gt;Please see the &lt;EM&gt;createDataSourcesByDataOptions&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;method in the &lt;EM&gt;add-data/src/runtime/utils.ts&lt;/EM&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. Prepare the &lt;EM&gt;FeatureLayerDataSourceConstructorOptions&lt;/EM&gt;. Pass the &lt;EM&gt;layer&lt;/EM&gt; to let the created data source query via it. The layer can be client-side or server-side Maps SDK feature layer. Pass the &lt;EM&gt;dataSourceJson&lt;/EM&gt; to let the data source manager know the definition of the data source, including &lt;EM&gt;id&lt;/EM&gt;, &lt;EM&gt;type&lt;/EM&gt;, &lt;EM&gt;label&lt;/EM&gt;,&amp;nbsp; &lt;EM&gt;url&lt;/EM&gt;, &lt;EM&gt;itemId&lt;/EM&gt;, &lt;EM&gt;portalUrl&lt;/EM&gt;, &lt;EM&gt;layerId&lt;/EM&gt; (e.g. '0', '1') and &lt;EM&gt;geometryType&lt;/EM&gt;&amp;nbsp;(e.g. '&lt;SPAN&gt;esriGeometryPoint'&lt;/SPAN&gt;, '&lt;SPAN&gt;esriGeometryPolyline'&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;2. Create data sources by &lt;EM&gt;DataSourceManager.getInstance().createDataSource(options)&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;3. Publish the message you mentioned above if you want the add-to-map, pan-to, and zoom-to message actions of the map widget (also need to declare your widget publish messages in the manifest, by adding&amp;nbsp;&lt;EM&gt;&lt;SPAN&gt;"publishMessages"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;SPAN&gt;"DATA_SOURCES_CHANGE"&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/EM&gt;). If you only need data actions, you do not need to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 03:15:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1500720#M13537</guid>
      <dc:creator>YueyangLi</dc:creator>
      <dc:date>2024-07-03T03:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1501870#M13588</link>
      <description>&lt;P&gt;Thanks to your suggestions I have a block of code that completes without error and the DataSourceManager indicates that the layers have been accepted as valid datasources. However, the Select Widget still does not acknowledge them and the full list of data actions is not visible.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;mapLayer = new FeatureLayer({
				url: layerGroup.layers[i].url,
				id: layerGroup.layers[i].id
})




setTimeout(() =&amp;gt; {
				console.log(mapLayer.sourceJSON)
				const data: DataSourceJson = {
					id: 'custom_' + layerGroup.layers[i].id,
					itemId: layerGroup.layers[i].id,
					url: layerGroup.layers[i].url,
					type: 'FEATURE_LAYER',
					geometryType: mapLayer.sourceJSON["geometryType"],
					label: mapLayer.title
				}
				const dataJson = Immutable(data)
				const dataSourceOptions = {
					id: layerGroup.layers[i].id,
					layer: mapLayer,
					dataSourceJson: dataJson
				}
				
				console.log(dataSourceOptions)
				const dataSource = DataSourceManager.getInstance().createDataSource(dataSourceOptions)
				dataSource.then((source) =&amp;gt; {
					//map layers widget
					const messageLayer = new DataSourcesChangeMessage('widget_30', DataSourcesChangeType.Create, [source])
					MessageManager.getInstance().publishMessage(messageLayer)
					//select widget
					const message = new DataSourcesChangeMessage('widget_63', DataSourcesChangeType.Create, [source])
					MessageManager.getInstance().publishMessage(message)
				})
				console.log(DataSourceManager.getInstance())
}, 3000)&lt;/LI-CODE&gt;&lt;P&gt;Console log of DataSourceManager.GetInstance()&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_0-1720192482778.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108900i9248B964D46EB43B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_0-1720192482778.png" alt="JeffreyThompson2_0-1720192482778.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The only actions I am getting are the same ones I saw adding the layers to the map using the JS SDK methods.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_1-1720192866760.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108901i39F86C08637AE1EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_1-1720192866760.png" alt="JeffreyThompson2_1-1720192866760.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have added the publishMessgaes statement to my manifest.json.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "name": "add-remove-layers",
  "type": "widget",
  "version": "1.11.0",
  "dependency":  ["jimu-arcgis"],
  "exbVersion": "1.11.0",
  "author": "Jeffrey Thompson",
  "description": "Loads or removes sets of data by groups or individual layers",
  "copyright": "City of Arlington",
  "license": "",
  "properties": {},
  "translatedLocales": [
    "en"
  ],
  "defaultSize": {
    "width": 800,
    "height": 500
  },
  "publishMessages":  ["DATA_SOURCES_CHANGE"]
}&lt;/LI-CODE&gt;&lt;P&gt;What am I missing?&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/431841"&gt;@YueyangLi&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184441"&gt;@Wei_Ying&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4655"&gt;@TonghuiMing&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 15:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1501870#M13588</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-07-05T15:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1503178#M13635</link>
      <description>&lt;P&gt;The DataSourcesChange message did not work, but I got something functional with the JimuMapView.addRemoveDataOnMap() method.&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;setTimeout(() =&amp;gt; {
				console.log(mapLayer.sourceJSON)
				const data: DataSourceJson = {
					id: 'custom_' + layerGroup.layers[i].id,
					layerId: `${mapLayer.sourceJSON["id"]}`,
					itemId: layerGroup.layers[i].id,
					url: layerGroup.layers[i].url,
					type: 'FEATURE_LAYER',
					geometryType: mapLayer.sourceJSON["geometryType"],
					label: mapLayer.title,
					portalUrl: 'url'
				}
				const dataJson = Immutable(data)
				const dataSourceOptions = {
					id: layerGroup.layers[i].id,
					layer: mapLayer,
					dataSourceJson: dataJson
				}
				
				console.log(dataSourceOptions)
				const dataSource = DataSourceManager.getInstance().createDataSource(dataSourceOptions)
				dataSource.then((source) =&amp;gt; {
					
						console.log(source)
						const sourceId = source.id
						const addMapData: AddToMapData = {
							mapWidgetId: 'widget_9',
							messageWidgetId: 'widget_33',
							jimuMapViewId: jimuMapView.id,
							dataSourceId: sourceId,
							type: ActionType.MessageAction,
							title: 'Add Data',
							dataChangeType: DataChangeType.Create,
							dataChangeStatus: DataChangeStatus.Fulfilled
						}
						console.log(addMapData)
						mapDatas[sourceId] = addMapData
						
					
					setTimeout(() =&amp;gt; {
						jimuMapView.addOrRemoveDataOnMap(mapDatas)
					}, 50)
				})

}, 3000)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 18:29:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1503178#M13635</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-07-09T18:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1504014#M13686</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&gt;, sorry for the late reply.&lt;/P&gt;&lt;P&gt;The&lt;SPAN&gt;&amp;nbsp;DataSourcesChange is a message action, that must be configured in the widget settings (builder). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you want an action to add the new layer data source to the map widget in runtime, you can use the DataActionList component like AddData widget. The select widget can use the new layer data source after doing that. The component will calculate the supported data actions based on the added widgets and show a dropdown list.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yueyang_Li_0-1720687533804.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109434i6AB526857F1B7C69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yueyang_Li_0-1720687533804.png" alt="Yueyang_Li_0-1720687533804.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm glad you have found a workaround. But if you want to use the DataActionList and have other issues, you can reply there.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 08:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1504014#M13686</guid>
      <dc:creator>YueyangLi</dc:creator>
      <dc:date>2024-07-11T08:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1546860#M15299</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/431841"&gt;@YueyangLi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I followed your suggestion and it is working fine. I could able to get the data actions like zoom to , pan to etc. But the thing is I need to reorder the layer, the polygon has to go bottom and point on top and line on bottom. When I reorder&amp;nbsp; he layer using view.map.&lt;SPAN&gt;reorder(), am losing the data actions. any help on that?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 08:54:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1546860#M15299</guid>
      <dc:creator>MohammedHilal_K</dc:creator>
      <dc:date>2024-10-09T08:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1546878#M15300</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/71536"&gt;@MohammedHilal_K&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are there any errors in the browser console? Which data actions are missing? Is it only zoom to and pan to that are missing, or are they all missing? It would be great if you could upload a screenshot of the data actions.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 09:30:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1546878#M15300</guid>
      <dc:creator>QunSun</dc:creator>
      <dc:date>2024-10-09T09:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1546928#M15304</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-experience-builder-questions/loss-of-runtime-created-datasource-functionality/m-p/1541505#M15032" target="_blank"&gt;https://community.esri.com/t5/arcgis-experience-builder-questions/loss-of-runtime-created-datasource-functionality/m-p/1541505#M15032&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is a documented bug in Experience Builder 1.15. It is not a problem in 1.14.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 12:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1546928#M15304</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-10-09T12:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1547159#M15327</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/72016"&gt;@QunSun&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Am attaching the screenshots. Only zoom to/hide label data action is available after reordering the layers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MohammedHilal_K_0-1728490957349.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116865i43BB286E015ACFBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MohammedHilal_K_0-1728490957349.png" alt="MohammedHilal_K_0-1728490957349.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Before re-order&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MohammedHilal_K_1-1728490984097.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116866i98130B9D0694953B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MohammedHilal_K_1-1728490984097.png" alt="MohammedHilal_K_1-1728490984097.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;after re-order.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 16:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1547159#M15327</guid>
      <dc:creator>MohammedHilal_K</dc:creator>
      <dc:date>2024-10-09T16:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1547164#M15328</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/72016"&gt;@QunSun&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Am developing custom widget like 'AddData'. So is there any solution to fix this? like updating DataSource again or any other methods?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 16:26:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1547164#M15328</guid>
      <dc:creator>MohammedHilal_K</dc:creator>
      <dc:date>2024-10-09T16:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1547266#M15337</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/71536"&gt;@MohammedHilal_K&lt;/a&gt;&amp;nbsp;Currently, the only workaround is to use Developer Edition 1.14 which does not have this bug.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 18:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1547266#M15337</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-10-09T18:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1547452#M15349</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/71536"&gt;@MohammedHilal_K&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="bodyDisplay_15957b201bc952_5c4bd" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Thanks for providing more details. This is a bug and will be fixed in next release.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Oct 2024 01:27:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1547452#M15349</guid>
      <dc:creator>QunSun</dc:creator>
      <dc:date>2024-10-10T01:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1548374#M15429</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/72016"&gt;@QunSun&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In my custom widget, I'm trying to add multiple layers to the map using the jimuMapView.addOrRemoveDataOnMap(mapData) method. I'm looping through an array and passing mapData to addOrRemoveDataOnMap(). However, the layers are not maintaining the order that I provide.&lt;/P&gt;&lt;P&gt;For example, if the order in my array is [layer1, layer2, layer3], the layers are added to the map in an inconsistent order, like [layer2, layer1, layer3]. Additionally, addOrRemoveDataOnMap does not return a promise, which means I can't use await to control the sequence.&lt;/P&gt;&lt;P&gt;Any suggestions on how to address this issue?&lt;/P&gt;&lt;P&gt;Note: I've also tried passing the complete array to addOrRemoveDataOnMap(mapDatas), but I'm still facing the same issue.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Oct 2024 09:02:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1548374#M15429</guid>
      <dc:creator>MohammedHilal_K</dc:creator>
      <dc:date>2024-10-14T09:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1548395#M15430</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/experience-builder-custom-widgets/add-remove-layers-2-0/ta-p/1540096" target="_blank"&gt;https://community.esri.com/t5/experience-builder-custom-widgets/add-remove-layers-2-0/ta-p/1540096&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I dealt with this problem by building a re-ordering function inside a setTimeout() function.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 12:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1548395#M15430</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-10-14T12:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1549809#M15504</link>
      <description>&lt;P&gt;Hi&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/72016"&gt;@QunSun&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/431841"&gt;@YueyangLi&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184441"&gt;@Wei_Ying&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I add a map service in the above context, the popup does not appear. However, the popup works for feature layers and groups. Any help on this?&lt;BR /&gt;Note: If the same map service is configured in Map widget while initial load, that time pop up works.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 05:41:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1549809#M15504</guid>
      <dc:creator>MohammedHilal_K</dc:creator>
      <dc:date>2024-10-18T05:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1549823#M15507</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/71536"&gt;@MohammedHilal_K&lt;/a&gt;&amp;nbsp;Are you referring to the data action popup? Most data actions (such as export and add to table) are available only for data sources that support queries. Map service data sources do not support queries in ExB.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 07:22:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1549823#M15507</guid>
      <dc:creator>YueyangLi</dc:creator>
      <dc:date>2024-10-18T07:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1549843#M15508</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/431841"&gt;@YueyangLi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;I am referring to the attribute info popup. The DataActions (export &amp;amp; add to table) are working fine, but when we directly click on the map service, the attribute info popup does not display. I have observed this issue even with the out-of-the-box ‘AddData’ widget as well&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 08:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1549843#M15508</guid>
      <dc:creator>MohammedHilal_K</dc:creator>
      <dc:date>2024-10-18T08:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Making runtime featureLayers register as datasources for select widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1549845#M15509</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/71536"&gt;@MohammedHilal_K&lt;/a&gt; I was able to reproduce the issue and have logged it. Thank you for raising this issue!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 09:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1549845#M15509</guid>
      <dc:creator>YueyangLi</dc:creator>
      <dc:date>2024-10-18T09:37:45Z</dc:date>
    </item>
  </channel>
</rss>

