Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Can't switch on SharePointForm1.FormMode

Posted on by 1,594

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)

Categories:
  • R3dKap Profile Picture
    R3dKap 1,594 on at
    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

  • Verified answer
    Drrickryp Profile Picture
    Drrickryp 30,510 on at
    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.

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.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,532

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,050

Leaderboard