|
POST
|
Robert, Thanks very much for looking at it. It looks like it may be a bug. The API reference still shows it as beta 3.12. Regards, Tom
... View more
05-18-2015
02:33 PM
|
0
|
0
|
1769
|
|
POST
|
Greetings, I am attempting to use the FeatureTable dijit and format the date and time, but it appears that the dijit is ignoring the timePattern and datePattern options. Am I missing something or is this a bug? I have also tried the JS API example and uncommented the dateOptions, but the best I can get is a long date string instead of M/d/yyyy HH:mm:ss. What am I missing? myTable = new FeatureTable({
"featureLayer" : myFeatureLayer,
"dateOptions": {
"timeEnabled" : true,
"timePattern" : "HH:mm:ss",
"datePattern" : "M/d/yyyy"
},
"hiddenFields": ["FID","C_Seq","Street"], // field that end-user can show, but is hidden on startup
"map" : map
}, 'myTableNode'); formats to: Thu Nov 15 2012 16:00:00 GMT-0800 (Pacific Standard Time) Thanks very much! Regards, Tom
... View more
05-18-2015
01:37 PM
|
0
|
5
|
5243
|
|
POST
|
Tracy, For your button try: var btnGo = dom.byId("btnGo");
on(btnGo, "click", executeSearch); Regards, Tom
... View more
05-15-2015
03:11 PM
|
1
|
0
|
2512
|
|
POST
|
Greetings Posters, I have just installed 10.3.1 and the problem still exists. If I exit by clicking the X in the upper right hand corner, ArcMap leaves an orphaned process. If I File>Exit ArcMap crashes. Regards, Tom
... View more
05-14-2015
03:27 PM
|
0
|
0
|
1936
|
|
DOC
|
Kevin, Not at present. I will look at adding that into the next version though! Regards, Tom
... View more
05-13-2015
08:12 AM
|
1
|
0
|
15800
|
|
POST
|
Frank, Excellent! Glad that was the solution! Regards, Tom
... View more
05-11-2015
11:54 AM
|
0
|
0
|
1605
|
|
POST
|
Frank, Here is the geonet post that might help explain your problem: Python geoprocessing script published as service doesn't use the Data Store Regards, Tom
... View more
05-11-2015
11:11 AM
|
0
|
2
|
1605
|
|
POST
|
Frank, I had a very similar problem. This occurs when publishing the geoprocessing script. In my case it was copying the data to the service directory instead of using the SQL Server connection set in the data store. Check to see if the data is being copied into the service directory. Regards, Tom
... View more
05-11-2015
11:09 AM
|
0
|
0
|
1605
|
|
POST
|
Nigel, Agreed! I had used the JQuery listview with the filtering function which works very well. You are correct, the query is almost instantaneous. Regards, Tom
... View more
05-08-2015
11:08 AM
|
2
|
0
|
7787
|
|
POST
|
Nigel, You are correct. If you are expecting a list of values that exceeds the max count of the service being queried, then you would need to do multiple queries as suggested. In the context of using these values for a combo box, it would seem having a list with that many values for a user to look through might make it difficult to use. Regards, Tom
... View more
05-08-2015
10:32 AM
|
1
|
2
|
7789
|
|
POST
|
Ryan, The returnDistinctValues works very well. The parcel records service is over 100,000 records and it queries it very quickly. I used the query without a map sample to create demo that you view. The pertinent code for this query is: // query distinct use code values from parcels
var queryTask = new QueryTask("url to your service");
var query = new Query();
query.where = "USE_CODE is not null"; // query for non-null values
query.orderByFields = ["USE_CODE"]; // sort it so we won't have to later
query.returnGeometry = false; // turn geometry off, required to be false when using returnDistinctValues
query.returnDistinctValues = true;
query.outFields = ["USE_CODE"];
queryTask.execute(query, showResults); You can view the demo of this at: Query Distinct Values Regards, Tom
... View more
05-08-2015
08:17 AM
|
2
|
4
|
7789
|
|
POST
|
Ryan, Do you expect the query to return more than 500 distinct values? That would certainly be a lot for combo box. I did a distinct query on my parcel service for land use codes. My parcel database contains over 100,000 records. The distinct query returned 65 land use categories very quickly. Regards, Tom
... View more
05-07-2015
11:24 AM
|
1
|
8
|
7789
|
|
POST
|
Christian, When you create the new graphic, it needs to have a reference to attributes, even if they are blank. For example: var att = {};
var graphic = new Graphic(pt,null,att); Without a reference to an attribute, it will fail. Regards, Tom
... View more
05-07-2015
09:24 AM
|
2
|
0
|
849
|
|
POST
|
Sundus, This is the same code block that you provided me previously. Without the rest of your code, it is difficult for me to see where things may be going wrong for you. A couple of suggestions. The circle may not have the right spatial reference and may not be selecting points as it is improperly located. This is why I suggest drawing the circle, Then you can see the circle and the points that are falling within it. If you are in debug mode, you can see what the values are for the lat/lon coordinates. This way, you will know if they have the proper values to place a circle as expected. Regards, Tom
... View more
05-07-2015
08:22 AM
|
1
|
0
|
2984
|
|
POST
|
Sundus, It is hard to tell with the code fragment you posted, what is going on. I suspect that the latitude and longitude may not be passed to the function so there is no geometry to add to the query. Is a circle being drawn on the map in the place you are expecting? From your previous post, you didn't want to expose your service URLs, so if you could post the code without them, I might have a better chance of seeing what is going on. Regards, Tom
... View more
05-06-2015
08:21 AM
|
0
|
3
|
2984
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-24-2023 10:45 AM | |
| 1 | 05-19-2023 08:13 AM | |
| 1 | 02-22-2023 09:12 AM | |
| 1 | 05-15-2015 03:11 PM | |
| 1 | 02-10-2015 11:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
02-26-2024
04:50 PM
|