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 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
Highlighted
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

Check out the on demand sessions that are available now!

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

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (10,193)