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

Struggling with Get file Content

I'm working on to "Save attachments from Microsoft forms to Sharepoint" but stuck at the following stage:-

 

Everything is working fine till Parse JSON step. When I add the action of 'Get File Content', I don't find any dynamic content populating for Parse JSON on the right, such as "name", "ID", etc.

 

Please advise

1.png3.png2.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
fchopo
Super User
Super User

Hello @Taggarwal 

According to this post: https://powerusers.microsoft.com/t5/Building-Flows/Working-with-files-from-the-Forms-quot-File-Uploa... by @v-litu-msft you should the driveId and id fields as the file name:

 

flow.png

 Be careful with the dot between the two fields.

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

4 REPLIES 4
fchopo
Super User
Super User

Hello @Taggarwal 

According to this post: https://powerusers.microsoft.com/t5/Building-Flows/Working-with-files-from-the-Forms-quot-File-Uploa... by @v-litu-msft you should the driveId and id fields as the file name:

 

flow.png

 Be careful with the dot between the two fields.

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

Thanks for your help.

 

I found the mistake I was committing. Instead of directly copying the code in Parse JSON, I was adding the code from 'Generate from Sample' due to which it was ignoring all variables and showing them as string objects.

Hey @Taggarwal , @fchopo 

the following blog post provides a detailed guide on this topic - https://blog.encodian.com/2020/04/handling-files-provided-in-a-microsoft-forms-response/

HTH

Jay

Hello @Taggarwal 

Please, mark @Jay-Encodian or mine answers as accepted solutions. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search.

Regards,

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,750)