I have an Excel Spreadsheet where there is a template on the main page and on the second page I have a table to add data from a SharePoint List into. The template on the first page then references this first row of data in the table to populate the template. To have the references work, I have to keep all the data on the first row.
I have tried Many different processes to accomplish this, all of which failed because of the excel connector limitations (File is locked by unknown, Document not available, etc.).
My current process is I copy the template document to a new folder, add the single row of data, change the file name and email it off.
This is where the catch is. It seems every time the Excel file is copied from the template Excel file, the Table seems to have a new GUID. Therefore the Add a Row into a Table action breaks. Unless I rebuild the action and point it at the newly created file.
So I need to capture the new table's GUID dynamically and use that to point the data to.
This shows it works with the initial document.
If I copy the excel template and try to add a row to the table, the table name I chose no longer exists and fails.
Also, If I try to use a Get tables action and get the first table with
first(outputs('Get_tables')?['body/value'])?['name']It errors out saying the columns are no longer present because I have to, again, remap the new table in the Add a row into a table action.

Report
All responses (
Answers (