web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : /sQdXOYpG75P8o1503MFW7
Power Apps - Building Power Apps
Answered

Power Apps - Combo Default Value when Form Mode is New Mode

Like (0) ShareShare
ReportReport
Posted on 10 Nov 2020 21:17:56 by 45

Hi there,

I would like to set the combo default value to "New"  value only when the form is in New Mode.  The form is attached to SharePoint List.  In Sharepoint list there are 3 values for the combo box (New, InProgress and Completed).

 

I tried to set the value for Display Mode property  for the field (not card) as below but it comes with the error.  I would appreciate your assistance.  

 

If(SharePointForm1.Mode = FormMode.New, {Value: “New”, ThisItem.Status)

or

If(SharePointForm1.Mode = FormMode.New, {Value: “New”, Parent.Default)

 

Both result in error.  Please help,

Categories:
I have the same question (0)
  • DB7 Profile Picture
    45 on 11 Nov 2020 at 00:52:03
    Re: Power Apps - Combo Default Value when Form Mode is New Mode

    This worked.  Thank you,

    If(SharePointForm1.Mode = FormMode.New, {Value: "New"}, ThisItem.Status)

  • DB7 Profile Picture
    45 on 10 Nov 2020 at 23:15:09
    Re: Power Apps - Combo Default Value when Form Mode is New Mode

    Thank you for your answer.  Do I need to set it up for the combo box or the card?  Is it for Display Mode property?

  • Verified answer
    WarrenBelz Profile Picture
    150,347 Most Valuable Professional on 10 Nov 2020 at 21:21:03
    Re: Power Apps - Combo Default Value when Form Mode is New Mode

    Hi @DB7 ,'

    Try this

    If(
     SharePointForm1.Mode = FormMode.New, 
     {Value: “New”},
     {Value: ThisItem.Status}
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 982 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 396 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 356

Last 30 days Overall leaderboard