automate the update of attachments via arcade

298
0
07-22-2022 03:48 AM
JavierCMartínezPrieto
Occasional Contributor

Hello to all of you who participate in the post,

the problem I have is the following, I have a service that already has files attached to the survey records and I want to update these records with other images.
So when the update is done I have to be able to indicate which record each picture belongs to by means of a field of the service either globailID, parentglobailId or any other.

Does anyone know how I can perform this operation, currently I have a script that do the opposite, ie download all the data from the service in Excel and attachments.

This script belongs to Zachary obtained from the following link:


https://github.com/Esri/Survey123-tools/blob/main/Export_survey_data_with_attachments/export_survey_...


First of all thanks to all of you who participate.

Greetings Javier

#########################ESPAÑOL#################################################

 

Hola a todos lo que participéis en el post,

el problema que se me presenta es el siguiente, poseo un servicio que ya tiene archivos adjuntos en los registros de la encuesta y quiero actualizar estos registros con otras imágenes.
por lo cual cuando se haga la actualización tengo que poder indicarle a que registro pertenece cada foto mediante un campo del servicio ya sea globailID, parentglobailId o cualquier otro.

Alguien sabe como puedo realizar esta operación, actualmente tengo un script que hacer lo contrario, es decir descarga todos los datos del servicio en Excel y los archivos adjuntos.

Este script pertenece a Zachary obtenido del siguiente enlace:
https://github.com/Esri/Survey123-tools/blob/main/Export_survey_data_with_attachments/export_survey_...


Antes que nada gracias a todos los que participéis.

Saludos Javier

 

 

 

 

Javier C. Martinez Prieto
0 Kudos
0 Replies