Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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! 

  • Dave-ITMan Profile Picture
    on at
    Re: Dropdown Selection to Patch Straight to SharePoint List

    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. 

  • Cat Schneider Profile Picture
    488 Most Valuable Professional on at
    Re: Dropdown Selection to Patch Straight to SharePoint List

    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
    Re: Dropdown Selection to Patch Straight to SharePoint List

    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
    Re: Dropdown Selection to Patch Straight to SharePoint List

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

  • Verified answer
    Cat Schneider Profile Picture
    488 Most Valuable Professional on at
    Re: Dropdown Selection to Patch Straight to SharePoint List

    Change it from the OnSelect to the OnChange Behavior Property

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard