Methods of Linking Image/Attachment

Introduction

Brief Introduction

You cannot set Data Linkage for the Image and Attachment fields directly. If you need to link these two fields, use the Select Data or Query Data fields.

For example, you can create a form, import images and attachments, and link them through Select Data or Query Data.

Application Scenario(s)

For the contract review, the contract attachment in an order form will be displayed automatically when you fill in the contract.

For the product form, the product image in a basic information form will be displayed automatically when you fill in the form.

Preview

Setting Procedure

Linking Image/Attachment According to Its Corresponding Name

1. Create a Product Information form. Use the Single Line field to record the product name, the Image field to record the linked image, and the Attachment field to record the linked attachment.

2. On the Manage Data page, click Add to submit data. Then fill in the product name, image, and attachment.

3. Create a Product Information Linkage form. You can either select the Single Line field and manually enter the product name, or select the Single Select field and select Lookup under Option. If you choose the latter, then select Product Information > Product Name.

4. If you just need to view the image or attachment, choose Query Data. If you need to retrieve images and attachments, or submit them to the system, choose Select Data.

  • You can set Query Data as follows:

Select Product Information from the drop-down list of Related Form, and set Product Image and Product Attachment as display fields. Then add a filter condition: Product Name in the product information linkage form equals Product Name in the product information form. After that, tick Single in Show Records.

  • You can set Select Data as follows:

Select Product Information from the drop-down list of Related Form and tick Show Record Title. Then add a filter condition: Product Name in the product information linkage form equals Product Name in the product information form. After that, in Data Filling, tick Product Image and Product Attachment, and select Fill into new fields.

5. Demonstration

Linking Image/Attachment Directly

In the scenarios where image(s) or attachment(s) should be displayed for filling and downloading by default, you can use Query Data.

1. In the Product Information form, drag the Single Line field to the form, enter 1 into the field under Initial Value, and untick View under Field Permissions. Then go to Manage Data, and create data (including the product name, image, and attachment).

2. In the Production Information Linkage form, drag the Single Line field to the form, and enter 1 into the field under Initial Value. For Query Data, add a filter condition: Single Line in the product information linkage form equals Single Line in the product information form.

3. Demonstration

Tick Single under Show Records.

Tick Multiple under Show Records.

Was this information helpful?
Yes
NoNo
Need more help? Contact support