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
Register for a Free Workshop.png

Register for a Free Workshop

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

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,597)