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 / Having trouble putting...
Power Automate
Answered

Having trouble putting loop index into selector in the selector builder

(0) ShareShare
ReportReport
Posted on by 431

I have a table that looks like this. I want to click on each folder image in a loop.

Steve48_0-1689946865042.png

In the selector builder I have created a selector that selects the first folder image:

 

> document table image[Id="ctl00_ContentPlaceHolder1_documentRepeater_ctl00_imgDocument"]

 

In Google inspector I can see that between rows the only item that changes is the second  ct100. In other words, in the next row, it is ct101, etc.  I have a loop index %DocsLoopIndex%. I am having (concatenation) trouble replacing the last digit of ct100 with my loop index. I am not worried about more than 9 items

 

I have the same question (0)
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Have you tried doing > document table image[Id="ctl00_ContentPlaceHolder1_documentRepeater_ctl0%LoopIndex%_imgDocument"] ?

     

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

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • Steve48 Profile Picture
    431 on at

    That worked. Thank you

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 233

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 190

Last 30 days Overall leaderboard