web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch Attachment, from...
Power Apps
Answered

Patch Attachment, from for all items

(0) ShareShare
ReportReport
Posted on by 24

Hello!
I would like get some help if it is possible , please. 

I use a gallery with items to create new records in a sharepoint list using patch function, so far so good. But I need attach pictures also, same picture for all item of this gallery. I have tried it with a form and set a attachment control on it and add a bottom with the following code: 

 

ForAll(
 Gallery3.AllItems;
 Patch(
 Registros_TMLS_EQUIPOS_CDW;
 Defaults(Registros_TMLS_EQUIPOS_CDW);
 {
 POINT: Title3.Text;
 RESULT: Value(ResultadoInput.Text);
 DATE: DateValue(DATEInput.Text);
 TAG:Title3_1.Text;
 // Latitud: Value(LatitudeInput.Text);
 // Longitud: Value(LongitudeInput.Text);
 Operador: OperadorInput.Text;
 'Datos adjuntos':DataCardValue16.Attachments
 
 
 };
 Form2.Updates
 )
);;

 

Form2 data source is the same that Gallery3, 
Could you please give me some advice to find a solution?

Thanks in advance. 

Categories:
I have the same question (0)
  • Verified answer
    Muertepelá Profile Picture
    24 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard