|
DOC
|
Thanks Robert! I also just figured out that I deleted the else clause of the if statement… Now it’s working! Thank you so much!
... View more
05-18-2016
10:33 AM
|
0
|
0
|
6468
|
|
DOC
|
Unfortunately not (no image visible). I used your web map and your eSearch config to setup a test app on my end and made the change I outlined above and was able to get the eSearch to use the webmaps popups. So your error is likely a syntax error but I would need to see it to help more. The message says: create widget error: widgets/eSearch/Widget And as can be expected the widget does not load. I just uploaded the latest version of the app under www.nicoleueberschaer.de/minagri_2/<http://www.nicoleueberschaer.de/minagri_2/> Thanks for having a look at it!
... View more
05-18-2016
09:30 AM
|
0
|
0
|
6468
|
|
DOC
|
Make sure you are making this change to the specific apps Widget.js file. The one thing that throws people off intially is that they make changes to the \client\stemapp\widgets\eSearch\Widget.js and then they do not see that change in their app. That is because when you create an app and add the widget it copies the widget from \client\stemapp\widgets folder over to the \server\apps\[app#]\widgets folder. That means you have to make the changes in the \server\apps\[app#]\widgets\eSearch\Widget.js file. Thanks Robert, this hint was crucial! The string change worked with applying the change also to the file in the app folder. Unfortunately I still get this error message after doing the change in the Widget.js file: (I can’t log in on geonet at the moment so I hope you can see the image…)
... View more
05-18-2016
08:21 AM
|
0
|
0
|
6468
|
|
DOC
|
I couldn't see a difference locally but I'm just uploading the latest version again, then we can see...
... View more
05-18-2016
07:44 AM
|
0
|
0
|
6468
|
|
POST
|
In the widget it says "Search alias" but I don't think that my user will know what that means. So I wanted to change it to "Search by criteria". I looked through all the eSearch files and found one "Search alias" in strings.js. I changed it to "Search by criteria" but it does not change in the widget. Where else can I find and change it?!
... View more
05-18-2016
06:48 AM
|
0
|
1
|
2318
|
|
POST
|
Hm, the way I did it until now didn't show a message. Only when I activate the buffer option in the shape search I get it. I used the value search, typed in the name, pressed the search button, went to spatial search, chose the parcels as search entities layer and clicked then "intersected by" search button. -> no Result When I do a shape search on the same market (with a circle) and check the option Buffer Graphic 1 km and then go to spatial search, define a 2.5 km search distance and click again the "intersected by" search button I get the message. When I then click the buffer I get the expected parcel, when I click selection then I get no Result again. At this point I would have expected that the search distance is added to the before defined buffer when I click the buffer button. Did I get something wrong?
... View more
05-18-2016
06:33 AM
|
0
|
2
|
992
|
|
POST
|
I wonder if I get it right how the spatial search is supposed to work. - I performed a value search looking for trade centers named Gitega. - I know that there is a parcel in about 1 km distance from this trade center: But when I perform a spatial search with these settings: -> I get no results when using the first two buffer options. -> I get a result of 14 parcels with the last buffer option but not the one I expected: So I wonder at which point I have a misunderstanding of the spatial search function. The app is in "work" mode available on http://www.nicoleueberschaer.de/minagri/ if you want to try it yourself. Thanks for your help!
... View more
05-18-2016
01:53 AM
|
0
|
4
|
4355
|
|
DOC
|
Hi Robert, no, it looks like I'm using the newest version: Widget Version: 2.0.1.3 Widget is designed to run in Web AppBuilder version: 2.0.1 This enhanced search widget offers the ability to search by a string, geometry and spatial relationship. Maybe I didn't make clear enough where my problems are: With this setting: -> I get a popup from the results list but not the popup that was defined in the web map. -> Outside the search I get the web map defined popup. With this setting: -> From the search result I can zoom to the parcel but no popup is displayed -> When I click into the parcel the webmap defined popup shows. What I would like: Click on result list zooms to parcel AND shows the web map defined popup. Regarding the link: I defined the link in the settings for the search layer: I can say to disable the link in the popup: But I can't disable it for the results list. Not trying to be sarcastic, but if it were that easy I would have already added it. You can look at the buildWhereClause function but there is a lot more going on with adding or removing of Features from the currentFeatures array. Hehe, yes, sorry. Somehow I was "hoping" that nobody needed it until now 😉 Starting a new topic with another issue I have...
... View more
05-18-2016
01:49 AM
|
0
|
0
|
6468
|
|
DOC
|
hmmmm, - Regarding my web map popups: Only when I "Disable search results popup" I get the web map popup when clicking in my feature. But then I loose the nice functionality to get the popup straight from the results list. Is there a way to combine both? - Link: I tried to make the popup to look about the same as from the web map because of the above mentioned functionality. In my web map popup I have a customized text that shows most of the attributes and on top a link for sending an email. When I add a link in eSearch I cannot specify that it should only show in the popup. Do I? - Selection: I realized that there is no option "select from current selection" but I thought it can't be too difficult to add. Isn't that mainly a matter of SQL definition? Could you maybe point me to the coding lines where the available options are defined? Then I could see how it looks like. Thanks Robert!
... View more
05-17-2016
06:57 AM
|
0
|
0
|
6449
|
|
DOC
|
Sorry for this flood of questions... I was wondering if (and where) I could add or change the options for the selection: Instead off adding to previous selection I would like to limit the new search to previous search results.
... View more
05-17-2016
05:16 AM
|
0
|
0
|
6449
|
|
DOC
|
And another question: Where could I possibly tell the widget to clear the selection when closing the eSearch Widget? I found the function clearSelection in List.js but I don't know how I can "attach" it to the closing X.
... View more
05-17-2016
04:32 AM
|
0
|
0
|
6449
|
|
DOC
|
Dear Robert, Can I somehow use the customized popup from my web map to be shown with the search results? I have seen in another discussion that there are problems with using the web map defined popups with search results. I was hoping that eSearch would solve this. But it seems like I can only say no popup to show from the results list or I get the popup as defined by the widget. Alternatively: Can I change the result popup somehow the way I did in my web map? For example using a tabulator between Attribute name and value to make the attributes easier to read? Or to define to show the data in a table? In which file would I define this? Added: I don't want the link that I defined for the popup to show in the results list! In which file is that configured, please? Thanks in advance!
... View more
05-17-2016
04:09 AM
|
0
|
0
|
6449
|
|
POST
|
Thank you Robert for your always so prompt answers! What would I do without you? 🙂 I feel like I searched the whole WWW for information about this so there is probably really no list with minimum requirements for deploying a web app... I never heard of a Windows box or IIS before but I guess a System Admin should know 😉
... View more
05-16-2016
12:25 PM
|
0
|
1
|
576
|
|
POST
|
Sorry if this question sounds funny to some of you. I am not familiar with server settings, server hardware and such alike... I was wondering if there is somewhere a comprehensive list I could give our client to check if his server should be able to host the Web apps we are creating for him with Web AppBuilder Developer Edition 2.0. Thanks for hints!
... View more
05-16-2016
12:02 PM
|
0
|
3
|
2595
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-09-2023 03:26 AM | |
| 1 | 02-13-2019 01:51 AM | |
| 1 | 04-03-2025 11:07 AM | |
| 1 | 01-14-2024 01:34 PM | |
| 1 | 10-01-2018 10:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|