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 / Edit form of new uploa...
Power Apps
Answered

Edit form of new uploaded file from sharepoint library

(0) ShareShare
ReportReport
Posted on by

Hello Community,

 

I have an application that is uploading files to a SharePoint library through the attachment control of a form using Microsoft Graph API:

FilipC2_0-1687013293717.png

Submit button OnSelect:

FilipC2_1-1687013518403.png

The files are displayed in a gallery and they can be edited in a form using the function EditForm() from the gallery SelectedItem, but what i want to achieve is that after a new file is inserted in the attachment control and the submit button that is uploading the file to sharepoint library is pressed to directly open the edit form of new added item for this to be edited.

 

Thank you in advance for your support !

Categories:
I have the same question (0)
  • Verified answer
    v-hanytian-msft Profile Picture
    Microsoft Employee on at

    Hi @FilipC2 ,

     

    Based on your description, Let us assume that you can only upload one attachment at a time in SharePoint and add a button to display the latest submission to SharePoint through Form.

     

    You can insert a Button and fill in the formula with ” Refresh(DataSource);EditForm(Form2)”.

    vhanytianmsft_0-1687161649731.png

     

     

    Then, Fill the “Last(DataSource)” into the Form you want to show the record.

    vhanytianmsft_1-1687161649732.png

     

     

    Let us check if it worked. Insert a new record into the data source.

    vhanytianmsft_2-1687161649733.png

     

     

    Back to the App and Click the Button.

    vhanytianmsft_3-1687161649734.png

     

    We will see it worked.

     

    Hope that will help you!

     

    Best Regards,

    Tina

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard