Representation of GeoDB Attachments on Feature Classes

Since ArcGIS 10 it is possible to create feature classes of a geodatabase file attachments in the form of BLOBs (Binary Large Objects) to be added or attached to a feature class. These attachments are stored in a separate asset table where links to the target record are maintained. You can also use these attachments in the WebOffice core client, in the WebOffice html client, as well as in the WebOffice mobile client and view them. Therefore, the basic settings have to be done within your MXD document, which are going to be explained in more detail within the following paragraphs:

1. Selection and view of the feature class

First open a new MXD document and drag the feature class into the map window to whose entries you want to attach various file attachments. This feature class can be stored both in a SDE database connection, as well as in a file geodatabase. If such a feature class doesn't exist so far, you have to create this feature class first and then set its objects in the empty MXD document.

2. Enable attachments for certain feature classes

Before you can add specific attachments to the particular features, you have to enable this possibility for the appropriate feature class. Therefor use the tool called Enable Attachments which you can find within the Data Management Tools under Attachments:

Enable Attachments

Enable Attachments

 

Within the tool menu, choose the appropriate feature class as Input Dataset and confirm this setting by clicking on the OK button.

3. Adding needed file attachments

Start the Editor in your ArcMap document. Select an appropriate feature within the map window and open the Attribute window by clicking the according button within the editor toolbar:

Editor Toolbar - Attribute Window

Editor Toolbar - Attribute Window

 

There you can edit all the field values of the selected features, while it is also possible to add attachments to the appropriate features. Therefore, click on the attachment button to open the Attachment Manager:

Attribute Window - Attachment Manager

Attribute Window - Attachment Manager

 

In the Attachment Manager you can use the button Add... to select the desired file attachments and attach them to the respective feature. There, it is also possible to edit, extend and delete your attachments at any time. Because of clearness reasons, it is recommended to store all the used attachments within one single directory.

 

While adding the appropriate files to the selected items, there are also an attachment table, as well as a relationship class created within your geodatabase:

Asset table and relationship class

Asset table and relationship class

4. Publish the Service and Settings within WebOffice author

Now you can already publish the features with the attached file attachments as a new Map service via File > Share as > Service.... Now add this map service in WebOffice author to an existing project and create a layer search for this service. Also make sure, that the objects of the appropriate layer are identifiable and selectable.

5. Retrieve attachments in the WebOffice clients

Now open the project, in which the Map Service with the attachments is also located, in the WebOffice core client, in the WebOffice html client or in the WebOffice mobile client. Select an appropriate feature and open the added attachment by clicking on the button within the result list:

Retrieve attachments within WebOffice

Retrieve attachments within WebOffice