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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Content type

(0) ShareShare
ReportReport
Posted on by 521

Hi 
Is there a way to make content type combo DefaultSelectedItems from a dropdown so when selected from the dropdown a value that changes the content type combo and saves back-end SharePoint whatever selected from the dropdown
I have tested this DefaultSelectedItems content type combo, it will show in PowerApps the changes but not at back- end SharePoint? 

{ '@odata.type' : "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedContentType",
Id:"0x0100CC4EA32BE1FC014E9C40217D9F8B250800B6DD0C3DC4DA3E40A76B725B3FCFD053",
Value: drpTransTypeText.Selected.Value}



Categories:
I have the same question (0)
  • Verified answer
    poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @PowerApps11 

     

    1. For DefaultSelectedItems of ComboBox

     

    //pseudocode - replace DropDown1 below with name of your Drop Down control
    DropDown1.Selected.Value

     

     

    2. If it is not showing, for the Drop Down control or for the Combo Box control , check the right side under Value - check on this for both the Drop Down control and the Combo Box control and see if making a change to this setting causes one or both of the values not to be blank. If neither value shows as blank, skip this step and go to the next step

    poweractivate_0-1664834047178.png

    3. Now doing all the above does not make any change to any data source.

     

    You need to be doing this from a Form's DataCard and using SubmitForm.

     

    4. If you don't have a Form yet, add a Form, configure it with appropriate fields, then you need to select the Combo Box Data Card, go to Advanced on the right side, click Unlock to change properties ComboBox Data Card. 

     

    5. For the DefaultMode property of the Form:

     

    FormMode.Edit

     

     

    6. For the Item property of the Form use this formula below to test:

     

    //pseudocode - replace yourDataSource below with name of your data source
    First(yourDataSource)
    //the above will always use only the first record - this is just so you can test it quickly on the first Record of the SharePoint List or data source. Change this to what's appropriate when you want it to do it for something other tan just the first Record.

     

     

    7. For the DefaultSelectedItems of the Combo Box Data Card

     

    //pseudocode - replace yourDropDownDataCardValueXX below with the name of the DataCardValueXX Control that's in the appropriate Data Card that is a drop down
    yourDropDownDataCardValueXX.Selected.Value

     

     

    8. OnSelect of a Button that is placed outside of the form

     

    //pseudocode - replace yourForm below with name of your form
    SubmitForm(yourForm)

     

     

     See if it helps @PowerApps11 

     

    PS: Please note, the Combo Box is usually associated with the Choices column type in SharePoint. It may not work correctly if you attempt to submit the form with a value from the Drop Down that does not match any possible Choice from that column. So the possible values in your Drop Down might need to match the possible Choices in SharePoint List. You may be able to do this by changing the Drop Down Data Card's Items property to something like

    //pseudocode - replace nameOfChoicesColumnInSharePointList in the below, with the actual name of the column from your SharePoint List
    Choices(nameOfChoicesColumnInSharePointList)
    
    //or
    Choices(nameOfSharePointListDataSource.nameOfChoicesColumnInSharePointList)
  • Verified answer
    PowerApps11 Profile Picture
    521 on at

    Hi @poweractivate 
    Thanks for the replay, I have tried everything nothing worked I don't why but strange thing is when I replace the content type combo to dropdown, it worked and back-end shows exactly what I have selected from PowerApps.
    The solution was change content type combo box to dropdown

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard