|
POST
|
HI all. I'm using Cedar to build a chart on a website. The data for the chart is being pulled from a Survey123 layer. This way when I submit something to Survey123 the chart will be automatically. My problem is that when I submit somthing to Survey123 my chart is not updating when the page is reloaded. Does anyone see anything wrong with my chart code? Im very new to JavaScript.. Thanks <script>
var chart = new Cedar({"type": "bar-horizontal"});
//create the dataset w/ mappings
var dataset = {
"url":"https://services7.arcgis.com/2lya1j9hNfBnQwN6/arcgis/rest/services/survey123_xxxxxxxxxxxxxxxx/FeatureServer/0",
"query": {
"groupByFieldsForStatistics": "field_0",
"outStatistics": [{
"statisticType": "count",
"onStatisticField": "field_0",
"outStatisticFieldName": "Number_of_SUM"
}]
},
"mappings":{
"y": {"field":"field_0","label":"Food?"},
"x": {"field":"Number_of_SUM","label":"# of Eats"}
}
};
//show the chart
chart.show({
elementId: "#chart"
});
//assign to the chart
chart.dataset = dataset;
chart.update();
</script>
... View more
12-23-2016
07:00 PM
|
0
|
0
|
1740
|
|
POST
|
Sorry i completely mispoke before. "Where?" is not my geopoint field, my geopoint field does not appear appear in my attribute table which is the correct functionality. I authored in Survey123Connect . I was never able to solve my problem, even after triple checking all fields against working surveys I have in an alternate AGO account. I was eventually able to get it working by creating the survey through the Survey123 website which i didnt even know was an option, so thank you for pointing that out.
... View more
12-22-2016
12:13 PM
|
0
|
0
|
1793
|
|
POST
|
if i click the analyze tab my data shows up but under the field that should have my location data this appears. my location (where? is the name of my geopoint field) Where? Cannot get answers for this question. Details: error occurs during querying related feature service.
... View more
12-21-2016
10:49 AM
|
0
|
1
|
1793
|
|
POST
|
It zooms to the area on the map where my points should be but nothing appears. The page gets stuck loading and never finishes
... View more
12-21-2016
10:46 AM
|
0
|
2
|
1793
|
|
POST
|
I created a survey through Survey123-connect. Whenever I submit my survey, log onto my account, and view my feature layer I am unable to view any data on both the Data and Visualization tabs. When I click the data tab i see the image below which shows that 1 feature is in the dataset but its not showing any of the data for it. If i click a field title and choose "Show Detailed View" it will show me the data value I submitted in my survey. I've tried recreating the survey multiple times with the same result. I do have an image im attaching. If i click visualization no features appear on the map. Any idea why this is happening? Thanks
... View more
12-20-2016
05:46 PM
|
0
|
5
|
2560
|
|
POST
|
I think that through the GPS toolbar you can collect data. When in the field we bring a laptop with Arcmap loaded on it, connect it to a gps enabled device via bluetooth and are able to follow our real life position in ArcMap. W do this because navigating backroads with no names is much easier when you have someone looking at your real world position with aerial imagery. The toolbar allows you to stamp your position and have it saved in to .gdb.
... View more
12-16-2016
08:18 AM
|
2
|
1
|
1856
|
|
POST
|
Do you know if the fix for this has gone live yet or what the estimated date is?
... View more
12-12-2016
05:05 AM
|
0
|
1
|
2569
|
|
POST
|
Hi all, I am very new to JavaScript and I am trying to teach myself through a project I am working on. I am creating a webpage and trying to use Cedar to create a dynamic chart that will update as the feature layer is updated. From what I can tell Cedar relies on the 3.13 API but the webpage I currently have set up is using 4.0. Do i have to revert the rest of my page back to the 3.13 API or is there a way to call 2 version of the ArcGIS JavaScript API at once? Sorry if this is a bad question I really don't know that much but there errors im getting lead me to believe that my problem is that I'm calling 2 different ArcGIS API's Thanks, Ben
... View more
12-08-2016
06:25 AM
|
0
|
3
|
1877
|
|
POST
|
1 & 2 have been solved. You have to open up the config xml file. Adding hintText="your box text" under <ComboBox> will input "your box text" within the combobox by default. Deleting the text for caption= and leaving just ""under <ComboBox> will delete the text to the left of the ComboBox.
... View more
12-06-2016
08:10 AM
|
0
|
0
|
1472
|
|
POST
|
Hi all, I'm creating a python combobox add-in where the user can pick from a predefined list of counties and when selected, a data layer for that county will be added to the TOC. The functionality of the Add-in works which I am happy about but I'm having a bit of an issue with some format particulars. First off, is there a way to control what text displays as the default in the combobox? I'd like it to display something like "Choose a County Below". Secondly, whatever text I input as the "Caption" when creating the combobox in the add-in wizard displays to the left of my combobox. Is there any way to control this so that the text isnt there? Two more.... I have like 50 something counties in the list and when you hit the dropdown it shows them all, id like it to only show 10 and allow you to scroll down but cant figure this one out. Last one, If open up the combo list and hit the letter "C" id like it to highlight "Calhoun", instead it just automatically adds the Calhoun county data to the map. I know its a lot but ESRI's help on this subject wasn't exactly the best. Thanks in Advanced! Ben import arcpy
import pythonaddins
class ComboBoxClass1(object):
"""Implementation for OSTDS_3_addin.combobox (ComboBox)"""
def __init__(self):
self.items = ["Alachua","Baker","Bay","Bradford", "Brevard", "Broward", "Calhoun", "Charlotte", "Citrus", "Clay", "Collier", "Columbia", "Dade", "Desoto", "Dixie", "Duval", "Escambia", "Flagler", "Franklin", "Gadsden", "Gilchrist", "Glades", "Gulf", "Hamilton", "Hardee", "Hendry", "Hernando", "Highlands", "Hillsborough", "Holmes", "IndianRiver", "Jackson", "Jefferson", "Lafayette", "Lake", "Lee", "Leon", "Levy", "Liberty", "Madison", "Manatee", "Marion", "Martin", "Monroe", "Nassau", "Okaloosa", "Okeechobee", "Orange", "Osceola", "PalmBeach", "Pasco", "Pinellas", "Polk", "Putnam", "SantaRosa", "Sarasota", "Seminole", "StJohns", "StLucie", "Sumter", "Suwannee", "Taylor", "Union", "Volusia", "Wakulla", "Walton", "Washington"]
self.editable = False
self.enabled = True
self.dropdownWidth = 'WWWWWWWWW'
self.width = 'WWWWWWWWW'
def onSelChange(self, selection):
mxd = arcpy.mapping.MapDocument("CURRENT")
dataFrame = arcpy.mapping.ListDataFrames(mxd, "*")[0]
county = (selection)
county_name = str(county)
gdb_path = r"my\\path\\ex.gdb\\"
county_path = gdb_path + county_name
newlayer = arcpy.mapping.Layer(county_path)
arcpy.mapping.AddLayer(dataFrame, newlayer, "BOTTOM")
arcpy.RefreshActiveView()
arcpy.RefreshTOC()
del county, county_name, newlayer
def onEditChange(self, text):
pass
def onFocus(self, focused):
pass
def onEnter(self):
pass
def refresh(self):
pass
... View more
12-05-2016
12:44 PM
|
0
|
2
|
2563
|
|
POST
|
Awesome, thank you. Glad to know its not just me with this issue.
... View more
11-30-2016
09:26 AM
|
1
|
0
|
1385
|
|
POST
|
Thanks Owen, for some reason when I was looking for https://community.esri.com/groups/survey123 originally I was unable to find it.
... View more
11-30-2016
06:12 AM
|
0
|
0
|
1385
|
|
POST
|
Im having an issue using Survey123 on my iphone. Every time I add an image from my iphones gallery to a survey all of the text within Survey123 changes into some jibberish language. However, if i take a photo from within the app everything remains fine. Any idea why this is happening?
... View more
11-29-2016
03:09 PM
|
0
|
4
|
1834
|
|
POST
|
Thanks Derek. This was indeed the issue. I never received the email to activate the organizational account and after contacting customer support and having them send it 3 times it finally went through. I ended up having to create a new ArcGIS online account which I created my organization through. Ben
... View more
11-22-2016
10:33 AM
|
0
|
0
|
3130
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-27-2026 08:39 AM | |
| 1 | 01-14-2026 08:12 AM | |
| 2 | 04-10-2026 10:50 AM | |
| 1 | 09-04-2025 11:06 AM | |
| 1 | 12-05-2025 06:34 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|