|
POST
|
I agree with Josh, it sounds like a method very prone to user error, and I can't think of a benefit to having a multiline question here. I would recommend having unique questions in your survey that are integer or decimal type, and then you can use those fields in calculations in the survey to determine the ratio.
... View more
10-20-2022
12:49 PM
|
1
|
0
|
1158
|
|
POST
|
I attached the XLS form, and here are the Javascript functions I embedded in the survey. function uniqueSpecies (translatedSpecies)
{
var x = translatedSpecies
x = Array.from(new Set(x.split(','))).toString();
return x;
}
function translateSpecies (batString)
{
var text = batString;
var result = text.replace(/ANPA/g, " Pallid bat");
var result = result.replace(/COTO/g, " Townsend's big-eared bat");
var result = result.replace(/EPFU/g, " Big brown bat");
var result = result.replace(/LABL/g, " Red bat");
var result = result.replace(/LACI/g, " Hoary bat");
var result = result.replace(/LANO/g, " Silver-haired bat");
var result = result.replace(/MYCA/g, " California myotis");
var result = result.replace(/MYEV/g, " Long-eared myotis");
var result = result.replace(/MYTH/g, " Fringed myotis");
var result = result.replace(/MYVO/g, " Long-legged myotis");
var result = result.replace(/MYYU/g, " Yuma myotis");
var result = result.replace(/PAHE/g, " Canyon bat");
var result = result.replace(/TABR/g, " Mexican free-tailed");
var result = result.replace(/MYLU/g, " Little brown myotis");
var result = result.replace(/MYCI/g, " Small-footed myotis");
var result = result.replace(/NYMA/g, " Big free-tailed bat");
var result = result.replace(/EUPE/g, " Western mastiff bat");
var result = result.replace(/EUMA/g, " Spotted bat");
var result = result.replace(/MY/g, " Myotis spp.");
return result;
} This might be a helpful references for you: https://community.esri.com/t5/arcgis-survey123-blog/extending-survey123-smart-forms-with-custom-js/ba-p/898782 Also, I didn't do this in my XLS form because I was just testing, but remember to set the bind::esri:fieldType to Null for all of these Javascript and display fields if you don't want these fields to be part of your feature layer attribute table. Also, the fields that are used in the calculations can have "hidden" set as the appearance type so they won't display in the survey. I really hope this helps! And if anyone else comes across this and has pointers, I'm all ears. I came up with this solution as a complete newbie to Javascript (~intermediate familiarity with Python) and referenced StackOverflow a lot...
... View more
10-20-2022
10:37 AM
|
1
|
3
|
4637
|
|
POST
|
So, I had a bit of fun with this "challenge question" and wanted to find a solution, as I am very new to Javascript and wanted to take the opportunity to practice, while also hopefully help someone out. I got a solution to work 🙂 It's almost embarrassing to share since I *know* there are better methods out there and I'm probably not doing it in the most efficient or logical way, but....it works. If you're still needing a solution and want more details, let me know and I'm happy to share the XLS form. Best, Katherine
... View more
10-20-2022
10:12 AM
|
0
|
5
|
4644
|
|
POST
|
Sounds to me like a great scenario for utilizing Operations Dashboards. There are a few things you could do... You can have web maps or web applications show up as "tabs" by stacking them in the dashboard layout. I made the screenshot below very quickly, but I'm sure there are a lot of other configurations you can play around with, like renaming the elements so they don't just say "Map". If you chose this route, it would probably be best to create separate web maps, one for each tab. You would set up the filter based on the "theme" attribute in the web map itself, so that only survey points for those themes would display. The info from the survey would display in the pop-up when the point was clicked on the map. If you don't have to have the "tabs" appearance, there are other things you can do within Operations Dashboard or WebApp Builder by setting up filters that can be activated dynamically via buttons in the dashboard elements or webapp widgets. Maybe that's all you need to get you going in the right direction, but if you have more specific questions I'll try to help! Good luck and have fun 😉
... View more
10-20-2022
07:03 AM
|
0
|
0
|
764
|
|
POST
|
One solution I might suggest is to unshare the surveys so that only the owner and admins will see them. It's not exactly the same as a true "archive", but it will help clear up the clutter for users who aren't admins. I'm not aware of any other type of formal archiving process in AGOL.
... View more
10-19-2022
07:30 AM
|
1
|
0
|
1152
|
|
POST
|
@MattEdrich If you want to post your XLS form and template here or in DM, I'd be happy to take a look and try to help. 🙂
... View more
10-18-2022
08:06 AM
|
0
|
3
|
4693
|
|
POST
|
If the survey responses have not been submitted, they don't exist anywhere except for on the actual device they are being submitted on. So, you would have to view the drafts folder within the Survey123 app on that device. There isn't any other way I can think of to view unsubmitted responses, unfortunately.
... View more
10-18-2022
07:49 AM
|
1
|
1
|
2147
|
|
POST
|
A couple questions - will you be able to use Javascript functions, or does the survey need to be public? (public surveys don't support Javascript functions) And am I understanding correctly that these surveys will be submitted, and then accessed again through the inbox for additional data to be added by a new person? (hence why the summary note would be helpful)
... View more
10-17-2022
10:52 AM
|
0
|
7
|
4775
|
|
POST
|
Also, will you be using ArcMap or ArcGIS Pro to make these maps?
... View more
10-06-2022
07:30 AM
|
1
|
0
|
2642
|
|
POST
|
You can simply add a basemap and set the extent to show to United States. If you're able to share an example of what you need the final product to look like, I can maybe suggest additional resources to help.
... View more
10-06-2022
07:26 AM
|
1
|
0
|
2642
|
|
POST
|
Admittedly I don't know anything about QGIS, but it sounds like you could just have a map and layout in ArcGIS or ArcMap, and the put the points feature layer or shapefile in that map. Since you've already figured out how to update that point layer, the rest shouldn't really need any additional work after you create the layout template. Simply researching "ArcGIS layouts" should get you in the right direction, I hope....
... View more
10-06-2022
07:07 AM
|
1
|
3
|
2656
|
|
POST
|
Thanks @DougBrowning and @LaurenceTait for your responses! I needed this form to go "live" as soon as possible, so I used Doug's tip about using a null data type for the point geometry and only recording the coordinates. With that schema, the report printed out the way I needed! I will definitely investigate the sorting method that Laurence mentioned though, thanks so much for sharing your form! Best, Katherine
... View more
09-28-2022
01:47 PM
|
1
|
0
|
2500
|
|
POST
|
Good idea Doug, I didn't realize that you could do that, so that's really good to know! I do need the points to be able to map the locations of the compliance and background samplings spots, but I could create those points from the coordinates if needed. I also have another idea I'm going to try (having the geometry collected outside the repeat, and including a unique ID to link the data). I'll post back here if I make progress! Thanks for your response 🙂
... View more
09-22-2022
08:50 AM
|
0
|
0
|
2555
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 2 | 3 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 04-17-2026 09:23 AM | |
| 1 | 04-10-2026 08:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|