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.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,455)