POST
|
Hello, I am trying to write 1 or a series of attribute rules that populate my unqiueID in my feature class. I have a sequence set up and I am trying to create the attribute rules that will follow these basic guidelines: 1. If I create a brand new feature - a new ID is calculated 2. If I split a feature (line or polygon) the longest or largest will maintain the existing ID, but the shortest or smaller feature will get a new ID 3. If I copy in 1 feature from a backup file - it will maintain the ID that I have in the backup file. This is to mimic a scenario if we accidently delete a feature - we can recover it and maintain the original ID. The issue that I am having mainly is I can get the split OR the copy from backup to work, but not both using the same rule. Eg. This works for new features and splitting features - but if I copy an old feature (that has a FacilityID value) in from a backup Feature Class, it gives it the next value. var new_facid = "TP" + NextSequenceValue('myID') return new_facid OR Eg. This works for new features and copying data in from a old feature (that has a FACILITYID value) from a backup Feature Class, but doesn't create a new values for the smaller area on a split. if (IsEmpty($feature.FACILITYID)) { var new_facid = "TP" + NextSequenceValue('myID') } else { var new_facid = $feature.FACILITYID } return new_facid Has anyone had any success with a setup like this? Thanks Darryl
... View more
3 weeks ago
|
0
|
0
|
171
|
POST
|
Would it be possible to provide an example of the arcade code that would do these "3 events"? Thanks
... View more
3 weeks ago
|
0
|
2
|
91
|
POST
|
@EllieLinden within the serial chart - when you first open it - you can select a layer form a map item or you can create a data expression which will allow you to create a new feature set "on the fly" without having to change the underlying data. https://doc.arcgis.com/en/dashboards/latest/get-started/create-data-expressions.htm
... View more
03-22-2024
01:17 PM
|
0
|
1
|
79
|
POST
|
@EllieLinden I haven't tried this, but you could have a Data Expression that concatenates the 2 fields you want as part of the hover text. Then use that on the serial chart as the Split by Field.
... View more
03-22-2024
01:07 PM
|
0
|
1
|
85
|
POST
|
This is are great points/ideas, txs. I will keep that in mind for any future surveys that require logins.
... View more
03-15-2024
12:41 PM
|
0
|
0
|
217
|
POST
|
Thanks for the idea. This is a simple solution to my issue. My end user wanted to add a bunch of records to the survey results and back date them a few months. Adding a captureDate field to my survey and populating the current data points with the Creation date and the "new" old records with the 4 month old date worked great. A small change to the dashboard was needed, but this was a minor detail. This was way easier than turning of Data Tracking, appending, and then turning it on again. I will be sure to do this to all my surveys in the future from the start.
... View more
03-15-2024
09:49 AM
|
2
|
2
|
229
|
POST
|
Yes, based on my 2nd question that you answered, I should be able to set up 4-5 levels of folders in my survey - then have a script populate the CSV with appropriate values (on a scheduled task). Then tell the client that they are limited to that many folders deep. Thanks for your help. https://community.esri.com/t5/arcgis-survey123-questions/hide-select-one-from-csv/m-p/1383635#M54854
... View more
02-16-2024
02:12 PM
|
1
|
0
|
164
|
POST
|
Thanks @abureaux I tried your example and it worked for me as well. now I just have to figure out how to get it working with my data. ha ha! Thanks again!
... View more
02-16-2024
01:59 PM
|
0
|
0
|
176
|
POST
|
Hello, I have a series of Select One questions - each relying on the previous question for its options using the "Choice_Filter" column. This works great, except for when there is no entry in my CSV for a the answer to the previous question. For instance: When someone selects in Question 1 "Toronto" - I would like Question 2 to remain hidden, as there is no "City" = Toronto in Question 2. Is this possible? Thanks Darryl
... View more
02-16-2024
11:55 AM
|
0
|
2
|
251
|
POST
|
Hello, I am trying to create a survey for our field crews to sign off that they watched different videos. I have it working from CSV files so when new videos or new folders have been created, they will automatically go into the survey. I am (using PY) generating the CSV's that populate these questions, so it is dynamic. For example: My question is, if the user adds a 3rd level of folders and then puts videos in that folder, how can I dynamically create this survey to reflect that? I.e. nested questions? Not sure how to deal with this based on the CSVs. I can create the CSVs as needed, but don't know how to structure the survey to read them? Thanks Darryl
... View more
02-16-2024
10:20 AM
|
0
|
2
|
228
|
POST
|
We are currently experiencing this on one of our dashboards as well. Did you ever find a solution other than upgrading to EB? Thanks Darryl
... View more
01-19-2024
10:11 AM
|
0
|
0
|
161
|
POST
|
Thanks @abureaux , i have this working using this in my choice_filter: selected(${hide_multiselect},label) But this is achieving the opposite of what I want - is there a NOT selected option? so the multi-choice shows the options that are not in my list? Thanks
... View more
11-28-2023
12:32 PM
|
1
|
1
|
79
|
POST
|
Hi Doug, I don't think I am still fully grasping this concept. Can you provide a simple example of this? My URL to populate the image above is suffixed with this: https://survey123.arcgis.com/share/{MYAGOLID}?field:hide_multiselect=Video_URL_5,%20Video_URL_6,%20Video_URL_8 Which populates the "hide_multiselect" text box - but then in my XLS form - the choice filter for the "Videos Watched" question would be selected(${hide_multiselect}=hidemultiselect) ?? This doesn't really make sense to me? Thanks
... View more
11-28-2023
09:24 AM
|
0
|
3
|
367
|
POST
|
Thanks you for the replies and ideas. I am still not sure how this applies to my URL parameter. My original list of videos that are in the "Videos Watched" multiselect question are coming from a CSV - which is generated dynamically, so I don't necessarily know what the values are going to be. But I have figure this out and populated it with my URL parameters - just not sure now how to filter the "Videos Watched" to not equal a value in the "hide_multiselect": So basically, based on the above, i would like to hide Video 5, 6 and 7 from the choices.
... View more
11-27-2023
03:09 PM
|
0
|
5
|
392
|
Title | Kudos | Posted |
---|---|---|
1 | 10-11-2019 11:04 AM | |
2 | 03-15-2024 09:49 AM | |
1 | 02-16-2024 02:12 PM | |
1 | 11-28-2023 12:32 PM | |
1 | 11-27-2023 11:50 AM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|