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 / How do I save lookup d...
Power Apps
Answered

How do I save lookup dropdown to a sharepoint list?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am new to sharepoint, and can't find a solution to this problem. I want the user to save info using a dropdown menu which is a lookup from a sharepoint list which needs to be saved on another list. But I can't seem to find the appropriate code to save the dropdown list. Most solutions point towards using '.Selected.Value' to save the dropdown but this doesn't seem to work for me.

problem0.PNG
Categories:
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Please move your mouse to red underline to see details of error.

    "Selected.Value" returns text. We need to make sure the type of column in patch formula expects a text value.

    Could you please tell me the type of column in your formula and Items of drop down?

     

    Best regards,

    Rimmon

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The type of column is the single line type, I hope that is what you're referring to.

    I have attached screenshots for the items and error underline.

    dropdown.png
    Underline Info.png
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    I'm afraid that workstation is not text type. I think it maybe Choice or lookup column because the error shows workstation expects a record.

    Please come back to listZones and check the type of workstation column. Try the below formula if it is lookup column:

    Items of drop down:

    Choices([@listZones].Workstation)

    Patch function:

    Patch(listZones,Defaults(listZones),{ZoneName:zonInput.Text,Workstation:dropWork.Selected})

     

    Best regards,

    Rimmon

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    That seems to have done it. It was indeed a lookup column, I guess that's what you meant by column type.

     

    Thanks a bunch Rimmon 😊.

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
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard