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.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,671)