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 / Delete Attachment in S...
Power Apps
Unanswered

Delete Attachment in SharePoint-List

(0) ShareShare
ReportReport
Posted on by 96

Hello guys,
I've add a camera into my app. It works as I want. The only problem is the following one: 
When I remove the picture in the attachment Datacardvalue, it removes only from the collection and not from my sharepointlist. I've created a flow, but I dont know the code to make the flow run correctly. 
My Flow (maybe its not right):

User3048_0-1676909398182.png

 

 My App:

User3048_1-1676909513784.png

tbl_Candidate is my sharepointlist with the column "Anlagen". All the picture which I take, are saved in this column. 

My collection:

User3048_2-1676909586273.png

Thank you very much. 

Categories:
  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Hi @User3048 

     

    It looks like your flow is set up correctly.  What happens if you set up the same flow but use a manual flow for testing?  Does it delete the attachment as expected?

     

  • User3048 Profile Picture
    96 on at

    Hey @Rusk 

    Thanks four your respond. It doesnt work with a manual flow. 
    Is it possible to delete a Attachment without a flow? Maybe in powerapps with a Remove() or something? 

  • User3048 Profile Picture
    96 on at

    Whats the code to integrate the flow on a button?

    User3048_0-1676976921280.png

    The code (OnSelect) of my camera:

    User3048_1-1676976976267.png

     

  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    If it doesn't work even when testing the manual flow, then the flow is not working correctly.  Once you troubleshoot that, you can reference it in your Power App. 

     

    What are the results of the failed flow?  I would ask you to copy and paste the results but its probably in German 😅

  • User3048 Profile Picture
    96 on at

    That the error of my flow: Unable to process template language expressions in action 'Foto1' inputs at line '0' and column '0': 'The template language expression 'triggerBody()['Foto1_Wert']' cannot be evaluated because property 'Foto1_Wert' doesn't exist, available properties are 'Anlagelöschen_ID'. Please see https://aka.ms/logicexpressions for usage details.'.

     

    User3048_0-1677056173542.png

     

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 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard