Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Variable turns in ThisItem, why?

(0) ShareShare
ReportReport
Posted on by 67

Hi all!

 

I'm working with awesome video from Shane Yound. My repeating table with cascading dropdown is almost done. There is a small problem. https://youtu.be/HUX_0AA4-Hs?t=553 

 

When i save my row, the save/delete button dissapear whice is fine. Now i need to make my field in view modus. Normally i would use this code: 

 

 

If(ShowSaveButtons; Displaymode.Edit; View)

 

 

But the problem is. I need to use ThisItem.ShowSaveButtons.

Because of ThisItem, my code doenst work because PowerApps needs an boolean.
Is there a solution for this?

Categories:
  • Verified answer
    robdegekste Profile Picture
    67 on at
    Re: Variable turns in ThisItem, why?

    lol, i made a small mistake, this is the working code:)

     

    If(ThisItem.ShowSaveButtons; DisplayMode.Edit;DisplayMode.View)

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1