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 to set Dynamic UI ...
Power Automate
Answered

How to set Dynamic UI Element when I use variable?

(0) ShareShare
ReportReport
Posted on by 73

Hello

 

I set Dynamic UI Element by using variable.
But when I use variable, error occurs.
(cf.)Fig1, Fig2
I have confirmed the variable get correct the file's name.

★I've looked into the following website.

https://powerusers.microsoft.com/t5/General-Power-Automate/Dynamic-UI-Element-Use-variable-Desktop/m-p/884763

Solved: Re: Dynamic Selector (variable in selector) in Des... - Power Platform Community (microsoft.com)

------
I don't use variable, this error doesn't occur.

(cf.)Fig3

How to handle it in this situation?
My flow operates "Format Cells" etc by UI, so its parents window needs to be recognized correctly.  

If someone has advices, please give me a hand.
Regards,
=================-

〔Fig1〕

Miyuki_0-1703222435070.png

〔Fig2〕

Miyuki_1-1703223158350.png

〔Fig3〕

 

Miyuki_3-1703224575709.png

 

 

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

    Try with recorder once and check the selector.

     


    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

  • Verified answer
    Miyuki Profile Picture
    73 on at

    Hi, everyone.

    I resolved my post by myself.
    I clicked "text editor" and save on the screen which was Fig1 when I posted a while ago.
    ↓ cf.

    Miyuki_0-1703233786254.png

    After that, my flow can recognize the window.
    After I posted, I checked some related websites and this circumstance seems to be bug.

    It has taken much time to resolve this problem so that I'm exhausted...

  • Nicolas_Morales Profile Picture
    3 on at

    Excellent solution. It still works.

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard