Hi guys,
I have a very odd situation: I have an button which does Patch, this works perferctly when I do in preview mode, but it does nothing when I push this button in published app.
My patch function:
If(Gallery1.Selected.Reserved=false,Patch(
TestList1,
SelectedGalleryItem,
{
Name: UserName.Text,
Email: UserEmail.Text,
Reserved: true
}
);Navigate(ScreenReservation,ScreenTransition.Fade)
Im sure it runs into this IF function, because the Navigate works, only patch does not work in published version.
If I simply put this code to a single button:
Patch(
TestList1,
SelectedGalleryItem,
{
Name: UserName.Text,
Email: UserEmail.Text,
Reserved: true
}
)
Then the patch will be successful so the source/destination is available and as I said the program goes into that IF branch.
Does anyone know what could be the problem? I do not understand why it does not work in published version