Skip to main content
Version: v4.5

Add attachment

Adding a file attachment to an element in the UI#

  1. Fetch the elements that have related element properties you want to view and click a model element. For more information, see Fetching model elements.
  2. On the Related Items pane, click the Upload button.
  3. In the file picker, select the file you want to attach to the element.

Figure: Upload button File Upload

CalloutDescription
AUpload button

Data flow#

When a user uploads a file attachment to a model element in the user interface, the following data flow occurs:

  1. IafFile.getContainers gets file containers related to the model element.
  2. IafFile.uploadFile uploads the file to a container.
  3. IafItemSvc.addRelations creates relations between model element ids and file ids.