POST
|
I refered the first link as suggested by you and it worked in Developer edition 1.16. The same logic I tried in 1.14 it did not work and not throwing any error message. The reason I am using 1.14 is my Portal version is 11.3. const layer = new FeatureLayer({ source: [ptGraphic], fields: [{ name: "ObjectID", alias: "ObjectID", type: "oid" }, { name: "place", alias: "Place", type: "string" },{ name: "Description", alias: "Description", type: "string" }], objectIdField: "ObjectID", geometryType: "point" }); layer.title = "Sample Layer"; layer.id = "sampleLayer"; const dataSourceManager = DataSourceManager.getInstance(); const dataSourceId = "dataSource_1"; //const layerInfo = jmv.view.map.allLayers.items[39] //const dataSourceId = "dataSource_1"; const data: DataSourceJson = { id: 'sample layer', layerId: layer.id, type: DataSourceTypes.FeatureLayer, label: layer.title, } const dataJson = Immutable(data) const dataSourceOptions = { id: 'Sample client side layer', layer: layer, dataSourceJson: dataJson, } //const jimuLayerView = await jimuMapView.addLayerAndCreateJimuLayerView(layer, dataSource); dataSourceManager.createDataSource(dataSourceOptions).then((source) => { const sourceId = source.id const addMapData = { jimuMapViewId: jmv.id, dataSourceId: sourceId, dataChangeType: DataChangeType.Create, dataChangeStatus: DataChangeStatus.Fulfilled } jmv.view.map.add(layer) jmv.createJimuLayerView(layer, jmv.id, 0, source, true) //let mapDatas = { sourceId: addMapData } //jmv.view.map.addOrRemoveDataOnMap(mapDatas) }).catch((error) => { console.error('Error creating DataSource:', error); });
... View more
|
0
|
1
|
62
|
POST
|
I created new feature layer from client side and added into map in experience builder developer edition. Now I want to see the layer in table widget. In web app builder, once we add the layer programmatically the attribute information will be displayed automatically. Not sure how to implement in experience builder const activeViewChangeHandler = (jmv: JimuMapView) => { if (jmv) { setJimuMapView(jmv) jmv.view.when(() => { console.log("Map loaded"); setIsMapLoaded(true); setLoading(false); // Add sample graphic const ptGraphic = new Graphic({ geometry: { type: "point", longitude: -118.805, latitude: 34.027 }, attributes: { Name: "Sample Point", Description: "This is a sample description" } }); const layer = new FeatureLayer({ source: [ptGraphic], fields: [{ name: "ObjectID", alias: "ObjectID", type: "oid" }, { name: "place", alias: "Place", type: "string" },{ name: "Description", alias: "Description", type: "string" }], objectIdField: "ObjectID", geometryType: "point" }); layer.title = "Sample Layer"; jmv.view.map.add(layer);
... View more
|
0
|
3
|
127
|
POST
|
any idea how to display client side feature layer into table widget ?
... View more
a week ago
|
0
|
0
|
32
|
POST
|
Is there a way to change default selected feature color on map click. I have web app builder application developed using developer edition, I would like to change the default color when user selected feature(on-click) on the map. By default its selected as cyan color. If so can you help me which file needs to be modified ?
... View more
04-03-2024
07:24 AM
|
0
|
0
|
386
|
POST
|
Hi All, When opening an experience (developer edition) we are getting a popup widow asking us to sign in to ArcGIS Portal. Clicking "Okay" then opens up the panel where we can enter in our credentials but we would like to bypass the initial popup. In web app builder developer edition we have option to disable this, is there any other way to do the same oAuthInfo = new OAuthInfo({
appId: appId,
expiration: 14 * 24 * 60 - 1,
portalUrl: portalUrl,
authNamespace: '/',
popup: false,
popupCallbackUrl: oauthReturnUrl
});
... View more
07-25-2023
04:02 AM
|
0
|
0
|
444
|
POST
|
Hi @MarkEastwood did you find the solution ?. If so can you please tell me how to disable the login popup. I too facing the same issue
... View more
07-25-2023
02:59 AM
|
0
|
0
|
1348
|
POST
|
Create new feature layer from client side and added into map in experience builder developer edition. Now I want to see the attribute information in table widget. Not sure how to view the attribute data. In web app builder, once we add the layer programmatically the attribute information will be displayed automatically. Not sure how to implement in experience builder
... View more
04-27-2023
07:27 AM
|
0
|
2
|
333
|
POST
|
Hi Robert, I found a widget https://github.com/igrasshoff/esri-wab-widget-google-analytics. Do you have any idea on this. I added the widget in WAB developer edition. When I launch the application not able to view the widget
... View more
01-05-2022
04:50 AM
|
0
|
1
|
1794
|
DOC
|
@RobertScheitlin__GISP I Changed the background color to valid value, now the widget is working. Thanks a lot for the quick solution.
... View more
12-01-2021
06:15 AM
|
0
|
0
|
6064
|
DOC
|
@RobertScheitlin__GISP find the details below. { "theme": { "name": "FoldableTheme", "styles": [ "yellow", "default", "black", "blue", "cyan", "green", "purple", "red" ], "version": "2.21", "sharedTheme": { "isPortalSupport": true, "useHeader": true, "useLogo": false }, "customStyles": { "mainBackgroundColor": "no-color" } },
... View more
11-30-2021
11:10 PM
|
0
|
0
|
6075
|
DOC
|
@RobertScheitlin__GISP "version": "2.21.1" Console error :
... View more
11-30-2021
02:38 AM
|
0
|
0
|
6098
|
DOC
|
I am getting the below error while opening the widget I created application from web app builder developer edition WAB version 2.21 and ArcGIS Enterprise 10.8.1
... View more
11-29-2021
04:59 AM
|
0
|
0
|
6127
|
POST
|
My portal is enabled with single sign on , I am using a web app builder(developer edition) to create an application . Do I need configure something in my WAB application to access portal content ? . If so what changes I need to include and where ?
... View more
06-29-2020
11:52 PM
|
0
|
1
|
1423
|
Title | Kudos | Posted |
---|---|---|
1 | 11-30-2016 12:41 AM |
Online Status |
Offline
|
Date Last Visited |
Tuesday
|