|
POST
|
Thank you for the reply. Very helpful. I am not particularly savvy but was able to get mine working without really understanding what I did. The first post in this link, and the page it links to, were helpful. I typed this below into the command prompt.... conda init powershell ...this succeeded in letting me actually run code, though it would still show an error at the initialization of any script. Then I made the settings change (in VS code, Terminal: Select Default Profile), setting the terminal to command prompt. Everything runs smoothly now.
... View more
01-17-2023
07:19 AM
|
0
|
0
|
5350
|
|
POST
|
I am also having trouble executing - I don't even seem to have the Python: Conda Path option when selecting settings. Should I be setting the interpreter to conda.exe rather than python.exe packaged with Pro? I also have no other environments available in C:\Users\{User}\AppData\Local\ESRI\conda\envs. Feeling like a bit of a numbskull here trying to get going, especially when their documentation makes it seem like it should be so simple.
... View more
01-13-2023
12:04 PM
|
0
|
2
|
5374
|
|
POST
|
@ZhifangWang The fix works as intended on the beta site. I'll look forward to the upcoming Halloween patch. Glad to see the self-inflicted wounds getting quick treatment!
... View more
10-28-2022
08:51 AM
|
1
|
0
|
919
|
|
POST
|
I am having trouble executing something that should, in theory, be possible. I would like to use a URL (embedded in a app) to launch the data tab of a survey with a pre-defined filter and settings for the feature report. The current link just launches to the data tab: https://survey123.arcgis.com/surveys/e7b4f0428580439eb6ab4225c199e234/data? And when I manually construct the generic filter (not looking for a specific record, but records that meet broader criteria, like 'Approved = 'Yes'') the resulting URL reflects appropriated: https://survey123.arcgis.com/surveys/e7b4f0428580439eb6ab4225c199e234/data?extent=-162.3524,32.3384,-99.9500,42.0454&filter=(0.MeetsIntent%20is%20%22Yes%22%20AND%200.SurveyStatus%20is%20%22Complete%22%20AND%200.Reported%20isBlank) However, when I embed this as a link and use it to launch the survey the filter cannot be applied: So what gives? It seems like it should be possible and I can't seem to reconfigure the bungled page at all in a way that makes it happy. I would like to provide our staff with a quick means to generate reports for all records that are 'on deck' and this would help us do that.
... View more
10-27-2022
04:15 PM
|
0
|
4
|
1024
|
|
POST
|
Thanks, this worked great. I combined this with info you provided from another post linking if statements together. Made for a long and complicated calculation but I have the functionality I want ('if launched from URL parameter then fill the values, else if dropping a point then use the value from a json query, else leave blank and autofill from a csv).
... View more
09-23-2022
12:27 PM
|
1
|
0
|
794
|
|
POST
|
My question: does having a JSON function in the calculation column preclude using a URL parameter to feed the same field? I have a survey where a point is sometimes but not always required for data entry. For the times when a user drops a point I would like to use a point in polygon query to pull in attributes, e.g. pulldata("@json",${myJSON},"attributes.County"). This work great. However, as the survey is often accessed through a dashboard and launched in relation to an underlying jurisdiction dataset I would like to be able to feed the the same values through the URL parameter. Is this possible in the same survey? In early tests I could not get my URL parameters to work unless I deleted the pulldata calculation.
... View more
09-07-2022
08:56 AM
|
0
|
2
|
832
|
|
POST
|
I have not tried it in Arcade, but will do so. There are no null values - the fields are enforced in the survey they're submitted through. And each field can be calculated independently. It's really just the one long text field that doesn't want to be concatenated with anything else.
... View more
09-06-2022
10:39 AM
|
0
|
0
|
587
|
|
POST
|
Having a problem that should be simple but can't quite figure out what is going on. I am trying to concatenate three text fields into a fourth text field (Field1, Field2, Field3, landingField). One of the fields (Field3) is quite long and somehow is not willing to be concatenated with anything else. It can be calculated over (e.g. landingField = !Field3!) just fine, but it doesn't want to cooperate with anything else. For instance !Field1' + ' filler text ' + !Field3! does nothing. It doesn't throw an error...just nothing happens. However, !Field1! + ' filler text ' + !Field2! + ' more filler text.' works just fine. I suspected the length of the field was the issue (Field3 is 2000 characters) but I upped landingField to 10,000 characters and same issue. And trying to adjust Field3 by using the .str() method or something similar doesn't seem to work. Any hints as to what gives?
... View more
09-06-2022
09:57 AM
|
0
|
2
|
613
|
|
POST
|
@DougBrowning You'll have to be more explicit about what techniques you're referring to. You're just tossing stuff into the wind. The documentation you passed along is the same documentation I link in my post. I've read it and can't find what I need as this scenario isn't mentioned (or at least I think it's hard to tell if they're trying to mention it, but doing a poor job of it). Do you have a specific part you're referring to? The highlighted section may be trying to speak to it but I don't think so. They don't really provide a clear example of how this works since they don't share the data structure they have in mind or the results of the example queries. I am guessing here that 'cloudCover' might have a value like 'overcast' and it's asking if the field 'weather' might have the same value, (where weather = 'overcast')? I don't really know. Anybody else out there? @Ruth_JiatengXu ?
... View more
08-19-2022
09:14 AM
|
0
|
1
|
955
|
|
POST
|
Howdy, @Anonymous User , or anybody else that can help. I am producing a feature report and would like to summarize the individual entries in a select_multiple question. Users have the options to select any combination of A, B, C, D. I would like to be able to count across all records how many times each individual answer (A, B, C, or D) appears. The documentation only notes legal WHERE clause, so that if I broke them each out (e.g. where: "field = 'A'") it would only count options where 'A' was the only option chosen (ignoring A,B, or A,B,C, etc). Is there a technique to count every time 'A' is chosen? E.g. in stead of WHERE field = 'A', an equivalent of field LIKE '%A%'? This is possible using feature sets in dashboards to break them out and summarize them individually but it would be really helpful to count them up in a report.
... View more
08-18-2022
03:57 PM
|
0
|
4
|
997
|
|
POST
|
I have a feature service with one geometry layer and three related tables. I have created a view layer by joining the parent geometry layer to a 1:1 related table. I have a survey that updates the related table. This works great, but I have had difficulty with the reporting since I can't seem to access the parent records for elements of the report. So as a workaround I would like to generate the reporting survey directly off the view layer since it contains all the tables. The problem: the survey looks fine, however when viewing the data on the survey123 website (where the report is generated) the additional fields joined in from the related table do not show up and can't be pulled in from the report. Why are the additional fields missing? Here's a long list of the fields in the view (this is just a few of them): The additional fields show up automatically when generating the survey, they are in the xls form, and are present in the surveys preview as well as when the preview is shared. However, when looking on the website the fields are absent and can't be pulled into the report. The list of available fields stops at those contained in the parent layer.
... View more
08-18-2022
10:54 AM
|
0
|
0
|
376
|
|
POST
|
The new map viewer seems to like to alter URLs used for URL parameters to launch Survey123. When copying over the URL into a feature service from map viewer classic into the new map viewer it adds an 'amp', inadvertently, which sabotages the URL parameter. If I copy this perfectly functional URL from map viewer classic... https://survey123.arcgis.com/share/1bb13b70098942a3b67bc34d1f8be54e?field:County={County}&field:City={City} ...and then re-open the pop-up editor, it will be altered. The only way it seems to get the URL parameter to work is to go to ago-assistant and delete out the extra four characters. This is what it looks like in ago-assistant prior to fixing it... Can anyone explain what gives?
... View more
08-17-2022
04:32 PM
|
0
|
1
|
677
|
|
POST
|
So weird. So for tile layers it's the 'old way' where you'd just modify the URL to access the admin side, but for feature layers they've changed it.
... View more
07-01-2022
08:03 AM
|
0
|
1
|
738
|
|
POST
|
I am still not fully clear what was holding it open but the "memory" option worked fine. #Set memory workspace
arcpy.AddMessage("\nCreating temporary workspace")
memory = r"memory"
arcpy.env.workspace = memory
#Clip by boundary layer
arcpy.AddMessage("\nClipping to state boundary")
boeClipped = os.path.join(memory, "boeClipped")
arcpy.analysis.Clip(boeDataSet, boundary, boeClipped) For those out there that are novices like me: you still have to delete the layers created in memory, otherwise you can't run the tool again as it'll throw errors saying items exist. And apparently you can't set overwrite to True if using memory.
... View more
06-30-2022
10:07 AM
|
0
|
1
|
4248
|
| Title | Kudos | Posted |
|---|---|---|
| 7 | 10-31-2025 09:00 AM | |
| 1 | 08-21-2025 04:41 PM | |
| 1 | 08-14-2025 01:24 PM | |
| 1 | 07-27-2025 10:25 AM | |
| 1 | 07-23-2025 11:30 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-06-2025
12:24 PM
|