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.
Solved! Go to Solution.
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
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
That worked.
Referencing
Status_DropDown.Selected.'Status (cr24_status)' <- For me
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
203 | |
71 | |
51 | |
49 | |
20 |
User | Count |
---|---|
263 | |
123 | |
85 | |
79 | |
70 |