cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Wheatcroft
Level: Powered On

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 Smiley Happy 

 

Flow Error.PNG

2 REPLIES 2
Community Support Team
Community Support Team

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

pepevelez
Level: Powered On

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

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 166 members 4,185 guests
Please welcome our newest community members: