web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to populate a Shar...
Power Automate
Unanswered

How to populate a SharePoint List with Excel Table that is manually created from the flow.

(0) ShareShare
ReportReport
Posted on by 94

Hi,

 

My flow does the following

 

1) Takes email spreadsheet attachment and saves it to SharePoint with a unique file name. 

2) Gets the SharePoint Excel file and adds a table based on a custom range and name i specify as the attachment is without a table.

Epidot_1-1682172730076.png

 

When i attempt  'List rows present in a table'   i cannot point directly to the file as each spreadsheet saved has a unique name, so instead i add the file Full Path from the 'get file properties' step. This means there is no Table selection in the drop down and i have to manually type the name of the Table.  Table1

Epidot_0-1682173395629.png

 

 

When i then try to 'create item' in the SharePoint List i get no excel table column headers to chose from so i cannot populate this list.

 

Epidot_4-1682173063787.png

 

I know that if if could point to the file through the directory it would see the table, i could select the table and the column headers would show.  The problem here seems to be that as the file saves each time with a unique name (todays date-attachment name)  that i am unable to point to the file and this causes an issue where the table has to be manually specified and in turn no longer shows the headers for me to match Excel table  to SP List...

 

Please let me know how to work around this? thanks

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    You can point to a dynamic file name in the list rows present in a table if you encode the path to the file using EncodeURIComponent() function. IF the Table always uses the same columns then you can add it once manually and then replace the location and file name with encoded dynamic content.  If the columns change from file to file then you need to create each row as an Item record with all the named columns.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard