Select to view content in your preferred language

Mobile Editing App Attachment Question

2668
2
12-19-2012 09:32 AM
MattSheehan
Deactivated User
We are building a mobile editing app in Mobile Flex for iOS and Android, demo here:

http://www.youtube.com/watch?feature=player_embedded&v=z3rcrOIciCQ

We have editing in both online and offline mode working well. What we would like to add is the ability to attach an image to a feature. We have attachments enabled in our (sample) ArcGIS Online hosted feature service. We'd like in our Mobile Flex viewer to have a similar component to what there is in ArcGIS Online:

[ATTACH=CONFIG]20082[/ATTACH]

Any advice on how we might build this component we would welcome.

Thanks

--Rory
Tags (2)
0 Kudos
2 Replies
SarthakDatt
Frequent Contributor
Hey Rory,

You can take advantage of the AttachmentInspector component:http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/AttachmentInspector.html

The Edit Widget in the viewer already does include that component http://resources.arcgis.com/en/help/flex-viewer/live/index.html?config=apps/config-edit.xml. You can take a look at the source code for the widget here:https://github.com/Esri/arcgis-viewer-flex/tree/master/src/widgets/Edit
0 Kudos
MattSheehan
Deactivated User
Many thanks Sarthak . A big help. Here are the results, we've added photo attachments to the mobile app:

http://www.webmapsolutions.com/mobile-arcgis-online-editing-photo-attachments

--Rory
0 Kudos