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
Super User III
Super User III

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
Super User III
Super User III

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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published 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 (5,846)