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 / Attachments sharepoint...
Power Apps
Answered

Attachments sharepoint list

(0) ShareShare
ReportReport
Posted on by 308

Hi all

I want to save project logos with same name "logo.jpg".

That's ok, I did it creating a collection and save to sharepoint with submit botton in form.

But when people want to modify logo, how do I do to bottom overwrite the saved attachment?

Is that possible?

Thank you in advance

 

Categories:
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Hey! You can create a flow in power autoamte to check if there is a file with that name. If yes, delete the last one and publish the first, if not, create

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

  • alessandramaced Profile Picture
    308 on at

    Is there a way to do this without flow?

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Sure...


    If(

    CountRows(Filter(List; NewAttachemente.Name = Attachemente.Name)) = 0; NO DOCUMENT WITH THIS NAME; THERE IS DOCUEMNTS WITH THIS NAME)

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

  • alessandramaced Profile Picture
    308 on at

    Is there a way in this case overwrite the old "logo.jpg"?

  • Verified answer
    Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    It is better you use flow...

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

  • Verified answer
    WarrenBelz Profile Picture
    156,752 Most Valuable Professional on at

    Hi @alessandramaced ,

    One option is to simply display the latest attachment as 

    Last(
     AttachmentControlName.Attachments
    ).Value

    in an Image control - they then just add the new one. If they forget to delete the old one it does not matter. You can also name them whatever your want.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard