cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Can't switch on SharePointForm1.FormMode

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)

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Can't switch on SharePointForm1.FormMode

@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.

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Can't switch on SharePointForm1.FormMode

@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.

View solution in original post

Highlighted
Super User
Super User

Re: Can't switch on SharePointForm1.FormMode

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

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,943)