Single Image Uploader

Specific Properties

Property NameDescription
Is DownloadableIf you click this check box, the “Single Image Uploader” element provides an interface to download the image.
Display as JSONClick this check box to display the image in JSON format.
Info VisibilityClick this check box to display the “info” of the image. The “Single Image Uploader” element displays the image’s details in two parts in the document’s list:
a). First Part:- This part displays the image.

b). Second Part:- This part displays three items about the image:
–> Info
–> Comments
–> Tags


As described earlier, clicking this check box displays the “Info” item of the second part of the image’s details.
Comments VisibilityClick this check box to display the “Comments” item of the second part of the image’s details.
Tags VisibilityClick this check box to display the “Tags” item of the second part of the image’s details.
Is VisibleBy default, this check box is selected to make this property active. It makes the element visible to the end-user on the application.
Is EnableBy default, this property is also selected, which makes it active. This property allows the end-user to perform the functions on the element.
Is Read OnlyNot Applicable
Is ParentNot Applicable
Column to ValidateN/A
JSON PathN/A
Default ValueSee the description in the “Text (FV)” element.
Custom LabelSee the description in the “Text (FV)” element.
Select Document Viewer Template IDClick this list and then select an in-built document viewer template as follows:
–> Template01
This template displays the image in a pop-up screen to the right of the application’s window. You can drag this pop-up screen.

–> Template02
This template displays the image in full screen view.
Enter Delete MessageIn this field, you can define a message that the application will display after the user deletes a media. To define the message:
–> In the Enter Delete Message field, you can manually enter the message.
–> You can use the getVal ( ) function to fetch the message string from the business object in the data source.
BR Statement for Document DeletionIn this field, enter a business rule’s name that will allow the user to delete the image file if the application satisfies the condition that is defined inside the business rule.

You need to define the business rule in the element’s business object.
Destination TypeClick this list and then select one of the following values:
–> Base64
Select this option to store the image file in the database.

–> DMS
Select this option to store the image in the S3 server.
Fetch TypeClick this list and then select one of the following options:
–> View
If you select this option, you can only view the image on the application. You cannot download the media.

–> Download
If you select this option, you can view and download the image.
Delete TypeClick this list and then select one of the following values:
–> Soft
Select this option to delete the image from the application. The “Soft” delete type deletes the image from the application but maintains the image on the S3 server.

–> Hard
Select this option to delete the image from the application and S3 server.
SectionMedia Identifier
Primary Key1, Primary Key2, and othersIf you intend to store the image files in the S3 server, you can configure the following properties to manage the image files on the basis of the unique identifier:
–> Primary Key1 to Primary Key3
–> Document ID
–> Document Type
–> Document Sub Type
–> Document Bundle ID
–> Object Type
–> File Definition ID


After you configure these properties, you can use them as a unique identifier to manage the media at the database level. To configure these properties:
a). You can enter the values of these properties manually or
b). You can use the getVal() function to fetch the properties’ values from the data source. In the getVal() function, you need to define the business object to fetch the values from the data source.
SectionImage Cropping Option
Enable Image CroppingClick this check box to activate the image cropping function in the “Single Image Uploader” element.
Cropper Width, Cropper Height, and Cropper Min WidthAfter you activate the image cropping function, you can configure the following properties to use the cropping function based on the requirements:
–> Cropper Width
–> Cropper Height
–> Cropper Min Width

You can provides the value of these properties in pixel unit.
Aspect RatioIn this field, enter a decimal value (for example:- 1.3). This value defines the proportion between the image’s height and width.
Crop Error MessageClick this list and then select a unique ID of the error message. The application displays this error message after the user performs the cropping wrongly.

The error message is primarily defined in the message master module.
SectionMedia Option
Minimum Upload SizeIn this field, enter a numeric value (for example:- 450) that specifies the minimum image size that you can upload to the application.
Minimum Upload Size MessageClick this list and then select a unique ID of the error message. The application displays this error message after the user attempts to upload an image that is smaller than the permissible minimum image size.

The error message is primarily defined in the message master module.
Maximum Upload SizeIn this field, enter a numeric value (for example:- 450) that specifies the maximum image size that you can upload to the application.
Maximum Upload Size MessageClick this list and then select a unique ID of the error message. The application displays this error message after the user attempts to upload an image that is greater than the permissible maximum image size.

The error message is primarily defined in the message master module.
Select Media TypeClick this list and then select the media type (for example:- .jpg) that you want to display to the user.
ValidationNot Applicable
Was this article helpful?
YesNo