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 get saved ...
Power Apps
Unanswered

Attachments get saved once save button is clicked

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

The attachment gets saved to SharePoint when save button is clicked but still we able to see unsaved in the attachment box,

Tried with refresh the sharepoint once save is clicked but still it remains same.

Help me out with fine solution

 

Thanks in advanced

Soumiya

Categories:
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    In your button add this command:   ResetForm(FormName)

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks @JR-BejeweledOne 

    I tried the same but when it resets the attached file are not even able to be seen on attachment box. 

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Then I am not sure what you are wanting.   If you don't reset the attachment form, the attachment will still be shown in the box.   That does not mean it wasn't saved to your list.

     

    What exactly is it you are wanting to do?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @JR-BejeweledOne 

    I have a form where I have a option of editing the form when needed.

    And also there is option of adding the attachment.

    The data source is SharePoint.

    The data on form is displayed based on the value selected from gallery.

    If there is already attachment present in SharePoint those attachment are displayed.

    When a new attachment is added and clicked on save. the attachment gets added to the sharepoint but in form i can see a label as unsaved beside the attachment name that was newly attached.

    I tried refreshing the data source but still it remains the same.

    When I try to reset the form gets refreshed while hitting on save but on attachment box I am not even able to see latest attached file.

    I need to see the latest attached file along with the old attachments without label "unsaved" even after hitting into sharepoint.

     

    Thanks in advance

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    I can't duplicate your issue.   I am able to add additional attachments to an existing SharePoint item and there is no unsaved label.

     

    What is the AttachmentsDataCard update property set to?   It should be DataCardValueX.Attachments.

     

     

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 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard