cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Copy file in SharePoint and update rows

Hi, 

 

I'm trying to create a flow that copies an excel file from a template and updates rows of the copied excel file with responses from a form (trigger). 

 

The part I am struggling with, is the excel update row - I can't seem to use dynamic data for the file name, without getting a "Cannot evaluate the parameter 'file' at design-time; it is empty or has a runtime expression" error. 

 

Is there any other way I can update this file.

 

Screen shots below...

 

Thank you 🙂 

 

Flow Error.PNG

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Copy file in SharePoint and update rows

Hi @ Wheatcroft,

 

Do you want to insert row in to a new copy excel file in sharepoint library?

The error told that the flow couldn’t evaluate the parameter that you filled in the “File” field.

I have made a test and the issue is confirmed on my side. if use the dynamic content of the file name in “File” field “Add a row into a table” action of “Excel (Business)” connector, when fill in some value in the table field, the action would pop-up the error “Cannot evaluate the parameter 'file' at design-time; it is empty or has a runtime expression.”

 

You could select a file in the “File” field using the File picker of the field.

Using the dynamic content file name in the “File” field “Add a row into a table” action of “Excel (Business)” connector is not supported in Microsoft flow currently. If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Regards,
Alice Zhang

Highlighted
Regular Visitor

Re: Copy file in SharePoint and update rows

I'm struggling with the same issue.  I cannot use  Excel - Add a new row connector because It needs the file path to the actual file. It doesn't work if you just created that file (with a file that doesn't exit yet)

 

Is there a way to work around this  Wheatcroft?

 

 

Cheers,

 

 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (6,643)