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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (5,795)