I created a multiline annotate question with a custom file name expression in bind::esri::parameters:
fileName=concat(${facilityid},"_", format-date(${inspdate}, "%Y%m%d%H%M%S"),"_",position(..))
using the unique asset ID, an inspection date question, and to make sure it's a unique name, the number of the image in the multiline question.
When I test the form, the first photo I take gets named correctly, like:
999_202210060912_0.jpg
but then any additional photos revert to the default naming, like:
swBasInsp_image_20221006-091341.jpg
I found another post that says "position" only works with repeats, not multiline, but then shouldn't it throw an error instead of working for the first photo?
Survey Connect 3.15.178, tested on iPad and Android phone apps.
Survey in Enterprise 10.9.1 using a feature service referencing a SQL Server geodatabase
Thanks for any suggestions