
Announcements
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:
Submit button OnSelect:
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 !
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)”.
Then, Fill the “Last(DataSource)” into the Form you want to show the record.
Let us check if it worked. Insert a new record into the data source.
Back to the App and Click the Button.
We will see it worked.
Hope that will help you!
Best Regards,
Tina