|
POST
|
Is it a non-spatial dataset? If so, try Make Table View instead. (Edit: Add Join works with non-spatial table views as well as feature layers.)
... View more
04-16-2018
10:24 AM
|
2
|
0
|
1396
|
|
POST
|
While some geoprocessing tools accept both datasets as well as feature layers, others require a layer - and Add Join is one of them. First call the Make Feature Layer tool on the input, then use the output of that tool as input to Add Join.
... View more
04-16-2018
09:59 AM
|
2
|
1
|
2052
|
|
POST
|
Thanks for the help Allison, but I'm still seeing the same issue. What makes it especially strange is that anonymous submission works via the web form but the app still asks for credentials. Like I said I'm new to Survey123 but something seems very odd about that... It's not isolated to one device either, tested on three different devices now with the same results.
... View more
04-08-2018
04:54 PM
|
0
|
15
|
4100
|
|
POST
|
Also, anonymous submission worked via the web link, seems to be an app-specific issue.
... View more
04-06-2018
07:23 PM
|
0
|
0
|
4100
|
|
POST
|
Still no luck with everything public, and I've tested adding a point through the REST API (just through a browser) and it worked without credentials.
... View more
04-06-2018
07:08 PM
|
0
|
1
|
4100
|
|
POST
|
Yup, unauthenticated users can open the link and download the survey without issue, just can't post. The survey is public, the field worker view is public, and the core feature layer is private.
... View more
04-06-2018
08:06 AM
|
0
|
2
|
4100
|
|
POST
|
Hi, I’m new to Survey123 and trying to set up a survey with five requirements: It must be public, no AGOL credentials required It must be able to collect data in the app while disconnected, submitting it later Users should not be able to see other users’ submissions It must contain a photo It must contain location I haven’t had any luck with the public aspect. Despite reading this blog post and other doc, changing feature layer settings, trying steps in different orders, whenever I attempt to submit data the app asks for AGOL credentials. Perhaps what I’m trying isn’t possible but I think it’s much more likely that I’m just overlooking something. After authoring and publishing the survey, I go to the main feature layer’s settings and set them accordingly: Editing: “Enable editing.” Is turned on, the other three settings are turned off. What kind of editing is allowed?: Add features What features can editors see?: Editors can’t see any features What features can editors edit?: Disabled What access do anonymous editors have? The same as signed in editors Export Data: False I then went to the field worker service and where applicable made those settings match, then from the Collaborate tab in Survey123 made the survey available to Everyone (Public). When I attempt to submit a survey from the app, it still asks me for AGOL credentials. (I also tried making the survey public first, then changing feature layer settings.) If anyone has any ideas about what I’m overlooking I’d definitely appreciate it.
... View more
04-05-2018
05:49 PM
|
0
|
27
|
9375
|
|
POST
|
You're calling ListFields() and storing the result in fieldList prior to deleting the field. When you iterate through the fieldList values later, it will still contain FREQUENCY. Try moving line 28 up to line 24.
... View more
03-19-2018
01:28 PM
|
2
|
1
|
2105
|
|
POST
|
Could you post your updated code? The first error message (tuple index out of range) indicates the number of arguments in your format function doesn't match the number of placeholders you've got. I think the second one means you're mixing numbered and non-numbered placeholders. Another option is this - stitch the "IN" values together prior to creating the definition query, along these lines: # Put the query values into a list.
queryValues = [ "Red", "Blue", "Orange" ]
# Join them into a comma-delimited list with apostrophes wrapping each value.
valuesWithApostrophes = [ "'{0}'".format(value) for value in queryValues ]
commaList = ", ".join(valuesWithApostrophes)
# Insert the comma-delimited list into the definition query.
Sample.definitionQuery = """Color IN ({0})""".format(commaList) Edit: Posted this under the main question instead of where I meant to, but too much of a hassle to move it...
... View more
03-19-2018
10:47 AM
|
0
|
1
|
1582
|
|
POST
|
Hi David, when you repeat a numbered placeholder (e.g. {1}) each occurrence of the number will hold the same value. You can either increment the numbers each time or remove the numbers altogether, like this: """Color IN ('{0}', '{1}', '{2}', '{3}')""" Or this: """Color IN ('{}', '{}', '{}', '{}')""" As far as having the word "Color" in the list, it seems as though you must be passing that into the format function as the first argument?
... View more
03-19-2018
08:23 AM
|
0
|
1
|
1582
|
|
POST
|
There are a couple things happening, it looks like you're using the AddFieldDelimiters function as the first argument to the format method, but you aren't using a placeholder in place of a field name, you've got "Color" hardcoded. The second thing is that you've got the same placeholder ({1}) for both values, which is why you're seeing "red" repeated. You can probably toss the AddFieldDelimiters section and go with this: Sample.definitionQuery = """Color = '{0}' OR Color = '{1}'""".format(InputValue, InputValue1) If you're going beyond two values you might want to switch to using the SQL IN operator instead of chaining ORs together: Sample.definitionQuery = """Color IN ('{0}', '{1}')""".format(InputValue, InputValue1)
... View more
03-16-2018
02:41 PM
|
1
|
3
|
1582
|
|
POST
|
Found a link on an older blog post: PerfQAnalyzer (PQA): Build 172 now available for download for 10.4 | ArcGIS Blog
... View more
03-12-2018
07:47 AM
|
0
|
0
|
440
|
|
POST
|
Does anyone know where to find a version of PerfQAnalyzer that will work with Desktop 10.3.1? This technical support article indicates that PerfQAnalyzer for 10.6 is compatible with 10.2 and later: The latest version of PerfQAnalyzer, 10.6 (Build 173), is compatible with earlier released versions of ArcGIS, Versions 10.2 through 10.5.1. However, when I attempt to install it on a 10.3.1 box I get this:
... View more
03-12-2018
07:44 AM
|
0
|
1
|
778
|
|
POST
|
If you open your Geoprocessing Results window you should see the failed calculator run. If you expand it and view the messages, does it provide any additional information?
... View more
03-09-2018
12:00 PM
|
1
|
1
|
1173
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-02-2018 08:44 AM | |
| 1 | 02-02-2018 02:58 PM | |
| 1 | 04-17-2018 07:53 PM | |
| 1 | 05-01-2018 01:24 PM | |
| 1 | 02-05-2018 09:26 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|