Camera

Specific Properties

Property NameDescription
Is DownloadableIf you click this check box, the application allows the user to download the media that the “Camera” element captures.
Display as JSONClick this check box to display the media in JSON format.
Use as JPEGWhen you click this check box, the “Camera” element by default captures the media and then asks the user to save it in JPEG format.
Location EnabledClick this check box to activate the location capturing feature. After you click this check box, the “Camera” element also captures the longitude and latitude coordinates of the media’s location, in addition to the media.
Location MandatoryAfter you click this check box, the “Camera” element mandatorily captures the media’s location (longitude and latitude), in addition to capturing the media.
Info VisibilityClick this check box to display the “info” of the captured media. After the “Camera” element captures the media, the application displays the media’s details in two parts:
a). First Part:- This part displays the media.

b). Second Part:- This part displays three items related to the media:
–> 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
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 media 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.
Frame HeightIn this field, enter the pop-up screen’s height in pixels to capture the media. When the user uses the camera to capture a media, the camera opens the pop-up screen to capture the image or video.
Frame WidthIn this field, enter the pop-up screen’s height in pixel to capture the media.
Resolution HeightIn this field, enter the resolution height in pixel unit. The resolution height specifies the number of pixels from top to bottom.
Resolution WidthIn this field, enter the resolution width in pixel unit. The resolution width specifies the number of pixels from left to right.
Destination TypeClick this list and then select one of the following values:
–> Base64
Select this option to store the media in the database.

–> DMS
Select this option to store the media 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 media on the application. You cannot download the media.

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

–> Hard
Select this option to delete the media from the application and S3 server.
SectionMedia Identifier
Primary Key1, Primary Key2, and othersIf you intend to store the media files on the S3 server, you can configure the following properties to manage the media 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 business object’s 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 media 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 a media that is smaller than the permissible minimum media 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 media 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 a media that is greater than the permissible maximum media size.

The error message is primarily defined in the message master module.
ValidationNot Applicable
Was this article helpful?
YesNo