|
BLOG
|
Timothy Hales what do you think of adding screen recordings to the point system? Maybe others would use them to post questions. There is free software for it. And I'll be fair, none of the ones I already posted don't have to count. I have received positive feedback when asking questions in that way and thought it may help others in answering questions.
... View more
06-11-2015
02:55 PM
|
0
|
0
|
1263
|
|
POST
|
Is your site public or can you post your page here: JS Bin - Collaborative JavaScript Debugging ?
... View more
06-11-2015
02:41 PM
|
0
|
3
|
1261
|
|
POST
|
I do know how to do that. Maybe this video will help:
... View more
06-11-2015
02:40 PM
|
0
|
4
|
1467
|
|
POST
|
If you use Google Chrome, you can press F12 when you start up your application and then it usually tells you what it's looking for. Most of the time I have seen it as a typo or not declaring a variable with a var and then attempting to use it.
... View more
06-11-2015
02:27 PM
|
0
|
5
|
1261
|
|
POST
|
I have entered in the parameters for a query here: Query: Sign (ID: 0) I return a total of 8 signs in this query, but I want to connect the returned information to a form using previous and next buttons to increment or decrement by one for each button click to assign that specific record to the form and then switch forms once the max or minimum number has been reached. Just to be safe, my parameters were as follows: Where: SUPPORTID='691' Out Fields: * Order By Fields: OBJECTID Everything else was the default.
... View more
06-11-2015
02:08 PM
|
0
|
6
|
4522
|
|
POST
|
I created a .NET application against the JavaScript API and created custom tools. You can check out my code behind. Perhaps that will help: csergent45/SOA-Final · GitHub I code in VB.NET so if you want or need to convert the code to C#, you can do it here: Convert C# to VB.NET - A free code conversion tool - developer Fusion The good news is that if your are comfortable with Visual Studio, you can still develop in it in JavaScript. And there is a lot of support for it online and in the GeoNet forums to help you along the way.
... View more
06-11-2015
12:35 PM
|
2
|
4
|
1221
|
|
POST
|
Melita Kennedy I thought you needed an envelope to create a buffer.
... View more
06-11-2015
12:02 PM
|
0
|
0
|
1186
|
|
POST
|
Tom and Kelly Hutchins I removed the class btn from the buttons and commented out the query lines completely, but for some reason, there was a postback when I clicked on the previous or next buttons. I also had to add a button type of button to prevent that. This part is working. Thanks guys.
... View more
06-11-2015
09:12 AM
|
0
|
0
|
1438
|
|
POST
|
I have a form named attributes modal that uses esriBootstrap. I have the following code as I want the form to close after an update or when a user clicks cancel, but it closes even when a user clicks on previous or next. Any idea why? Here is the code: query("#attributesModal .btn").on("click", function (e) {
var target = e.target;
if (target.innerText === "Update") {
updateSupports();
app.attributesModal.modal("hide");
document.getElementById("btnSupportUpdate").style.visibility = "hidden";
} else if (target.innerText === "Cancel") {
app.attributesModal.modal("hide");
document.getElementById("btnSupportUpdate").style.visibility = "hidden";
}
}); Thoughts Tom Wayson Here is my latest commit on Github: https://github.com/csergent45/streetSigns/tree/31dcc8e2306e00c81e7e2094ca14b4fa583ae44a and my site has been updated at: http://maps.decaturil.gov/streetsigns/
... View more
06-10-2015
02:35 PM
|
0
|
3
|
4397
|
|
POST
|
It's an esriInteger, but does not appear to populate the where statement: f:json returnIdsOnly:true returnCountOnly:true where: returnGeometry:false spatialRel:esriSpatialRelIntersects I got this from the network tab.
... View more
06-10-2015
09:59 AM
|
0
|
5
|
1922
|
|
POST
|
I updated my code to that, but I still receive the following: {"error":{"code":400,"message":"Unable to complete operation.","details":[]}}
... View more
06-10-2015
09:41 AM
|
0
|
7
|
1922
|
|
POST
|
I am trying to count the related features when the user clicks on a feature, but my query won't run. An example of what I am trying to do in our REST Service directory is the following: The Where Statement: SUPPORTID='691' The URL to run the where statement: Layer: Sign (ID: 0) I have also published app at: maps.decaturil.gov/streetSigns/ And the latest version is on github at: csergent45/streetSigns at 297fa633f0ebb529862e35b7019c04d7259fbfe8 · GitHub In my code, I have entered the following for the code block to run the query and to display a count in the console, but it's not working: // url the query task is to be performed on
var queryTask = new QueryTask(config.signLayerUrl);
var query = esriQuery();
// count related records
esriQuery.where = "SUPPORTID =='" + supportId + "'";
// display number of related records in console
queryTask.executeForCount(query,function(count){
console.log(count);
}) The supportId is the support ID of the feature that was clicked on. The config.signLayerUrl is the URL that I am querying. Why doesn't this work? I referenced the API at: https://developers.arcgis.com/javascript/jsapi/querytask-amd.html#executeforcount
... View more
06-10-2015
09:25 AM
|
0
|
9
|
4103
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-26-2015 12:31 PM | |
| 1 | 06-24-2015 06:06 AM | |
| 1 | 07-15-2015 12:34 PM | |
| 1 | 05-21-2015 02:27 PM | |
| 1 | 05-19-2015 11:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|