How to configure 'Single Image Uploader' in vFlow2.0?

How to configure ‘Single Image Uploader’ in vFlow2.0?
Kindly provide the configuration with an example.

Hi @simran.sachdeva,

To set up the Single Image Uploader, follow these steps:

1. Basic Properties:

This section requires you to define the basic details of the uploader.

  • Reference Name: A unique identifier for the uploader.
  • Label: The display name that will appear in the UI.

2. Properties Section:

In this section, you can configure various settings and behaviors for the uploader:

  • Optional Settings: You can enable certain features as per your requirements, such as:
    • Mandatory: Makes the image upload a required action.
    • Show Close Icon on Popup: Displays a close button on the upload popup.
  • Mandatory Fields: Some properties must be provided to ensure proper functioning:
    • Media Identifier: A unique 12-character identifier for the uploaded image.
    • Document Type: Defines the category of the document.
    • Document ID: A unique identifier for the document.
    • Document Bundle ID: Used to group related documents together.
    • Document Subtype: Further classifies the document within its type.
  • UI Customization: You can select a pre-provided template to control the look and feel of the uploader.
  • Destination Type Selection: Determines how the uploaded image will be processed and stored. You can choose:
    • BASE64: The image is returned in encoded format.
    • DMS ID: A unique identifier from the Document Management System (DMS).
  • Fetch Type Selection: Defines how the uploaded image can be retrieved:
    • View: Displays the image without downloading.
    • Download: Allows users to download the image.
  • Delete Type Selection: Determines how an image is deleted:
    • Soft Delete: Marks the image as deleted but retains it in the system.
    • Hard Delete: Completely removes the image from storage.

3. Data Section:

This section helps in storing and managing image data efficiently:

  • Data Path: Specifies where the DMS API response (such as the uploaded image’s metadata) will be stored.
  • API Configuration: Set up the three key DMS APIs:
    • UPLOAD API: Handles the image upload process.
    • FETCH API: Retrieves the uploaded image based on the selected Fetch Type.
    • DELETE API: Manages image deletion according to the chosen Delete Type.

By following these steps, you can successfully configure the Single Image Uploader to meet your requirements.

1 Like