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 / Can I make a copy of a...
Power Automate
Unanswered

Can I make a copy of a UI Element?

(0) ShareShare
ReportReport
Posted on by 26

I am working on a process that grabs data from the first line in a program, then inserts data in another section of that same line. It then goes to line 2, reads the data from one section of line 2, and if the field is not blank it inserts data in another area of line 2. Then it moves to line 3 and does the same thing. 

 

Right now I am manually creating each new UI Element associated with the 2 places on the individuals lines I am reading and writing to. I use the Add UI Element tool to select the first line, then I go into the editor to change it to the correct line number. 

 

I'm sure there is some easier way to do this where I can create a loop to go to each line, but I have not figured that out yet. My issue is I need to read the data for each line, and the only way to read the data is by using the Get Details of UI Element action, so I would think I would need each line to have it's own individual UI element, am I correct?

 

SO if it is the case I need to continue doing it manually for each line, is there a way to copy the UI Element to create the next lines (Like line 5,6,7...) so I can modify the code, rather than using the Add UI ELement tool each time and selecting the 1st line?

I have the same question (0)
  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    I have a bot where I have multiple accounting lines that I need to populate, and I modified my selector to include a count variable. Is this something you'd be able to do for your scenario?

     

    ryule_0-1660319607843.png

     

  • Shann Profile Picture
    26 on at

    I was thinking something like this, but I was not sure if the UI Element could be that flexible. 

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 481

#2
11manish Profile Picture

11manish 278

#3
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

Last 30 days Overall leaderboard