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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Downloading Files from...
Power Automate
Unanswered

Downloading Files from Website tables

(0) ShareShare
ReportReport
Posted on by 74

Hello All,

I am trying to download files from a website. each page table has 8 cells. I built a flow and it works if I am trying to select number one file from each table. but it does not work for the second one. It always bring back to the first page and download the second cell from first page. I tried removing "> dataitem[Name*="TManifestV1_13418067.xml"]". But if I do that it selects first cell one more time.

> document[Class="Chrome_RenderWidgetHostHWND"] > table[Id="Table1"] > custom > dataitem > table[Id="Table2"] > custom > dataitem[Name=" Click for Old View Please Click A File Below Search Reset Search Maintained by ASWA, Inc. SEND mail to: SecureNet_support@aswa.com Privacy Policy  "] > table[Id="Table4"] > custom > dataitem[Name=" Click for Old View Please Click A File Below Search Reset Search "] > table[Id="Table3"] > custom > dataitem[Name=" Click for Old View Please Click A File Below Search Reset Search "] > table[Id="sgSort"] > custom[Name="Click to select file."] > dataitem [Name*="TManifestV1_13418067.xml"]

rrahat93_2-1716471528399.png

 

rrahat93_1-1716471443543.png

how do i fix it?

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    This is going to sound ridiculous, but I've had something similar?  

    Can you tab to the required icon and press the Space or Enter bar.  I used to download 100s of statements from a similar setup and I had 23 tabs up front and then on a loop for 7 tabs in between each "View" link and was able to get them that way.

    Good luck!

  • RR-05041550-0 Profile Picture
    74 on at

    can you please share a screenshot how you did it? @MichaelAnnis 

  • Riyaz_riz11 Profile Picture
    4,214 Super User 2026 Season 1 on at

    Hi @rrahat93 ,

    First try to capture 1st data from table and check ui element and next again try to capture 2nd list from table and try find which is getting change, class or id or ordinal.

     

    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    Regards,
    Riyaz

  • RR-05041550-0 Profile Picture
    74 on at

    Hi Riyaz, @Ahammad_Riyaz 

    Only thing I can see is changing is the dataitem[Name]. If i run the flow with the same name it just keep downloading same file again and again and if i remove the file name it only download the first file from each page.

     > document[Class="Chrome_RenderWidgetHostHWND"] > table[Id="Table1"] > custom > dataitem > table[Id="Table2"] > custom > dataitem[Name=" Click for Old View Please Click A File Below Search Reset Search Maintained by ASWA, Inc. SEND mail to: SecureNet_support@aswa.com Privacy Policy  "] > table[Id="Table4"] > custom > dataitem[Name=" Click for Old View Please Click A File Below Search Reset Search "] > table[Id="Table3"] > custom > dataitem[Name=" Click for Old View Please Click A File Below Search Reset Search "] > table[Id="sgSort"] > custom[Name="Click to select file."] > dataitem[Name="TManifestV1_13418065"]

     

    > document[Class="Chrome_RenderWidgetHostHWND"] > table[Id="Table1"] > custom > dataitem > table[Id="Table2"] > custom > dataitem[Name=" Click for Old View Please Click A File Below Search Reset Search Maintained by ASWA, Inc. SEND mail to: SecureNet_support@aswa.com Privacy Policy  "] > table[Id="Table4"] > custom > dataitem[Name=" Click for Old View Please Click A File Below Search Reset Search "] > table[Id="Table3"] > custom > dataitem[Name=" Click for Old View Please Click A File Below Search Reset Search "] > table[Id="sgSort"] > custom[Name="Click to select file."] > dataitem[Name="TManifestV1_13418067"]

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Send keys {Tab:27}
    Loop
        Send keys {Space}
        'went through downloading/renaming process
        Send keys {Tab:7}
    End loop

  • RR-05041550-0 Profile Picture
    74 on at

    @Ahammad_Riyaz i think this is the part i need to make some modification. but sure how "custom[Name="Click to select file."] > dataitem[Name="TManifestV1_13418067"]"

  • Riyaz_riz11 Profile Picture
    4,214 Super User 2026 Season 1 on at

     So here you got it, the name will be changing right, now first extract the table and pass the variable inside 

    custom[Name="Click to select file."] > dataitem[Name="%currentitem%"]"

     

    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    Regards,
    Riyaz

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 210 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 175

Last 30 days Overall leaderboard