Configurable Links for Attachment Viewer

178
2
09-24-2020 06:46 AM
ChrisAnderson4
Occasional Contributor

Is there are way to customize the Web address for the Attachment Viewer, so the attachments for a specific record can be highlighted when the app is opened? Something like this:

https://.../apps/instant/attachmentviewer/index.html?appid=eeaf3894b8f94955bd290625f7971a1f?field:ObjectID=19

where ObjectID=19 is the record I want to highlight.

Any help you can provide is greatly appreciated.

Chris Anderson

Florida Fish and Wildlife Conservation Commission

Reply
0 Kudos
2 Replies
JoshuaSharp-Heward
Occasional Contributor

From having a quick peek it looks like you can use &defaultObjectId=19 in the url to get it to start with that feature!

Reply
0 Kudos
RyanLibed
Esri Contributor

If you enable the sharing option in the Attachment Viewer config, you'll have the ability to auto generate a share link that will open the app at a specified feature. 


Steps:
1. In the configuration panel, enable Social sharing.
2. Publish your app. 
3. Launch the app.
4. Navigate to a feature that you would like your app to open at. 
5. Click on the link icon in the header.
6. Click on the copy button.
7. Paste to share the link. 


Reply
0 Kudos