|
POST
|
Hi Jay! Thanks so much for the response. From your screenshots, its clear that the file is located in the correct directory. Because of that, it definitely looks like an IIS configuration issue, (plus its returning 404 -- file not found). Make sure localhost refers to 'C:\inetpub\wwwroot' (the default) Has the webserver been turned on? (Check in IIS Manager) What do you see when you go to 'localhost' in your browser? (You may or may not see a file listing). Let me know what you find! Jon
... View more
01-21-2014
01:32 PM
|
0
|
0
|
4698
|
|
POST
|
@Roberto: Thanks for all your help so far! @jay: This may seem like a silly question but I need to ask: How are you attempting to view your application? Correct (example paths): localhost/test/forum/test.html http://jontest.test.com/test/forum/test.html Incorrect: file:///C:/inetpub/wwwroot/test/forum/test.html Some users do not realize they need to view their application in the context of a webserver, and instead try to open the file directly using their browser.
... View more
01-21-2014
08:06 AM
|
0
|
0
|
4698
|
|
POST
|
Are the spatial reference objects being generated correctly? Can you recreate the issue using http://jsfiddle.net so I can take a look? Thanks!!
... View more
01-21-2014
07:27 AM
|
0
|
0
|
1338
|
|
POST
|
Yep! https://developers.arcgis.com/en/javascript/jssamples/ed_attribute_inspector.html Starting at version 2.2, you can customize the fields in the attribute inspector by specifying field information as part of the layer infos object. As for the button: dijit.byId("dijit_form_Button_0").set("label", "Dismiss"); *edit "dijit_form_Button_0" is the widgetid; grabbed from the demo above using firebug but you can always set your own.
... View more
01-21-2014
07:21 AM
|
0
|
1
|
1733
|
|
POST
|
Hey Paul, Before I spend time troubleshooting this... have you thought about using dgrid? http://dojofoundation.org/packages/dgrid/ It's written by the DOJO folks and also included in the Esri JSAPI. I strongly recommend dgrid because it is easier to implement, maintain and even troubleshoot if needed (compared to dojox datagrid).
... View more
01-21-2014
07:19 AM
|
0
|
0
|
598
|
|
POST
|
I spent a few minutes on this in jsfiddle and could not get the map's onload function to fire correctly. Upon further inspection, I notice this error in the console:
dojo.io.script error Error: File not found. Wrong url or out of memory.
The resource from this URL is not text: http://js.arcgis.com/3.8/
This is *after* initializing the webmap and having thousands of points successfully load. This leads me to believe there is simply too much data included in the webmap itself. You may want to shrink your data-set or rethink how you want to deliver the data via feature services. In short: this is not a code issue but a data issue. Separate some of the data from the webmap and use a feature service if possible.
... View more
01-21-2014
07:04 AM
|
0
|
0
|
778
|
|
POST
|
Hi Ganesh, Are you specifically using the 'Basic Viewer' template? If you are, are you using a webmap? If so, you may want to look into modifying the init() function in App.js and the createMap() function in layout.js *edit. I noticed that a lot of threads you have made are still marked as 'unanswered.' Some of those threads also have responses, or ask questions of you, but you did not respond. Make sure you go back and close threads that no longer have a use! This will encourage others to do the same (as well as encourage people to answer your future questions!) Thanks Ganesh!
... View more
01-21-2014
06:28 AM
|
0
|
0
|
860
|
|
POST
|
Hi Manojraj! As you said, you will need to use a geometry service to project your points if they are in a spatial reference different from 4326 or 102100. There are methods to convert from 4326 to 102100 and vice versa. You may find this sample helpful: https://developers.arcgis.com/en/javascript/jssamples/util_coordinate_converter.html
... View more
01-21-2014
06:12 AM
|
0
|
0
|
2566
|
|
POST
|
That fix it. Thank you very much! I just dont understand why the spatialReference was broken somewhere during the features creation. Awesome! No worries! I see this issue fairly frequently, especially when people are getting their data from JSON.
... View more
01-17-2014
10:14 AM
|
0
|
0
|
1181
|
|
POST
|
It might be your spatial Reference object. Recreate the spatialReference object before creating your extent object to see if that changes anything. require([ "esri/geometry/Extent", "esri/SpatialReference", ... ], function(Extent, SpatialReference, ... ) { var sr = new SpatialReference({"wkid": 4326}); var extent = new Extent(-122.68,45.53,-122.45,45.60, sr); ... }); If that doesn't fix the issue, can you generate a really quick sample using http://jsfiddle.net ? Thanks!
... View more
01-17-2014
09:45 AM
|
0
|
0
|
1181
|
|
POST
|
OK great! I had wrongfully assumed you had tried this method first as it is the easiest and most straight forward... my apologies. Using the sample page as a demo: http://developers.arcgis.com/en/javascript/samples/widget_identitymanager/ Using Firebug, I can see that the id of the input element is 'dijit_form_ValidationTextBox_0' I can edit the value of the text field like so: dijit.byId("dijit_form_ValidationTextBox_0").set("value", "jonuihlein"); Screenshot also attached. Let me know if you have any more questions and don't forget to mark this thread as answered when you are completely satisfied!
... View more
01-17-2014
07:54 AM
|
0
|
0
|
2253
|
|
POST
|
Why can't you use javascript to populate the username input element directly via DOM manipulation? You know the id of the input element ahead of time so you can push a username into the value of that element from local storage. (Heck you can even use dijit.byId) Can you explain why this wouldn't work?
... View more
01-17-2014
07:18 AM
|
0
|
0
|
2253
|
|
POST
|
Check out the Esri JSAPI documentation, there's alot of samples and tutorials for you to digest. This sample uses local storage.... This is probably the one you're after: https://developers.arcgis.com/en/javascript/jssamples/widget_identitymanager_client_side.html Here's another sample about using the Identity Manager: https://developers.arcgis.com/en/javascript/jssamples/widget_identitymanager.html Hopefully this helps! Let me know if you have any more questions and don't forget to mark this thread as answered when you are completely satisfied!
... View more
01-17-2014
06:54 AM
|
0
|
0
|
2252
|
|
POST
|
My advice would be to check out the documentation (both for the Esri JSAPI and JQuery). It might end up answering some very basic questions you have and save you many hours. On the flip side, if you feel you can reproduce the issue using http://jsfiddle.net you can post it here for us to take a look. Thanks!
... View more
01-17-2014
06:06 AM
|
0
|
0
|
1217
|
|
POST
|
Absolutely possible. Check out the SDK and API, there should be some samples and tutorials. https://developers.arcgis.com/en/javascript/ Like pepatosp said, check out FindTask as well as Query (and maybe even QueryTask) https://developers.arcgis.com/en/javascript/jsapi/query.html
... View more
01-17-2014
06:02 AM
|
0
|
0
|
1275
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-26-2014 09:56 AM | |
| 1 | 09-18-2014 11:50 AM | |
| 1 | 09-19-2014 11:28 AM | |
| 1 | 07-09-2014 01:43 PM | |
| 1 | 07-09-2014 02:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-14-2024
05:31 PM
|