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 Platform Community / Forums / Power Apps / Dropdown Selection to ...
Power Apps
Answered

Dropdown Selection to Patch Straight to SharePoint List

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

 

I've got an app that has a dropdown box with 3 items. When the user selects one of the 3 items, I want it to patch straight away to my sharepoint list. The code that i've used in my OnSelect of dropdown box is below but it only seems to select the first option in the list when I click on the arrow of the dropdown box. 

 

Select(Parent);
Patch(
 TicketingSystem,
 'Gallery-Tickets'.Selected, 
 {
 Technician: 
 'Dropdown-Technician'.Selected.Value
 }
)

 

Thanks in advance! 

Categories:
I have the same question (0)
  • Verified answer
    Cat Schneider Profile Picture
    488 Most Valuable Professional on at

    Change it from the OnSelect to the OnChange Behavior Property

  • Cat Schneider Profile Picture
    488 Most Valuable Professional on at

    Also, you're intending for this to be a single-select option, not multi-select, correct?

  • Dave-ITMan Profile Picture
    on at

    Hi @CatSchneider ,

     

    Thanks for the quick reply, doh! Can't believe I didn't notice that! That changes it perfectly, but for some reason when you select one from the list, it changes it in the sharepoint list but on the screen to the user it doesn't look like it's changed as it's still just showing the first option in the list, do you know how to change that please? Yes just single option thanks. 

  • Cat Schneider Profile Picture
    488 Most Valuable Professional on at

    Is the Dropdown default set to the List item field value? If so, after the Patch function, chain a reset (be it a context variable if you're using a form, or call for a Reset(Dropdown1)) and the field should populate with the value from SP. Otherwise, I'd have to know more about how that Dropdown is populated/related to the specific record being edited in SP.

  • Dave-ITMan Profile Picture
    on at

    Hi @CatSchneider ,

     

    I've changed the default property to ThisItem.Technician as it was set to the default "1" which looks to have worked! Thank you for your help - much appreciated. 

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard