cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
terryliang
New Member

Get Forms attatchment data

I have a form that has two file upload fields, I know I can use Parse JSON to get one file data.

But it doesn't work to get two file upload field

1 ACCEPTED SOLUTION

Accepted Solutions
terryliang
New Member

I use Initialize variable to get the attachment message now

terryliang_0-1632121293072.png

 

View solution in original post

4 REPLIES 4
Gopala_Krishna
Super User
Super User

@terryliang 

In forms whenever you add a file upload control a corresponding folder gets created in Onedrive by formname and the question name for which you have added the file upload control.

 

When you upload a file to the form from that control it get's stored in the one drive in the related folder.

 

Instead of doing parse json from Power Automate, you can do OneDrive "Get Files" action and point the path to the folder that got created. This way when ever a form response is submitted you would to able to retrieve details from Power Automate.

 

Cons of using this process

-----------------------------

- Folder doesn't segregate between individual form responses it stores all the files at one place, which means if there are 4 users who have submitted their responses then all the files uploaded by those 4 users would reside in same place.

 

To tackle this scenario add a "Delete file" or "Move File" action when you read the contents from one drive this way you can ensure that you have unique file data each time.

 

Find folder related to the form

-----------------------------------

For finding the folder related to the form 

Goto Onedrive --> Apps --> Microsoft Forms

 

If the information shared helps you please consider giving a thumbs up 👍 and mark solution as resolved

Please follow my website PowerCards for more information related to Power Platform
terryliang
New Member

I use Initialize variable to get the attachment message now

terryliang_0-1632121293072.png

 

View solution in original post

FelipeRioBranco
New Member

Olá,  @Gopala_Krishna!
Em qual etapa eu posso solução feita por você?

FelipeRioBranco_0-1634225296259.png

 

@FelipeRioBranco 

You can do it as the third step after the "Get response details" action.

 

 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,204)