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:
Allowed Child Components:
Trigger After Upload Attachment
Trigger Before Upload Attachment
➤ 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.
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
Select the image format type.
Allowed Values:
Check this to upload the image on capture
Allowed Values: Yes/No
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
Select a value to add margin on the left of the component.
Allowed Values: Any number value
Select a value to add margin on the right of the component.
Allowed Values: Any number value
Select a value to add margin on the top of the component.
Allowed Values: Any number value
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
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
Select a value to add padding in top of the component.
Allowed Values: Any number value