web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

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:
I have the same question (0)
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    In your button add this command:   ResetForm(FormName)

  • Community Power Platform Member Profile Picture
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard