pjdohertygis / SARCOP

This is a GitHub page for recording and resolving issues related to SARCOP.
https://nsargc.napsgfoundation.org/
GNU General Public License v3.0
10 stars 0 forks source link

Survey123: Deleting one photo removes all photos? #82

Closed pjdohertygis closed 3 years ago

pjdohertygis commented 3 years ago

IF multiple photographs are added to a survey and one of them is deleted, the app deletes all the following attached photographs. It would be best if only the selected photograph is deleted.

This is something that would need to be addressed by the Esri Survey123 Team.

IsmaelInRedlands commented 3 years ago

Hi @pjdohertygis Can you clarify the workflow in more detail? Are you using the multiline appearance to enable the collection of multiple photos in a single question? We are not aware of any cases where photos would be deleted like you describe.

pjdohertygis commented 3 years ago

@IsmaelInRedlands - Dave Weber from MOTF1 raised this. I just tested not with our v7 template and experienced the same issue.

  1. Open this Survey in the Survey123 app https://arcg.is/1Sz0L
  2. Take one photo, then a second
  3. Delete the first photo

Both photos disappear.

Is this something that we need to configure differently in our next version?

Current version: https://napsg.maps.arcgis.com/home/item.html?id=ce2489e702604d578aa0fd8e10ab27ba

IsmaelInRedlands commented 3 years ago

Thanks for sharing the survey. This helped identify the problem:

I suggest you do the following:

  1. Remove the second image question from your XLSForm.
  2. In the first image question, change the appearance to multiline
  3. Publish and refresh survey in mobile device.

More info on tricks to make photo questions more powerful at: https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-photos/ba-p/897907 The blog describes how you can set a limit to the number of photos that people can submit and other things that could be of your interest.

Hope it helps. @pjdohertygis

pjdohertygis commented 3 years ago

Thanks @IsmaelInRedlands - @jdokemaps and I will incorporate this improvement into v8.

jdokemaps commented 3 years ago

Done. I implemented the photo count as well. With that, do we still need the attachment question (if(string-length(${image0})>0,”has photo”,”no photo”)?

pjdohertygis commented 3 years ago

I don't think it is necessary for the Attachment View to work anymore - it just doesn't include points without attachments. https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/whats-new-with-attachment-viewer/

So, your call - does it still provide value in filtering data?

On Mon, Dec 14, 2020 at 11:46 AM Jared Doke notifications@github.com wrote:

Done. I implemented the photo count as well. With that, do we still need the attachment question (if(string-length(${image0})>0,”has photo”,”no photo”)?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pjdohertygis/WideAreaSearchTemplates/issues/82#issuecomment-744668630, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAPJU7FWUBQCKBFTFD24KLSUZTQHANCNFSM4TXJRQ4A .

--

Paul J. Doherty, PhD

pjdohertygis commented 3 years ago

@jdokemaps any further action on this or can we close it out?

pjdohertygis commented 3 years ago

We kept attachment count, got rid of the attachment count.