cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dhayalan
Frequent Visitor

Alternative to GET rows Excel : List rows how to use for dynamic files

This post is to help users who migrate from "Get rows" option to "List rows option" and find that dynamic file id no longer works.

 

Here is that solution for that , I was using share point to upload excel files as attachments and retrive the excel files and then create the excel file in one drive.

 

Since the "Get rows" function was removed in latest version of the flow , All I have left was with "List rows from table in Excel option"

 

After I have started using List rows

Capture.PNG

 

I observed that the FileID from One Drive no longer works. I can't send a dynamic file name to the List rows. I was troubleshooting using "Peekcode option" in the flow and have observed the the "File"  section its "path" in peekcode

 

"path": "/drives/@{encodeURIComponent('b!-N7nRK_cl06qffUTjNL1jTYHhozQR1xGtZ9pYLdy0ssHQab1TcoWTaTcrIovVzN5')}/files/@{encodeURIComponent('012INQHUEX4GB5GGMEEZEY6EBSNPOQVBFT')}/tables/@{encodeURIComponent('Table')}/items",
 
The FileID from from one drive is combination of Documentlibraray.File , The List row File parameter only accepts the File token , all I have to do it was to create a variable which looks like this 
  last(split(body('Create_file')?['Id'],'.') so that the File ID will have only "012INQHUEX4GB5GGMEEZEY6EBSNPOQVBFT"
 
1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

Hi @Dhayalan ,

 

I really appreciate your sharing.

 

I have tested it and it is working properly.

 

It would be helpful for other customers as well.

1.PNG2.PNG

 

By the way, please feel free vote this submitted idea so that it can be an out-of-box feature in future releases:

https://powerusers.microsoft.com/t5/Flow-Ideas/Dynamic-content-in-File-amp-Table-inputs-Excel-Busine...

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yamao-msft
Community Support
Community Support

Hi @Dhayalan ,

 

I really appreciate your sharing.

 

I have tested it and it is working properly.

 

It would be helpful for other customers as well.

1.PNG2.PNG

 

By the way, please feel free vote this submitted idea so that it can be an out-of-box feature in future releases:

https://powerusers.microsoft.com/t5/Flow-Ideas/Dynamic-content-in-File-amp-Table-inputs-Excel-Busine...

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
RachelRig
Kudo Collector
Kudo Collector

I was able to get a dynamic file ID using this method that grabs the Thumbnail Large properties. See here:  https://powerusers.microsoft.com/t5/Building-Flows/Excel-Business-problems/m-p/107609/highlight/fals...

 

******************************

Just want to say that I used KarimH's method and IT WORKED. First initialize a variable that gets the value of Thumbnail Large. The name of this variable (for me) was "varThumb". Then initialize another variable for the File using this expression as the value: 

 

split(split(variables('varThumb'),'items%2f')[1],'%3fversion%3d')[0]
 
Then use the List Rows action and set the File field to the FileID variable. 

I tried, but I had no success, I did with sharepoint, could it have been this, please help

Janneke123
Frequent Visitor

Hi @v-yamao-msft,

I have an Excel Sheet submitted to Sharepoint Documents via Power Apps.

This Sharepoint Document I want to integrate in Sharepoint List to create a database there. 

Could you tell me how I can select to only continue from my Sharepoint Document with Table 1? (It will always be named Table 1)

 

Best regards,

Janneke

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,916)