Manage Attachments

If your integrated workbook has an attachments table layout, you can upload and download attachments as well as perform standard create, edit, and delete functions.

Attachments are often associated with a parent business object. For example, an expense report may have one or more associated attachments representing receipts. For this reason, attachment table layouts are often a child layout in a hierarchy of layouts in a workbook. In our example, a form in a Form-over-Table may display the expense report header and the child table may list the associated attachments. Keep in mind that the attachment table could be located on a separate worksheet from its parent layout. See Manage Data in Form-over-Table Layouts and Manage Data for Multi-Level Business Objects.

Oracle Visual Builder Add-in for Excel supports attachments of file, text, and web page types. Unknown attachment types are treated as file type attachments.

Upload Attachments

You can add URLs, as well as text and file type attachments, to attachment records and upload them to the web application.

To upload a new or revised file or text attachment:

  1. Select any field in a new or existing row to open the Attachment pop-up window.

  2. From the pop-up window, click the Upload icon.

    Figure 3-2 Attachment pop-up window Attachment pop-up window

    Note: The Upload icon is disabled when you select a field in a new row if Create is not enabled for the table layout. It is also disabled for an existing row if Update is not enabled.

  3. From the Choose a File to Attach prompt, navigate to the location where the file is saved.

  4. Select the file and click Open.

    The local file path is displayed in the read-only Local File Path column. A link also appears in the pop-up. You can use this link to open the local file in the file's default program.

    This image shows the Attachment pop-up window displaying a link to the local file.

  5. For new files, specify the attachment type in the Type field.

    The add-in recognizes FILE, TEXT, and WEB_PAGE as valid values for this column to represent file, text, and web page type attachments respectively. These values are case sensitive.

    The Change column for the row displays a Create or Update message. The attachment is now pending upload.

  6. Click Upload Changes to upload the attachment.

To add or edit the URL for a web page:

  1. Type the URL directly into the Url field for a new or existing row.

  2. For new URLs, type WEB_PAGE in the Type field.

    The Attachment pop-up window is read-only in this case and provides a link for the current URL.

    This image shows the Attachment pop-up window displaying a link to the web page.

  3. Click Upload Changes to upload the URL.

During upload:

Download Attachments

To download an attachment:

  1. Select any field in a row with a file or text attachment to open the Attachment pop-up window.

  2. From the pop-up window, click the Download icon to download a local copy of the attachment. This image shows an attachment table layout displaying the Attachment pop-up window.

  3. In the Save Attachment dialog, navigate to where you want to save the file and click Save.

    After successful download, a link is provided in the attachment dialog to open the file in the default program.

Limitations