|
POST
|
In WAB, I could edit ESRI widgets to modify their functionality to better fit my organization's needs. In ExB, ESRI widgets in the development environment are located under client/dist/widgets/ However, these widgets already translated and cannot be easily modified. Where can we view the ESRI widget in their original source code? I am aware of the https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/widgets but not all widgets are there.
... View more
10-21-2022
02:06 PM
|
1
|
4
|
2005
|
|
DOC
|
It seems that WAB uses the map.infoWindow in popuppanel widget to define a generic popup.
... View more
10-19-2022
01:12 PM
|
0
|
0
|
26942
|
|
DOC
|
No, it seems it doesn't have one. https://developers.arcgis.com/experience-builder/guide/add-layers-to-a-map/ However, in WAB I was able to add layers by custom code and with no popup template and get the side bar to show the properties of the clicked feature.
... View more
10-19-2022
10:43 AM
|
0
|
0
|
26959
|
|
DOC
|
ok. Thanks. Sorry for the confusion, but I am just getting familiar with ExB. So, now I am using the Jewlery theme and I removed from the view the widget that comes inside the side panel by using the "Move it to the inactive list" and placed the FeaturePanel widget inside. Then, I placed a button on the map "Add Widget" from the ESRI sample code. When I click on the Add widget, the feature layer appears on the map (after few secs). However, when I click on one of the features the side panel does not expand. I already set the featurePanel widget on the settings to work with the map and I disabled the map's "Enable pop-up" property. I also set the FeaturePanel's Auto Open property to true. What am I doing wrong? Thanks. Here is the site: https://svctenvims.dot.ca.gov/sidebar/
... View more
10-19-2022
10:08 AM
|
0
|
0
|
26969
|
|
DOC
|
Thank you Robert but I was referring to the arrows that reveal/hide the widget like the ones you have on your example.
... View more
10-19-2022
07:24 AM
|
0
|
0
|
26983
|
|
DOC
|
Hi Robert. I am using 1.9 Do I need to add the graphics for the left/right arrows and set their positions?
... View more
10-18-2022
05:10 PM
|
0
|
0
|
26995
|
|
POST
|
If you are using REST services on your widget, then you are probably limited by the setting MaxRecondCount. You can change the limit on the ArcGIS Server Manager. LefterisKoumis_0-1661978884869.png
... View more
08-31-2022
01:48 PM
|
0
|
1
|
1069
|
|
POST
|
I figured it out. The solution was to get the components' div out of the tableDiv, and adjust the height in css. <div id="appContainer">
<div id="viewDiv"></div>
<div id="tableContainer" class="container">
<div id="select-by-rectangle" style="float:left; text-align:center;">
<calcite-button appearance="transparent" color="red" icon-start="selection-x" scale="s">Select by
rectangle
</calcite-button>
</div>
<div id="clear-selection" style="float:left; text-align:center;">
<calcite-button appearance="transparent" color="red" icon-start="erase" scale="s">Clear
Selection
</calcite-button>
</div>
<div id="ExportInfo" style="float:left; text-align:center">
<calcite-button appearance="transparent" color="red" icon-start="download-to" scale="s">Export
to CSV
</calcite-button>
</div>
</div>
<div id="tableDiv"></div>
</div>
... View more
08-26-2022
12:57 PM
|
0
|
0
|
2105
|
|
POST
|
Thank you. I had the components previously setup in the menuConfig, the same way as you mentioned. It is a good solution for a small number of tools. However, since I need to have a longer list of tools to be used for the feature table, it will make a long listing for the user to find the tool they need. To improve user's experience, I think placing the tools on the top of the feature table for easy and quick access is a better approach. Is there a way to deal with the issue that I described? Thanks.
... View more
08-26-2022
12:21 PM
|
0
|
0
|
2112
|
|
POST
|
I am get trying to get the calcite components line up next to each other but it seems that css is overwritten by the table? Here is an example. https://codepen.io/lkoumis1/pen/wvmbbYR
... View more
08-26-2022
10:19 AM
|
0
|
3
|
2152
|
|
POST
|
The slider doesn't seem to be working. LefterisKoumis_0-1661273024159.png https://codepen.io/lkoumis1/pen/oNqmGKR
... View more
08-23-2022
09:44 AM
|
0
|
1
|
663
|
|
POST
|
If you prompt for credentials to access the app though the portal I suggest to take look at the Smart Editor widget.js I used its logic to something like this to capture the user's email. Since you are using and organization you should be able to figure out the identity of the user. A simple js can capture the time of the login. Hopefully this is what you are looking for. var creatoremail = ""
var editoremail = ""
var portal = new arcgisPortal.Portal('https://svgcdeaprod.ct.dot.ca.gov/deaprod_portal')
portal.signIn().then(function (loggedInUser) {
// console.log("Signed in to the portal: " + loggedInUser)
// console.log(loggedInUser.email);
creatoremail = loggedInUser.email
... View more
08-23-2022
09:33 AM
|
3
|
1
|
3355
|
|
POST
|
Before I get to details, do you authenticate the user before they access your app?
... View more
08-23-2022
09:02 AM
|
0
|
2
|
3366
|
|
POST
|
It seems it occurs when you don't use a point layer. Why? I modified the sample code from esri and I have two layers. If set the point layer active (#74), upon selection by geometry the feature table shows only the selected features. However, if you set the polygon layer active (#72 the feature table still shows all records. https://codepen.io/lkoumis1/pen/RwMEGBq?editors=1001
... View more
08-17-2022
01:02 PM
|
0
|
1
|
2142
|
|
POST
|
I followed the script to display only the selected records on the feature table after you select by geometry as it is shown at: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=highlight-features-by-geometry However, the featuretable does not filter out the unselected records. function selectFeatures(geometry) {
if (featureLayerView) {
// create a query and set its geometry parameter to the
// rectangle that was drawn on the view
const query = {
geometry: geometry,
outFields: ["*"]
};
// query graphics from the csv layer view. Geometry set for the query
// can be polygon for point features and only intersecting geometries are returned
featureLayerView
.queryFeatures(query)
.then((results) => {
const graphics = results.features;
resultFeatures = graphics;
if (results.features.length === 0) {
clearSelection();
} else {
// pass in the query results to the table by calling its selectRows method.
// This will trigger FeatureTable's selection-change event
// where we will be setting the feature effect on the csv layer view
console.log(featureTable)
featureTable.filterGeometry = geometry;
featureTable.selectRows(results.features);
}
})
.catch(errorCallback);
}
} LefterisKoumis_0-1660756921630.png
... View more
08-17-2022
10:26 AM
|
0
|
3
|
2191
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-09-2026 12:44 PM | |
| 1 | 06-08-2026 12:12 PM | |
| 1 | 06-19-2025 10:13 PM | |
| 3 | 02-06-2026 10:44 AM | |
| 1 | 01-08-2026 12:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|