Visual Media Capture
v4.4.1
The Visual Media Capture Block enables users to capture a photo or a video or upload an existing media file. This is useful when composing Applications such as a mobile inspection app and the user may be required to include an image when logging an issue.
Visual Media Capture Properties
Appearance
Common Properties
The visibility property is common to most Blocks;
Capture Button Text
The text displayed on the capture button.
Behavior
Common Properties
The disabled property is common to most Blocks;
Allowed File Extensions
This allows you to specify the types of files that can be uploaded. If left blank, any file type can be uploaded.
If a file extension is listed, (for example, a .png file), the Visual Media Capture will not allow you to upload any other file except those with a .png extension.
Max File Size
This setting dictates the maximum allowable file size for uploads. If you attempt to upload a file that exceeds the maximum size, it will not be uploaded.
Provider
The supported external cloud storage providers are Azure Blob or Amazon S3.
Use Variables
Tick to use variables for the provider-related properties.
Blob Connection String
Blob Container Name
Access Key
Secret Key
Bucket Name
Region
Value
Common Properties
The value property is common to most Blocks;
We recommend using a dynamic value property so that when you upload media files, the URLs are bound to the value property, with enclosed brackets and comma-separated.
You can utilize a stored proc to save the file URLs into a data source and view them by adding the URL as a hyperlink to a Data Grid.
Validation
Common Properties
The Validation Group and Required properties are common to most Blocks;
Required Message
The text of the error message that is displayed to the user when no media file has been captured or uploaded.
Capture Failed Message
The text of the error message that is displayed to the user if the media capture fails for any reason.
Last updated