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 / 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

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard