I'm tring to get a file content from my One Drive. The file name is dynamic. Therefore, I can't just select the name from the system.
The file is in the "MCCMINvoice" folder in my One Drive. Therefore, I try to use the "Concat" function as in a file path (location and name) as below. the "varInvNo" is the name of file, but it is erroring out.
Any help will be greatly appreciated. Thanks
Using Get file content action, you couldn't get the file content in this way.
Since you want to use the path of the file to get the contents of the file, you could use Get file content using path action.
I did a test on my side, using a variable to save the file name and using the concat() function to make up the file path.
It work, as below:
Take a try.
FIrst, thank you so much for your replay.
I tried, but I'm getting the error message below.
Have you tried recreating a Flow and creating a new connection to OneDrive?
You could try to remove exist OneDrive connection, then create a new Flow, configure new actions and connection.
Take a try and let me know if issue still exist.
Hi can you help me I have the same flow.i want to get the file from onedrive.filename is customer code.and it will be attached in sharepoint as per customer code
Check out the News & Announcements to learn more.
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.