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 / Patch a DropDown to sh...
Power Apps
Answered

Patch a DropDown to sharepoint expected type error

(0) ShareShare
ReportReport
Posted on by

Hi guys, me again.

 

The following Problem occurred.

 

I have a Dropdown menu filled with Data from a Dataverse table. 
Now I have to save the selected from the Drop down to Sharepoint List, with a column "Single-Line Text"

 

With DropDown sample the following code always works.

 

Patch(
 Verfahrensverzeichniss,
 Defaults(Verfahrensverzeichniss),
 {
 Title: Ver_nam.Text,
 ID_Ver:Ver_ID.Text,
 Status: Status_DropDown.Selected.Value
 }
);

 

If the Drop down has custom data that doesn't work.

 

The following error occurs: "The Type of this argument #Status' does not match the expected type 'Text'. Found type 'Error' "

 

I tried multiple other ideas. 

 

Status: Status-Dropdown.Selected

Status: Status-Dropdown

Status: Text(Status-Dropdown.Selected.Value)
Status: Text(Status-Dropdown.Selected)

Status: Value(Status-Dropdown.Selected)
Status: Value(Status-Dropdown)

 

Non of them worked. 

 

The problem is, I also have to path it, that if I select the List item in the drop down menu the saved item should be default. 

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,415 Super User 2025 Season 2 on at

    @Anonymous 

    Have you tried referencing the Dataverse column name that you want to patch? For example, if your Dataverse table contains the column StatusDescription -

    Status: Status-Dropdown.Selected.StatusDescription
  • Community Power Platform Member Profile Picture
    on at

    That worked.

    Referencing 

    Status_DropDown.Selected.'Status (cr24_status)' <- For me


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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard