|
POST
|
For us, people were not able to connect to our data as web services were not displaying the data.
... View more
04-15-2015
08:54 AM
|
0
|
11
|
11354
|
|
POST
|
In this video I demonstrate how to use the zoom in/zoom out buttons. It was tested on Windows, but it should work the same on the Mac by just using click and drag. If it's still not working, you can try the screen recording tool that I use to demo what is happening when you attempt run the sample. The screen recorder is at: CamStudio - Free Screen Recording Software and it's free.
... View more
04-15-2015
07:25 AM
|
0
|
0
|
1426
|
|
POST
|
The array did relate. I used Kelly's example and had to re-arrange my data as well as add the attribute "name" to my form fields.
... View more
04-15-2015
06:37 AM
|
0
|
0
|
1120
|
|
POST
|
I use Esri Leaflet and the Esri JavaScript API. I mainly use Esri Leaflet for lighter applications. I have found that when using Esri Leaflet for advanced tasks you sometimes have to employ workarounds. I am a member of the Esri Leaflet group as well. Both Esri Leaflet and the Esri JavaScript API work on all devices, but your best bet is to use responsive web design so that all apps work cleanly on all devices. For what it sounds like you are trying to do, I would go with the Esri JavaScript API. A couple of things that you may want to consider that I do if you need help while developing are the following: Create dummy data if your data is not for the public and use that and use that for development so that you can share while developing Publish your application online if possible using the dummy web service; this allows others to see any errors through browser dev tools Create a github account. This is good for versioning your application as you develop, maintaining a backup and a way to share your code if someone wants to review it on their local machine Create your application in pieces. This keeps your code to minimum and if you run into issues, there is less to troubleshoot and makes it easier to find help on geonet
... View more
04-15-2015
06:31 AM
|
0
|
0
|
836
|
|
POST
|
This was the change that I actually needed to make. There was a template in the web service and I did not have all of my fields with a name attribute in the HTML and the address was listed first in the template. One I added the name attribute to the all fields and placed address first, I was able to insert data and it displayed on the map. Thanks!
... View more
04-14-2015
10:08 AM
|
0
|
0
|
1120
|
|
POST
|
I am getting data back. See my post above to Kelly.
... View more
04-14-2015
09:19 AM
|
0
|
0
|
1120
|
|
POST
|
1. 10; that's a guess - could be more, could be less 2. Sometimes 3. 5 4. It depends if it is something that I feel that Esri should support as opposed to a user created widget. I usually get pretty good feedback on geonet; If I HAVE TO have something resolved and my question is not answered I will contact support. 5. Yes, but not immediately. I prefer the community to have a chance at answering my question. Five days of inactivity is an amount of time that I would like to hear feedback from tech support.
... View more
04-14-2015
09:11 AM
|
0
|
0
|
2178
|
|
POST
|
Upon restart of ArcGIS for Server all services went from starting to stopping. What might cause this?
... View more
04-14-2015
07:10 AM
|
0
|
19
|
24521
|
|
POST
|
I updated my code and I now get the following: [{"geometry":{ "x":814512.1655017803, "y":1157200.0340956177, "spatialReference":{ "wkid":3435 } }, "attributes":{ "supportId":"22", "type":"Single Post", "size":"12in. tube", "material":"Concrete", "base":"Sand", "rating":"Repair", "dateInv":"2015-04-30", "":"100 E Main"}}] <<<< I don't know where the "": is coming from. It stops after dateInv and then add the street address. I updated my code on github and re-published the application. I successfully removed requestreceived, severity, and requestdate. I just don't know why it's stopping and then skipping to the end.
... View more
04-13-2015
02:17 PM
|
0
|
1
|
3050
|
|
POST
|
I realized that after william carr asked me about checking to see if my data was in my map. I referenced the wrong feature layer. I have re-published the app and uploaded again to github. The only change that was made was changing the feature layer number from 0 to 1, but I am still getting the same error that you referenced. Doesn't the following error mean that I have no data in my array? I also commented out a portion of the following: graphic = new Graphic(app.currentGeometry);
//attributes.severity = parseInt(app.currentSeverity, 10);
query('#attributesModal input, #attributesModal select, #attributesModal textarea').forEach(function (formInput) {
attributes[formInput.name] = formInput.value;
});
//attributes.requesttype = parseInt(attributes.requesttype, 10);
//attributes.requestdate = Date.UTC(currentDate.getUTCFullYear(), currentDate.getUTCMonth(),
//currentDate.getUTCDate(), currentDate.getUTCHours(), currentDate.getUTCMinutes(),
//currentDate.getUTCSeconds(), 0);
graphic.setAttributes(attributes);
stopCaptureRequest();
// console.log(attributes);
app.citizenRequestLayer.applyEdits([graphic], null, null).then(function (response) {
console.log(response);
});
... View more
04-13-2015
12:42 PM
|
0
|
6
|
3050
|
|
POST
|
It looked like line 263-264 would loop through all the fields and add the feature on line 270, stop the request on 271 and then apply the edits to display the graphic on on line 273, but it's not doing that; I would like to add the feature once the form is filled out.
... View more
04-13-2015
11:59 AM
|
0
|
9
|
3050
|
|
POST
|
No luck yet. Did you use my link? Line 173 is blank.
... View more
04-13-2015
09:16 AM
|
0
|
12
|
3050
|
|
POST
|
I am attempting to modify this responsive web design sample and need to replace the information that was originally inserted to use our data instead. The code that I need to modify for the form named attributesModal is in the main.js file within the app folder and the HTML page that has the form is index.html. My project is here: csergent45/streetSigns · GitHub and you can run it here: Street Signs What do I need to do to get this to work? Here is the original form: and here is my form:
... View more
04-10-2015
12:39 PM
|
0
|
14
|
7845
|
|
POST
|
I am attempting to modify this responsive web design sample and have the attributesModal form display when I click on the dropdown for Street Signs but not supports. The code that I need to modify in the main.js file within the app folder and the HTML page that has the dropdown is index.html. My project is here: csergent45/streetSigns · GitHub and you can run it here: Street Signs What do I need to do to get this to work as I plan on adding another featureService that will have another edit form?
... View more
04-10-2015
12:33 PM
|
0
|
0
|
3871
|
|
POST
|
I am not sure if this will help, but I do know that anchor tags usually require an id. I noticed the Esri example does not have IDs for the list items. Have you considered that?
... View more
04-09-2015
02:02 PM
|
0
|
0
|
1973
|
| 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
|