cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kidv97
Frequent Visitor

Get file content and share the link in Approval

Hello all,

 

I have the issue is can not get file content from the upload file in Microsoft Form.

I want to get the content to create a link to sending Approval.

Kidv97_1-1614563019144.png

The error occurs at step Get file content.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Kidv97_0-1614847383152.png

I tried to do the following and it worked as I wanted.

View solution in original post

6 REPLIES 6
Masa_
Helper I
Helper I

Hello @Kidv97 

Please test with the following flow. I have a successful flow with this.

  1. After parsing the form file, use the first function in the composition action to output only the name value.

    first(body('Parse_JSON')).name

  2. Next, manually enter a path other than the file name in the [Get File Metadata by Path] path, and add the Compose-first output (name value) for the file name only.
  3. Then add the output (ID) of Get File Metadata by Path to the file in the Get File Content action.

2021-03-01_14h49_58.png

 

2021-03-01_14h50_06.png

 

 I used google translate.
Regards,
--------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

v-litu-msft
Community Support
Community Support

Hi @Kidv97,

 

Could you please share the error details?

I tested it on my side but not found the same issue:

Screenshot 2021-03-01 140308.jpg

 

Screenshot 2021-03-01 140322.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Kidv97_0-1614652624146.png

Kidv97_1-1614652679519.png

 

Because I am creating a form in a site of sharepoint, an error occurs in the Get file content step. When i using Get file content using path, error still occurs.

Kidv97
Frequent Visitor

Kidv97_2-1614654388740.png

How to choose the correct path of the upload file. Because the folder containing this file is located in another Sharepoint Site

v-litu-msft
Community Support
Community Support

Hi @Kidv97,

 

How about adding the drive id into it, please refer to this post:

Solved: Working with files from the Forms "File Upload" qu... - Power Platform Community (microsoft....

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Kidv97_0-1614847383152.png

I tried to do the following and it worked as I wanted.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,350)