POST
|
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. Thank you,
... View more
05-02-2016
11:09 AM
|
0
|
1
|
318
|
POST
|
Robert, Node.js has been run and installed previously on this server. Would that cause a problem that you can think of?
... View more
04-27-2016
12:18 PM
|
0
|
3
|
318
|
POST
|
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. http://srvarcdev.harriscad.org/arcgis/rest/services?redirect=http://srvarcdev.harriscad.org/arcgis/rest/services/Utiliti… 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" Thank you
... View more
04-27-2016
09:42 AM
|
0
|
5
|
1349
|
POST
|
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. Thanks
... View more
04-26-2016
01:20 PM
|
0
|
7
|
1349
|
POST
|
Thanks. It's weird cuz I haven't touch any of those files at all.
... View more
04-26-2016
12:38 PM
|
0
|
9
|
1349
|
POST
|
Hi Robert, 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: "geometryService": "http://srvarcdev.harriscad.org/arcgis/rest/services/Utilities/Geometry/GeometryServer", The page opens fine. In my WAB folder:
... View more
04-26-2016
11:45 AM
|
0
|
1
|
1349
|
POST
|
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.
... View more
04-22-2016
12:09 PM
|
0
|
14
|
4376
|
POST
|
Hi all, I'm new at WF. Below is what I need to accomplish. I hope my question makes sense to you. Job assigned: Pick an AOI (polygon) Job retrieved: Viewer is able to see list (grid view) of account (points) inside of that AOI What is the best approach to accomplish this task ? (I would like to have the js viewer for the job retrieved) Thank you very much for your help.
... View more
04-20-2016
01:14 PM
|
0
|
0
|
2727
|
POST
|
Thanks Jake. I changed the way of searching now. In stead of multiple layers I can combine them into 1 point service layer. However, I still have trouble making the parcel viewer template to work with point service layer. Could you please help me out ? JavaScript & are very new to me. I've successfully found the feature intersect with mouse click with the chunk of codes in bold. The next step is to get the point highlighted, zoomed to and the popup window. I've tried to do something with the italic bold but I'm getting nowhere. Your help is very much appreciated. //Query parcel for parcel information function QueryParcel(layer, parcelId, mapPoint, objectId) { if (layer.ParcelQuery) { var queryTask = new esri.tasks.QueryTask(layer.ServiceURL); var query = new esri.tasks.Query(); query.outSpatialReference = map.spatialReference; query.returnGeometry = false; //????? // query.returnGeometry = true; query.outFields = [layer.OutFields]; if (mapPoint) { var centerPoint = new esri.geometry.Point (mapPoint.x, mapPoint.y, mapPoint.spatialReference); var mapWidth = map.extent.getWidth(); //Divide width in map units by width in pixels var pixelWidth = mapWidth / map.width; //Calculate a pixel envelope width var tolerance = 50 * pixelWidth; var queryExtent = new esri.geometry.Extent (1, 1, tolerance, tolerance, mapPoint.spatialReference); query.geometry = queryExtent.centerAt(centerPoint); } else { var relationshipId; parcelAttributeID.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g, function (match, key) { relationshipId = key; }); query.where = relationshipId + " in ('" + parcelId + "')"; } query.spatialRelationship = esri.tasks.Query.SPATIAL_REL_INTERSECTS; ShowProgressIndicator(); queryTask.execute(query, function (featureSet) { if (featureSet.features.length == 0) { alert(messages.getElementsByTagName("unableToLocateParcel")[0].childNodes[0].nodeValue); HideProgressIndicator(); return; } var query1 = new esri.tasks.Query(); query1.outSpatialReference = map.spatialReference; query1.where = dojo.string.substitute(layer.LocateParcelQuery, [dojo.string.substitute(parcelAttributeID, featureSet.features[0].attributes)]); query1.returnGeometry = true; query1.outFields = ["*"]; queryTask.execute(query1, function (results) { if (results.features.length == 0) { HideProgressIndicator(); RemoveScrollBar(dojo.byId("divAddressScrollContainer")); RemoveChildren(dojo.byId("tblAddressResults")); alert(messages.getElementsByTagName("unableToLocateParcel")[0].childNodes[0].nodeValue); return; } if (!mapPoint) { var polygon = results.features[0].geometry; // var mapPoint = polygon.getExtent().getCenter(); switch (polygon.type) { case "point": // if the graphic is a point var mapPoint = polygon.geometry; break; case "extent": // if the graphic is an extent var mapPoint = graphic.getCenter(); default: // if the graphic is a line or polygon, which for a parcel this will probably // be the case. var mapPoint = polygon.getExtent().getCenter(); if (!polygon.contains(mapPoint)) { mapPoint = polygon.getPoint(0, 0); } } } if (!isMobileDevice) { if (featureSet.features.length == 1) { dojo.byId("tdList").style.display = "none"; AddParcelToMap(results.features[0], mapPoint); PopulateParcelInformation(mapPoint, results.features[0], results.features.length, results.features[0].geometry); } else { AddParcelToMap(results.features[0], mapPoint); ShowParcelList(mapPoint, featureSet.features, results.features[0].geometry, queryTask, layer.LocateParcelQuery); dojo.byId("tdList").onclick = function () { ShowParcelList(mapPoint, featureSet.features, results.features[0].geometry, queryTask, layer.LocateParcelQuery); } } } else { if (isMobileDevice) { HideProgressIndicator(); map.infoWindow.setTitle(""); map.infoWindow.setContent(""); setTimeout(function () { var screenPoint; selectedGraphic = mapPoint; screenPoint = map.toScreen(mapPoint); screenPoint.y = map.height - screenPoint.y; map.infoWindow.resize(225, 65); // no need to change 2/20/15 map.infoWindow.show(screenPoint); if (featureSet.features.length == 1) { for (var i in results.features[0].attributes) { if (results.features[0].attributes.hasOwnProperty(i)) { if (!results.features[0].attributes) { results.features[0].attributes = showNullValueAs; } } } map.infoWindow.setTitle(dojo.string.substitute(infoWindowHeader, results.features[0].attributes).trimString(20)); map.infoWindow.setContent(dojo.string.substitute(infoWindowContent, results.features[0].attributes)); } else { map.infoWindow.setTitle(dojo.string.substitute(featureSet.features.length + " Features found")); } AddParcelToMap(results.features[0], mapPoint); dojo.connect(map.infoWindow.imgDetailsInstance(), "onclick", function () { if (featureSet.features.length == 1) { ShowProgressIndicator(); PopulateParcelInformation(mapPoint, results.features[0], results.features.length, results.features[0].geometry); } else { ShowParcelList(mapPoint, featureSet.features, results.features[0].geometry, queryTask, layer.LocateParcelQuery); dojo.byId("tdList").onclick = function () { ShowParcelList(mapPoint, featureSet.features, results.features[0].geometry, queryTask, layer.LocateParcelQuery); } } }); }); } } });
... View more
06-01-2015
10:34 AM
|
0
|
0
|
424
|
POST
|
Hi, I need to customize the tax parcel viewer to search from 2 different layers. If nothing found in 1st layer continue to search in 2nd layer. Could you please help me to accomplish this task ? Thank you, Helen
... View more
05-21-2015
07:11 AM
|
0
|
2
|
2764
|
POST
|
Hi, What I'm trying to achieve is placing a call out text with anchor point is the polygon centroid. I got that done. However for the callout part, I don't know how to make it appear about 1/2 an inch away from the point (polygon's centroid) on the screen. Any help is greatly appreciated. pArea = pFeature.Shape pPointAnchor = pArea.Centroid pPointText = ?????? Dim pCallout As ICallout pCallout = New BalloonCallout pCallout.AnchorPoint = pPointAnchor Dim pElement As IElement pElement = pTextElement Dim pTextSymbol As IFormattedTextSymbol pTextSymbol = New TextSymbol pTextSymbol.Background = pCallout pTextSymbol.Color = pColor pTextSymbol.Font = pFontDisp pTextElement.Symbol = pTextSymbol pElement.Geometry = pPointText pGraphicsContainer.AddElement(pElement, 0) pGraphicsContainer.AddElement(pointElement, 0)
... View more
01-13-2015
12:58 PM
|
0
|
1
|
4004
|
POST
|
All, I'm trying to build my 1st website and since there're many out there, I do not really know what's best for my case. What I'm having right now is a .net web that shows all account numbers base on user's inputs and what I need is a button on that app that fires a gis web app showing polygons of those accounts. I'm debating between flex and javascript. I need a quick, and easiest way posibble since I'm not familiar with either of them. Your help is greatly appreciated. Helen
... View more
10-28-2014
12:09 PM
|
0
|
3
|
3482
|
POST
|
Hi, I'm trying to place a callout at my selected feature but my screen coordinates from map coordinates is not giving me the right point. Anything I missed ? Do I have to set spatialReference in my code ? If yes, please show me how. X,Y coordinate system of my layer: NAD_1983_StatePlane_Texas_South_Central_FIPS_4204_Feet WKID: 2278 Authority: EPSG Projection: Lambert_Conformal_Conic Attached is my code. Your help is greatly appreciated.
... View more
10-21-2014
07:54 AM
|
0
|
0
|
2273
|
POST
|
I would never figure this out by myself. Thank you so much.
... View more
11-07-2012
11:39 AM
|
0
|
0
|
648
|
Title | Kudos | Posted |
---|---|---|
1 | 08-21-2020 05:42 AM | |
1 | 09-28-2021 05:11 AM | |
1 | 09-17-2021 10:17 AM | |
1 | 05-19-2020 04:39 AM | |
1 | 09-21-2018 02:06 PM |
Online Status |
Offline
|
Date Last Visited |
01-19-2022
01:25 PM
|