Announcements
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)
@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.
Ok @Drrickryp, so I guess that means I have to switch on the FormMode using the integer values...
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 382 Super User 2026 Season 2
Mohsin Ali 329
WarrenBelz 187 Most Valuable Professional