Notifications
Announcements
I'm capturing a Form response that I want to turn into an HTML table.
Question: How do I get 'value' for the From field?
I assume that I need to set / create it somehow, but I have not been able to find a forum or blog post that explains this step.
@mhorn30
Hi there. You might be able to use an expression like body('Get_response_details') - not sure...but worth a shot.
Keep us posted.
-Ed
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.
Hi @mhorn30 ,
Forms response is an object, but an array is required when creating an HTML table.
You need to initialize an array variable and fill the array with the form response in the following way.
Best Regards,
Hi @v-bacao-msft
I get this error when I try your method:
Flow:
I initially tried this template flow: https://emea.flow.microsoft.com/en-us/galleries/public/templates/6f59ddf2e91147e892e2ccf4f179fdb7/create-a-file-in-sharepoint-on-microsoft-forms-submission/
which makes use of "value" by default (without adding Initialize variable as a step).
But of course it fails saying: "The 'from' property value in the 'table' action inputs is of type 'Null'. The value must be of type 'Array'."
@edgonzales Unfortunately Flow does not like this, it says: "The 'from' property value in the 'table' action inputs is of type 'Object'. The value must be of type 'Array'."
The end of Value should be] instead of }.
Hi @v-bacao-msft I corrected the } to ] but experience the same error:
Finally solved it:
Thanks to this forum post: https://powerusers.microsoft.com/t5/Building-Flows/Create-HTML-Table-from-MS-Flow-inputs/m-p/482443/highlight/true#M59094
But, you forgot to add a comma after Responders’ email.
You're right, thank you, that also works and it's one less step:
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 522 Super User 2025 Season 2
Tomac 364 Moderator
abm abm 243 Most Valuable Professional