cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
R3dKap
Level 10

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

R3dKap
Level 10

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,493)