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 Apps / Incompatible type erro...
Power Apps
Answered

Incompatible type error on Edit Form

(0) ShareShare
ReportReport
Posted on by 183

Hi All,

 

Not sure why I am getting this error.  I think it has something to do with the Mode=Edit but not sure how to correct it.

 

If(EditForm1.Mode=Edit, Parent.Default, User().FullName)

 

Categories:
I have the same question (0)
  • burliad Profile Picture
    183 on at

    Think I found it.  I used:

    If(EditForm1.Mode=FormMode.Edit,Parent.Default, User().FullName)

     

    It would still be nice to know the difference between using Mode=Edit and FormMode.Edit

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    The FormMode.Edit specifically is the for Form operations. However there is also a DisplayMode.Edit, so power apps has to figure out whether you are referring to DisplayMode.Edit Or  FormMode.Edit. 

    Just stating Mode=Edit could be confusing as to DisplayMode or FormMode

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

    Please Subscribe to my Youtube Channel

  • burliad Profile Picture
    183 on at

    Got it, that makes sense thank you for explaining!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard