HOW TO
Nongeographic data such as documents, images, and videos can be associated to a feature on a map as attachments. Adding attachments to a feature can be completed in ArcGIS Pro, Portal for ArcGIS, ArcGIS Online and ArcGIS Field Maps. However, some Esri products, such as ArcGIS Online, limit the attachment file size to 10 MB.
As an alternative, attachments can be added through the ArcGIS REST Services Directory. The ArcGIS REST Services Directory allows attachments up to 2 GB to be added to features by default. Refer to ArcGIS REST APIs: Uploads for instructions to increase the upload limit.
Note: Ensure the layer allows attachments before adding them. Allow attachments in ArcGIS Pro using the Enable Attachments tool before sharing the layer as a web layer. Refer to ArcGIS Pro: Enable attachments for instructions. Alternatively, attachments can also be enabled for features in Portal for ArcGIS. Refer to Portal for ArcGIS: Allow attachments for instructions.
http://webadaptorhost.domain.com/webadaptorname/rest
http://webadaptorhost.domain.com/webadaptorname/rest/services/<folder_name>/<feature_service>/FeatureServer/<layer_ID>/<feature_ID>/addattachment
Get help from ArcGIS experts
Download the Esri Support App