Capture Image

Description:

Capture Image

Use this component to capture images using webcam connected to your device. This will capture the image and return you the file Id which is binded to the view attribute. Use can also use Trigger After/Before Upload triggers to perform various actions.

Get the captured Image on URL service/aservice passing fid and parent datasource as parameter.Example

`service/aservice?fid=1234&ds=MyDatasource&attr=MyfileId&sid=${session.sessionId}`

Allowed Parent Components:

  1. Col

Allowed Child Components:

  1. Popover

  2. Pulse

  3. Trigger After Upload Attachment

  4. Trigger Before Render

  5. Trigger Before Upload Attachment

Properties

➤ View Attribute

Choose an attribute which will store the unique ID of the image.

Allowed Values: Choose an attribute which will store the unique ID of the image.

➤ File Name

Provide a name of the file generated after capturing an image.

Allowed Values: Free text field

➤ Min Screenshot Height

Provide the height for captured image.

Allowed Values: Any number value

➤ Min Screenshot Width

Provide the width for captured image.

Allowed Values: Any number value

➤ Image Format

Select the image format type.

Allowed Values:

  1. image/png

  2. image/jpeg

  3. image/webp

➤ Auto Upload

Check this to upload the image on capture

Allowed Values: Yes/No

➤ Margin

Select a value to add margin on all four sides of the component. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.

Allowed Values: Any number value

➤ Margin Bottom

Select a value to add margin on the bottom of the component.

Allowed Values: Any number value

➤ Margin Left

Select a value to add margin on the left of the component.

Allowed Values: Any number value

➤ Margin Right

Select a value to add margin on the right of the component.

Allowed Values: Any number value

➤ Margin Top

Select a value to add margin on the top of the component.

Allowed Values: Any number value

➤ Padding

Select a value to add padding on all four sides of the component. It is a shorthand for padding-top, padding-right, padding-bottom, and padding-left.

Allowed Values: Any number value

➤ Padding Bottom

Select a value to add padding in the bottom of the component.

Allowed Values: Any number value

➤ Padding Left

Select a value to add padding in the left of the component.

Allowed Values: Any number value

➤ Padding Right

Select a value to add padding in right of the component.

Allowed Values: Any number value

➤ Padding Top

Select a value to add padding in top of the component.

Allowed Values: Any number value

Last updated