I have an app that utilizes data hosted in Dataverse. In the app, when I click the 'send' button:
- When I use my account as an admin in the environment, the patch function sends data successfully, and I can find the data in the table.When a user uses their account, the patch function returns 'Your request has been submitted,' but I do not find any data in the table.
I have assigned the user the roles:
-Basic User
- A custom role that allows the user to write, read, and create.
Here is my code:
"
Patch(
'pos-responsable-dn';
LookUp(
'pos-responsable-dn';
'id-pos' = varidpos
);
{
'H-branding-indoor': h_in.Value;
'c-branding-indoor': c_in.Value;
'H-branding-outdor': h_ex.Value;
'c-branding-outdor': c_ex.Value;
type_pos: vartypepos;
concurrent: LookUp(
marque;
'id-marque' = ComboBox4.Selected.'id-marque'
)
}
);;
If (
!IsEmpty(Errors('pos-responsable-dn'));
Notify("pos-responsable-dn" & First(Errors('pos-responsable-dn')).Message & First(Errors('pos-responsable-dn')).Column);Notify("Your request has been submitted")
);;
"
where is the problem?