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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dropdown Selection to ...
Power Apps
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard