|
POST
|
11-01-2021
01:46 PM
|
0
|
1
|
3229
|
|
POST
|
I just tried that and I get the error: [esri.widgets.Popup.PopupViewModel] e {name: 'fetch-features:invalid-screenpoint-or-view', details: {…}, message: 'Cannot fetch features without a screenPoint and view.'}
... View more
11-01-2021
12:08 PM
|
0
|
3
|
3233
|
|
POST
|
11-01-2021
11:43 AM
|
0
|
5
|
3239
|
|
POST
|
We had a non-ESRI employee create a Survey123 survey that was used to gather customer feedback. The survey is complete and she wanted to generate a simple report. The report is saying that it's limited to 1,000 records. That's a joke, right? Why is this so hard? Why can she not just generate a report of the results? This should be SIMPLE. Basically, all she wanted was a nice printable version of the charts/data under the Analyze tab, but if you use the "Print Current View" button, then it cuts everything off at the page breaks, and looks terrible. It's not exactly something you'd want to give to your board of directors. So, what's she doing? She's turning off all of the questions, and then one by one turning them on and printing the page to PDF. Thanks ESRI!
... View more
11-01-2021
11:41 AM
|
0
|
3
|
1495
|
|
POST
|
I'm trying to open a Popup for a feature returned from a QueryTask. If I just click on the feature in the map, then it works fine, but when the app first opens it zooms to a specific feature and I want to automatically display the popup for it. var meterNumber_Q = new Query();
meterNumber_Q.returnGeometry = true;
meterNumber_Q.outSpatialReference = sr;
meterNumber_Q.outFields = ['*'];
meterNumber_Q.where = `gs_meter_number = '${meterNumber}'`;
mapImageLayer.findSublayerById(27).queryFeatures(meterNumber_Q).then(zoomToServicePoint);
function zoomToServicePoint(results) {
var feature = results.features[0];
view.popup.open({
features: feature,
title: '<b>Layer: </b>Service Point',
content:
'<ul><li><b>Service Status: </b>{gs_service_status}</li>' +
'<li><b>Meter Number: </b>{gs_meter_number}</li>' +
'<li><b>Access Note: </b>{AccessNotes}</li><ul>'
});
} This opens the Popup, but it displays the Content exactly as above even though the feature contains the attributes listed inside the {}. Why aren't the attributes being transferred? Is there an easier way to do this since I already have the exact same information setup on the sublayer as a popupTemplate? {
id: 27, //Service Point
visible: true,
legendEnabled: true,
title: 'Service Point',
popupTemplate: servicePopupTemplate,
}, Thanks
... View more
10-28-2021
09:48 AM
|
0
|
6
|
3276
|
|
POST
|
Thanks, that does seem to work, but I don't understand how it's setting the scale level. It's too far out for what I'm wanting, but it does locate the feature. I think I'll just keep doing it how I always have since I can easily get the scale level I want using expand: servicePoint_QT.execute(meterNumber_Q).then(zoomToServicePoint);
function zoomToServicePoint(results) {
var geometry = results.features[0].geometry;
var buffer = geometryEngine.buffer(geometry, 10, 'feet');
view.extent = buffer.extent.expand(3);
}
... View more
10-28-2021
08:55 AM
|
0
|
1
|
1968
|
|
POST
|
On map load I want to zoom the map to a specific single feature, what's the best way to do this? `executeForExtent` doesn't work because the single feature doesn't have an extent. I think in the past I buffered the returned feature's geometry and zoomed to that created polygon feature. Is that still the best way to do this?
... View more
10-28-2021
08:18 AM
|
0
|
3
|
2016
|
|
POST
|
05-04-2021
10:15 AM
|
0
|
1
|
1752
|
|
POST
|
05-04-2021
07:47 AM
|
0
|
3
|
1769
|
|
POST
|
11-04-2020
03:23 PM
|
0
|
3
|
3964
|
|
POST
|
10-07-2020
09:41 AM
|
0
|
1
|
3077
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-23-2025 07:38 AM | |
| 2 | 04-23-2025 07:42 AM | |
| 3 | 04-22-2025 06:00 PM | |
| 1 | 04-01-2019 03:10 PM | |
| 2 | 03-08-2023 03:47 PM |