What I'm trying to do is to have all intersecting points returned with the attribute grid view from a selected polygon. Users click to select the polygon. Is there a widget like that out there ? Thanks.
The eSearch widget allow you to draw a point on the map that will select a polygon and then use the "By Spatial" tab to select features that intersect the selected polygon. If you configure the search layer to be added as an operational layer and open in Attribute Table widget then the results will display in grid format in the Attribute Table widget.
Enhanced Search Widget Version 2.9 - 10/3/18
Thank you so much Robert. I'll work on it.
I followed the instructions http://www.tapasdas.com/WABv2.pdf to implement your widgets however I got the below error when I ran startup.bat. Anything that I missed ? Thankyou very much for your help.
In config.json I have:
The page opens fine.
In my WAB folder:
I have not seen that error before. I am not sure what to suggest besides install a fresh copy of WAB on your machine in a different folder try installing the eSearch widget again. You must have made a syntax error in some file.
Thanks. It's weird cuz I haven't touch any of those files at all.
So did you have WAB running before then?
When I registered my app, everything went fine, no error, got my app ID. However, when typed http://localhost:3344/ it returns error: "Unable to access http://srvarcdev.harriscad.org/arcgis A server with the specified hostname could not be found"
If I copy paste http://srvarcdev.harriscad.org/arcgis to browser it will auto redirect to http://srvarcdev.harriscad.org/arcgis/rest/services and this page shows up fine.
On this server I have portal set up http://srvarcdev.harriscad.org/portal/home/
and in the step to register my app, I have the URL http://localhost:3344/webappbuilder.
Do you think the issue here is my url path ? Thanks.
Is srvarcdev.harriscad.org a public facing url? When I try and go to it, I get an error.
I would change the GeometryService url back to the default of
No it's internal not a public site. When I typed or copy the url it does the redirect thing. The page still shows up fine though.
I changed the url back to default as you advised. Same error!
When I run startup.bat as administrator, I got " "server" directory does not exist"
I is going to have something to do with the redirect thing. I am not sure what to advice you from here though. I don't have any experience with urls automatically getting re-directed.
Node.js has been run and installed previously on this server. Would that cause a problem that you can think of?
No I don't think Node JS is going to be any part of the issue. The issue sounds more like an IT issue as to why the urls are getting redirected.
My co-worker re-configured portal and now it works fine. I'm able to get your widgets work. They're wonderful, such a great help for people like me. I'd like to do a little more customization to suit my need. I hope you could help me out.
1/ Disable zoom from "Results" tab ? (I still want to keep "zoom to search results", just the zoom to each individual result from results tab I want to disable)
2/ Is there a way for me to trigger the spatial search on page load ? What I'm trying to achieve is to pass an extent through the URL and the webpage should load with all the selection results highlighted.
The easiest way to do #1 is open the List.js file and find this line and comment it out:
this.emit('click', this.selectedIndex, item);
Is there a way for me to trigger the spatial search on page load? you can have that tab as the active tab by using the widgets settings dialog and changing the "Initial View". But no there is not a current method for doing a graphical search based on a url parameter. You can search based on a value but not a graphic from the url.
Retrieving data ...