That sounds useful, I might use that technique for displaying photos. This is how I am interpreting that workflow:
1. Field user attaches a photo to a hosted feature during offline editing.
2. Field user syncs data and attachments.
3. Map feature has to be configured for users to download attachments as well as geometry.
4. The arcade process in this tutorial assigns a unique ID to each photo or attachment that the field user created.
5. The now synced attachment is displayed directly in the popup when viewed online, or offline after the field user downloads an updated offline area.
The way I am seeing this, its not gonna work for the OP question, but I want to implement this on some web apps, so thanks for that Colin. Let me know if you see holes in how I am seeing this.
Chris Root