web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Can't switch on ShareP...
Power Apps
Answered

Can't switch on SharePointForm1.FormMode

(0) ShareShare
ReportReport
Posted on by 1,594

When I try to use the Switch function on the SharePointForm1.FormMode control property, using FormMode.View is not accepted by PowerApps saying there is a type mismatch...

 

(can't put picture here since upload of pictures is not working anymore)

Categories:
I have the same question (0)
  • R3dKap Profile Picture
    1,594 on at

    Ok @Drrickryp, so I guess that means I have to switch on the FormMode using the integer values... Smiley Indifferent

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @R3dKap,

    FormMode is an integer and DisplayMode is Text. Hence the error message. Shane Young @Shanescows has an excellent you tube on form modes that explains this well.

    https://www.youtube.com/watch?v=BnzaSDYl8mA

    If this answers your question, please mark it solved.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 401

#2
WarrenBelz Profile Picture

WarrenBelz 334 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 325 Super User 2025 Season 2

Last 30 days Overall leaderboard