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.