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 / How can I extract data...
Power Automate
Answered

How can I extract data from a page accessed through a click

(0) ShareShare
ReportReport
Posted on by 170

Hello everyone,

 

I have this table that has several pages and I am able to extract this information with no problem using pagination.
Captura de ecrã 2024-05-09 175626.png

 

The problem comes from the "+INFO." button/link column from the table, I also want to be able to extract the information inside each of those and associate it to the corresponding column, the page inside the button looks like this, there's no problem extracting it using "Extract data from web page".
Captura de ecrã 2024-05-09 175648.png

But how can I make it click on the button, because the button has no link, the URL is the same for every "+INFO.", when I inspect its behind JavaScript, this is what each button looks like.
Captura de ecrã 2024-05-09 175716.png

The only thing that changes is the "('0')" that changes depending on the line of the table, I think this way I can access each page using a for each with the total number of lines I have, but I don't really know how to implement it, never used JavaScript in PAD. How can I access each page with JavaScript?

Thanks in advance.

 

Telmo Ferreira

I have the same question (0)
  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @TelmoERF96 ,

     

    As per my understanding I have created flow please follow this and try to replicate your solution with your website.

    1. Launch the browser 

    2. Extract the Href or Text of Info

    3. Loop through it and Go to webpage.

     

    VishnuReddy1997_0-1715338311933.png

     

    (Note:- if you got your solution you can mark as solution and gives kudos)

     

    Thanks & Regards

    Vishnu Reddy

  • TelmoERF96 Profile Picture
    170 on at

    Hi @VishnuReddy1997 

     

    Thank you for your answer.

     

    Unfortunately that doesn't work, the element doesn't have and HRef as I said, the page is accessed through JavaScript.

  • Verified answer
    CU16071609-1 Profile Picture
    6,255 Moderator on at

    @TelmoERF96 

     

    You can use javascript something like below:

    Deenuji_0-1715344265118.png

    Later you can change submeter value by adding some variables.




    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

  • TelmoERF96 Profile Picture
    170 on at

    Hello @Deenuji 

     

    Thank you so much, that worked perfectly, just as intended!

    One other thing following this, is it possible to pass PAD variables inside the JavaScript function?

     

     

    Once again thank you for the help!

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @TelmoERF96 

     

    Please refer the below sample script with dynamic value:

     

    First, I've created Submeter_Value as variable then i passed the same into JavaScript.

    Deenuji_0-1715577312947.png

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

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
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard