POST
|
I found out what was wrong not too long after posting, but for some reason I couldn't find this post, so I thought it was deleted or something. Anyway, the problem is that featureLayer has been changed to just layer now. Once I made that change, then it worked. sources.push({
layer: new FeatureLayer({
url: 'OurServer/MapServer/2',
}),
name: 'Service Point',
displayField: 'gs_name',
outFields: ['*'],
searchFields: ['gs_name'],
placeholder: 'Search for customer information.',
maxResults: 3
});
... View more
03-08-2023
03:47 PM
|
2
|
0
|
520
|
POST
|
I keep just getting: No results There were no results found for "search term". When there should be results. I'm upgrading apps to 4.26, and the Search widget just isn't working. I even tried a very simple example, and it's still not working. 'esri/widgets/Search'
Search
// SEARCH WIDGET
const sources = [];
sources.push({
featureLayer: new FeatureLayer({
url: 'OurServer/MapServer/2',
}),
name: 'Service Point',
displayField: 'gs_name',
outFields: ['*'],
searchFields: ['gs_name'],
placeholder: 'Search for customer information.',
maxResults: 3
});
const searchWidget = new Search({
view: view,
sources: sources,
includeDefaultSources: false,
});
view.ui.add(searchWidget, {
position: 'top-left',
index: 0,
}); Super simple, but it just doesn't work. I don't see any network requests either. Any idea what could be wrong here?
... View more
03-07-2023
02:58 PM
|
0
|
2
|
548
|
POST
|
Ooh great, I didn't realize that, I'll give it a try... thanks!
... View more
11-30-2022
05:14 PM
|
0
|
0
|
661
|
POST
|
Is there an easy way to have the Expand widget show text instead of icons?
... View more
11-29-2022
02:57 PM
|
0
|
2
|
721
|
POST
|
Sorry Rene, I figured it out after I posted... I tried to delete the post but it wouldn't let me. And now I can't get the original post back. I realized I had another layer where I was setting: layer.labelingInfo = null And that's what's throwing the error, where it worked in v4.21. It looks like I should be using labelsVisible instead.
... View more
11-16-2022
03:46 PM
|
1
|
0
|
570
|
POST
|
11-16-2022
02:55 PM
|
0
|
2
|
629
|
POST
|
Is there a better solution than this now? Id' rather not mess with CSS for this. I see Expand has a label property, but I'm not sure what it even does.
... View more
11-16-2022
10:06 AM
|
0
|
0
|
1171
|
POST
|
We're having an issue with an iPad... we open a route, and then when the user minimizes the app and opens a different app on the iPad and then when they go back to the Navigator app it says "Loading" and then it clears the existing route as if a route was never loaded. I tested this on my iPad and it doesn't do this... it keeps the route loaded even when I go back and forth from apps. Any idea why this other iPad is not doing that and clearing the route?
... View more
05-10-2022
04:31 PM
|
0
|
0
|
583
|
POST
|
Talk about unintuitive! Yikes! Who does the UX/UI for this app?
... View more
01-06-2022
03:13 PM
|
0
|
0
|
574
|
POST
|
That's the problem though. No one knows and you need to be a super duper extreme power user just to generate a report, which is crazy since it's a survey app -- of course people are going to want to generate reports from the data. Even with the custom templating I don't see how to easily include charts/graphs. Like come on, have some nice looking reports by default. And limiting a report to 1,000 records in this day and age is just ridiculous -- like that's embarrassing. Why make it so you need a PHD and development experience? I thought that's what ESRI was for -- easy solutions for the end user -- but let me tell you, this is NOT easy. We'll just stick with SurveyMonkey or Microsoft products for these needs because, fortunately, they do make it easy.
... View more
11-02-2021
10:43 AM
|
0
|
0
|
907
|
POST
|
@RobertScheitlin__GISP thanks, missing the array, also I just realized that I only need to do: view.popup.open({
features: [feature],
}); Because the queried feature is getting it's popupTemplate from the sublayer.
... View more
11-02-2021
08:19 AM
|
1
|
0
|
1797
|
POST
|
11-01-2021
01:46 PM
|
0
|
1
|
1805
|
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
|
1809
|
POST
|
11-01-2021
11:43 AM
|
0
|
5
|
1815
|
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
|
949
|
Title | Kudos | Posted |
---|---|---|
1 | 04-01-2019 03:10 PM | |
2 | 03-08-2023 03:47 PM | |
1 | 11-16-2022 03:46 PM | |
1 | 11-02-2021 08:19 AM | |
1 | 05-25-2021 09:50 AM |