Camera

This control starts the mobile camera to take a picture. For desktop browsers you will be able to upload a picture.

Special properties

  • Checkbox 'Add to attachements' - This will automatically add the Picture to the attachements of the current record

brixxApi Functions

Events

Example usage for onPictureTaken

Print picture

    brixxApi.printBlob(brixxApi.getFieldValue("controlId"));

Add picture to image control

   brixxApi.setFieldValue("controlId image control", brixxApi.getFieldValue("controlId camera control"));

Add picture to attachements

   brixxApi.uploadAttachement(brixxApi.getFieldValue("controlId"), documentTypeId(optional), filename(optional))

Last updated