After creating the Attachment property, add it to the required pages or forms using
the Attachment form element. This form element doesn’t work without an Attachment property,
so you must create the property before starting this procedure.
You can add an Attachment form element to inventory forms when configuring Inventory
Photo Attachments. The Attachment property must be created for the Inventory entity
and associated with an OCI Object Storage application before you add it to the
inventory form.
-
Sign in as an administrator.
-
Create an Attachment property.
-
Click .
-
Click Screens and select a custom form or standard page,
such as Activity Details or an inventory form.
The Attachment form element is added to the selected custom form or standard
page. If you add the element to an inventory form, mobile workers can
capture and attach photos while adding or editing inventory, depending on
how the form is launched from the inventory screen.
If you export the custom form or user types, the Attachment element
configuration, including attachment validation settings, is also
exported.
-
Drag the Attachment element to the required section from
the New element section in the visual form editor.
-
Select the Attachment element and configure as
follows:
-
Select Take Photos to allow this element to
capture photos.
-
Select Add Watermark to Photos to add a
watermark to photos captured from this element.
-
Select Attach Files, to allow attaching files to
this element.
-
Enter a name for this element in the Name
field.
-
Expand the Validation rules and set the minimum
and maximum number of attachments that can be uploaded from this
element. The maximum range is 1 to 20 attachments, and the default range
is 1 to 5 attachments.
-
Enter a Validation error message that the
application should display if the number of attachments uploaded are not
within the range.
-
Click Publish.
Results:
The Attachment form element is added to the selected page or form. If Add watermark
to photos is enabled, photos captured from this element include a visible watermark
with location and date/time details.
Note: When you export
custom forms or user types, the Attachment element configuration is exported,
including attachment validation settings and the Add watermark to photos
setting.