|
POST
|
Do what you want with it in the code. It's the same data so it could go something like below. function handleQueryResults() {
let queryBP = bldPermLayer.createQuery();
queryBP.where = "query"
queryBP.outFields = ["*"];
// do the query
bldPermLayer
.queryFeatures(queryBP)
.then((response) => {
featureTable.selectRows(response.features);
featureTable.filterBySelection();
});
}
... View more
08-15-2024
09:31 AM
|
0
|
3
|
2436
|
|
POST
|
What do you mean? Are trying to edit a FeatureTable through a query?
... View more
08-15-2024
07:00 AM
|
0
|
5
|
2455
|
|
POST
|
You can bring it in as a FeatureLayer and query it the same as you would as a feature layer. const bldPermLayer = new FeatureLayer({
url: "https://.../server/rest/services/...",
outFields:["*"]
});
const featureTable = new FeatureTable({
view: theView,
layer: bldPermLayer,
});
function handleQueryResults() {
let queryBP = bldPermLayer.createQuery();
queryBP.where = "query"
queryBP.outFields = ["*"];
// do the query
bldPermLayer
.queryFeatures(queryBP)
.then((response) => {
// code
});
}
... View more
08-15-2024
06:18 AM
|
0
|
7
|
2460
|
|
POST
|
Correct, it won't mess with how the layers are stacked on the map, just how they appear in the layerlist.
... View more
08-13-2024
03:44 PM
|
1
|
0
|
1731
|
|
POST
|
If you bring them in as a MapImageLayer you can use the sublayers to modify the order they will show in the LayerList. They will be layered like a cake, for the example below the Lot Lines will be on the bottom and the Roads will be on the top. const baseLayers = new MapImageLayer({
url: "...server/rest/services/...",
sublayers:[
{ id: 24, title: "Lot Lines"},
{ id: 23, title:"Address Annotation", visible: false},
{ id: 22, title: "Bridges"},{ id: 21, title: "Watershed and Drainage Districts", visible: false},
{ id: 20, title: "Sewer Districts",visible: false},{ id: 19, title: "School Districts",visible: false},
{ id: 18, title: "Rural Water Districts",visible: false},{ id: 17, title: "Gas Districts",visible: false},
{ id: 16, title: "Fire Districts",visible: false},{ id: 15, title: "Electric Districs",visible: false},
{ id: 14, title: "Cemetery Districts",visible: false},{ id: 13, title: "Commissioner Districts",visible: false},
{ id: 12, title: "Voting Districts",visible: false},{ id: 11, title: "Zoning",visible: false},
{ id: 10, title: "FEMA Floodplain",visible: false},{ id: 9, title: "Tax Units",visible: false},
{ id: 8, title: "Sections",visible: false},{ id: 7, title: "Subdivisions",visible: false},
{ id: 6, title: "River/Streams"},{ id: 4, title: "Lakes"},{ id: 5, title: "County Boundary"},
{ id: 3, title: "Parcels"},{ id: 2, title: "City Limits"},
{ id: 1, title: "Railroads"},{ id: 0, title: "Roads"},
],
});
... View more
08-13-2024
01:18 PM
|
0
|
2
|
1747
|
|
POST
|
ESRI uses vaadin grid for it's tables. So I would start your search there instead of the ESRI api.
... View more
07-16-2024
07:18 AM
|
0
|
0
|
623
|
|
POST
|
Try, resultGraphic.graphic.removeAll(); or resultGraphic.removeAll()
... View more
06-27-2024
12:06 PM
|
0
|
1
|
2906
|
|
POST
|
You just need to create an element that when an event happens, like value entered or a button clicked, it passes that value into the part where you have the 10 miles coded. Here is an example of something similar I have done. Example Link
... View more
06-17-2024
06:06 AM
|
1
|
0
|
1624
|
|
POST
|
It probably has something to do with your IT. Do they make sure to keep Windows up to date? What version of Windows are you currently on? Did you try it off network, like at home or a library?
... View more
06-12-2024
12:49 PM
|
0
|
0
|
731
|
|
POST
|
Not sure exactly why it's not working. However, I switched the MapImageLayer to TileLayer and it work. Perhaps the large MapImageLayer is not rendering fast enough during the print/export? A TileLayer will use a cache in order to render faster.
... View more
05-01-2024
07:26 AM
|
1
|
1
|
1601
|
|
POST
|
Either set the layers you don't want listMode to "hide" or if you have a service with a lot of layers, like a MapImageLayer use the sublayers.
... View more
04-24-2024
01:02 PM
|
0
|
0
|
1826
|
|
POST
|
This is using a portal item, I can get that to work. It's a feature service where the issue is. User error. Thanks for the help!
... View more
04-15-2024
10:28 AM
|
1
|
0
|
1476
|
|
POST
|
Is it possible to edit a stand-alone table from a feature service with the Javascript API? I can do it using online and experience builder, but cannot figure it out using just the native Javascript API. Anyone have an example on how it's done? I am not trying to add it to the map/view or anything like that, just accessing the information to be edited. This is the error I get: Failed to resolve layer view (layer title: 'n', id: '####') f {name: 'featurelayerview:table-not-supported', details: {…}, message: "table feature layer can't be displayed"}
... View more
04-15-2024
09:34 AM
|
0
|
2
|
1553
|
|
POST
|
Here is a example of changing the calcite design. I switched the chevrons to arrows. https://codepen.io/mbdriscoll/pen/wvZyXoE?editors=1010
... View more
04-05-2024
07:46 AM
|
0
|
0
|
803
|
|
POST
|
I see. I think you are going to need to customize the calcite. I looked here, but cannot find which would be the best place to start.
... View more
04-05-2024
07:13 AM
|
0
|
0
|
811
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 1 | 03-23-2026 08:11 AM | |
| 1 | 03-23-2026 07:55 AM | |
| 7 | 03-18-2026 12:15 PM | |
| 1 | 03-11-2026 07:51 AM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|