Using Survey123 Javascript to edit attachment names

04-07-2021 09:00 AM
New Contributor III

My organization has developed several Survey123 Forms with many photo attachments.  The issue is xlsforms does not allow for dynamic naming of these photos.  Is it possible to use the new Javascript functions to rename the photos based on field attributes when they are added as an attachment in the form? Currently we are using python script to post-process the image files but it requires higher level user expertise then we prefer.  Any help or suggestions would be appreciated.

1 Reply
Esri Notable Contributor

Python will do the trick. Totally agreed that it takes expertise to set it up, but technically, it is right now the best approach.