Hi everyone,
I am having trouble with reading a NFC and then setting some variables. I have a ForAll as shown in the code that makes the
Patch only possible if it's the right NFC tag. The problem here is that I want to show a popup when the tag has been scanned but it doesn't allow me to do so in the ForAll function.
With(ReadNFC(),
Set(id, Coalesce(Identifier, "No ID"));
ForAll(NDEFRecords,
If(Coalesce(Text, URI) = "SWELL",
ForAll(NDEFRecords, Patch('Controlo de Ponto', Defaults('Controlo de Ponto'), {'Entrada/SaÃda': "ENTRADA", Title: User().FullName, Email: User().Email, 'Dia e Hora': Now()}));
)));
Set(varDisableButton, false);
Set(PP3, false);
Set(PP1, true);
Set(T1, true);
Do you have any suggestions for me so I can fix this? Thank you in advance!