cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LukasSliuzas
Helper II
Helper II

Removing Attachments using Attachment control

Hello,

 

I have a gallery with attachment control. When having Gallery selected item I wish to remove one out of maybe 3 attachments. Looking for guidance how to do such thing. 

11 REPLIES 11
LukasSliuzas
Helper II
Helper II

@PG_WorXz10 

 

Is there a way to pull File ID in PowerApps?

Hi @LukasSliuzas ,

 

Not sure if you meant Attachment ID or something else.

 

Below code will help you get the attachments in the SharePoint list items.

 

Filter(DataSourceName,Condition).Attachments.id
or 
Filter(DataSourceName,Condition).Attachments.DisplayName

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,074)