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 / Dynamic fields based o...
Power Automate
Answered

Dynamic fields based on text | Web automation

(0) ShareShare
ReportReport
Posted on by 15

In Power Automate Desktop, I'm seeking to create a dynamic selector that operates based on the text of a specific field, which contains a varying number that needs to be located on a webpage. The challenge is that the location and the identity of this field may change with each instance. The field to be identified is consistently positioned to the right of another field, with the format: text -> field to fill. Given these requirements, what is the most effective method to achieve this? Additionally, I am unable to use a static ID for the field due to its changing nature. Can you suggest a strategy or approach within Power Automate Desktop that can handle this dynamic scenario efficiently?

 

 

table.PNG
I have the same question (1)
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Since this looks like a table/grid kind of a UI, you could likely use Extract data from web page to extract the values into a data table, then use Find or replace in data table to find the value you are looking for in the resulting table. Then use the index as the ordinal value in your selector (row index) for what you want to populate.

     

    Other than that, your best bet is using JavaScript. PAD selectors do not natively support sibling relationships between elements, so you cannot use the text next to the target field in the selector for the target field.

    -------------------------------------------------------------------------
    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.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 298 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 150 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 147 Super User 2026 Season 2

Last 30 days Overall leaderboard