|
POST
|
Robert, If you remove the search results layer and keep the same zoom level, everything looks fine but that defeats the purpose of doing the search since clearing the results removes the search results layer. Our users want to be able to search for a site, permit, etc. have the tool zoom them in and be able to print it. I was thinking of another option but that would require modifying your code. Right now, if you don’t have the “add search results as an operational layer” option turned on, the widget zooms you into the features extent but if you have that layer turned off, you don’t see any the found features. Can you change your code so that when it finds a feature it would automatically turn on the layer containing the features you searched for?
... View more
07-01-2015
12:31 PM
|
0
|
2
|
1710
|
|
POST
|
Hi Robert, As you suggested, here is the new thread on this problem. to recap, the search functionality works fine and I currently have it set to "Add Result as Operational Layer." I am searching against a point layer. Everything looks great until I use the out of the box print tool. When I do a print, the point symbols come out huge. Changing the symbol or its size has no effect. I have also tried changing all of the Advanced settings, map scale, extent, etc. with no luck. I am using Widget Version 1.1.8 and Web AppBuilder 1.1. Aside from the two images, I've attached a zip file containing the entire Web App. The first image is how it looks on the screen. Printed pdf.
... View more
07-01-2015
10:08 AM
|
0
|
9
|
4392
|
|
DOC
|
Robert, Updated the widget to 1.1.8 and changed the symbol as well but the problem still persists. Here’s screen capture after search. Here’s printed pdf.
... View more
07-01-2015
09:39 AM
|
0
|
0
|
6790
|
|
DOC
|
Robert, Do you know if Tapas’ output matches what he sees on the screen? The symbols look pretty big to me on his pdf, granted not as big as they are on mine. Maybe Tapas was zoomed out more than I was. I was zoomed in pretty close.
... View more
07-01-2015
09:18 AM
|
0
|
0
|
6790
|
|
DOC
|
Robert, I’ve only been working with Web AppBuilder for two months. I’ve been programming since 1991 (Arc/Info aml, ArcView Avenue, VBA and C#) but Web AppBuilder and Javascript is a whole new world so I have a BIG learning curve ahead of me. The only reason I am using the older version is because that is what I started with and didn’t realize there was a newer version. I will update the widget, try again and let you know what happens. I was using the same symbol as Tapas, marker 77 yellow but from my tests, the symbol does not matter, I tried four different symbols and had the same issue. As far as I can tell, the issue is limited to just points, Lines and polygons display correctly on the printout. Carlos
... View more
07-01-2015
08:54 AM
|
0
|
0
|
6790
|
|
DOC
|
Robert, Here is the eSearch widget config.json { "layers": [ { "name": "Monitoring Stations", "existObjectId": true, "url": "https://mapstest.sfwmd.gov/map_ssl/rest/services/Monitoring/Stations_FS/FeatureServer/18", "spatialsearchlayer": false, "zoomScale": 10000, "shareResult": false, "addToAttrib": false, "expressions": { "expression": [ { "alias": "Site Name", "textsearchlabel": "Search by Site or Station", "values": { "value": [ { "fieldObj": { "name": "SITE", "label": "SITE", "shortType": "string", "type": "esriFieldTypeString" }, "valueObj": { "value": "" }, "prompt": "Sites or Stations", "textsearchhint": "Example: BC102TN1, S356, BF1", "sqltext": "UPPER(SITE) = '[value]' OR UPPER(STATION) = '[value]'", "operation": "stringOperatorIs" } ] } } ] }, "titlefield": "SITE", "fields": { "all": true, "field": [ { "name": "SITE", "alias": "SITE" }, { "name": "STATION_DESC", "alias": "STATION_DESC" }, { "name": "STATION", "alias": "STATION" } ] }, "showattachments": false, "layersymbolfrom": "config" } ], "initialView": "text", "multipartgraphicsearchchecked": false, "addpointtolerancechecked": false, "keepgraphicalsearchenabled": true, "autozoomtoresults": true, "toleranceforpointgraphicalselection": 6, "bufferDefaults": { "bufferUnits": { "bufferUnit": [ { "name": "UNIT_FOOT", "label": "Feet" }, { "name": "UNIT_STATUTE_MILE", "label": "Miles" }, { "name": "UNIT_METER", "label": "Meter" } ] }, "bufferDefaultValue": 5, "bufferWKID": 102003, "simplefillsymbol": { "color": [ 1, 185, 253, 128 ], "outline": { "color": [ 1, 185, 253, 204 ], "width": 1, "type": "esriSLS", "style": "esriSLSSolid" }, "type": "esriSFS", "style": "esriSFSSolid" } }, "spatialrelationships":{ "spatialrelationship":[ { "name":"esriSpatialRelContains", "label":"entirely contained in" },{ "name":"esriSpatialRelIntersects", "label":"intersected by" },{ "name":"esriSpatialRelEnvelopeIntersects", "label":"intersected by envelope of" } ] }, "graphicalsearchoptions":{ "enablepolyselect": true, "enablefreehandpolyselect": true }, "symbols": { "simplemarkersymbol": null, "picturemarkersymbol": { "url": "/widgets/eSearch/images/i_search.png", "height": "20", "width": "20", "type": "esriPMS", "angle": "0" }, "simplelinesymbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 204 ], "width": 2 }, "simplefillsymbol": { "color": [ 255, 0, 0, 128 ], "outline": { "color": [ 255, 0, 0, 204 ], "width": 2, "type": "esriSLS", "style": "esriSLSSolid" }, "type": "esriSFS", "style": "esriSFSSolid" } } }
... View more
07-01-2015
06:56 AM
|
0
|
0
|
6790
|
|
DOC
|
Robert, Thank you! If I can help you debug/test things please don’t hesitate to contact me. Carlos
... View more
06-30-2015
12:12 PM
|
0
|
0
|
6790
|
|
DOC
|
Robert, Thank you! If I can help you debug/test things please don’t hesitate to contact me. Carlos
... View more
06-30-2015
12:09 PM
|
0
|
0
|
6790
|
|
DOC
|
Hi Robert, Thanks for the great tool! I am having a printing problem with the enhanced search widget. The search functionality works fine and I currently have it set to "Add Result as Operational Layer." I am searching against a point layer. Everything looks great until I use the out of the box print tool. When I do a print, the point symbols come out huge. Changing the symbol or its size has no effect. I have also tried changing all of the Advanced settings, map scale, extent, etc. with no luck. I am using Widget Version 1.1.6 and Web AppBuilder 1.1. Do you have any idea what the problem might be? The first image is how it looks on the screen. This is what the printout looks like. Thanks! Carlos
... View more
06-30-2015
11:57 AM
|
0
|
0
|
6790
|
|
POST
|
Thanks Robert, Users need to be able to add data at runtime so I will look at Rebecca's Add Service Widget and see if I can figure it out. Carlos
... View more
06-29-2015
12:28 PM
|
0
|
1
|
382
|
|
POST
|
The Add Data button is only available in AGOL, not Web AppBuilder online or developer edition.
... View more
06-29-2015
12:00 PM
|
0
|
3
|
1856
|
|
POST
|
Sorry for the double post, someone else replied and told me I should be posting to the Web AppBuilder form, not where I posted it initially.
... View more
06-29-2015
11:41 AM
|
0
|
0
|
1856
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-11-2016 06:06 AM | |
| 1 | 08-07-2015 10:13 AM | |
| 2 | 06-29-2015 12:45 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|