Dear all,
I've been trying to change the data in a polymorphic field: The Owner field.
I tried this with the following patch:
But when this patch executes i get the following error message:
It is in Dutch but in English it means: The requested operation is invalid. Serveranswer: Users failed: Something went wrong.
Hi @ElectroJob2,
You can skip the AsType function and just directly Patch the Owner with a User record.
Another thing is that you need to select the `Primary Email` of the user you are looking up.
Which makes your formula look like this in Dutch notation:
Patch(
Accounts;
LookUp(
Accounts;
FysiekdeskRows.Selected.Account = Account
);
{
Eigenaar: LookUp(
Gebruikers;
'Primair e-mailadres' = User().Email
)
}
);
Also make sure the user performing this action should have `Assign` permissions on the Accounts table.
stampcoin
17
mmbr1606
15
Super User 2025 Season 1
ankit_singhal
11
Super User 2025 Season 1