Is it possible to use the function Submit form anf sequence in one command?
I have a simple SP list. After pressing the button I would like to save the form and call the command to repeat this procedure as many times as there are in the TextInput (I did it with the Patch function, but in my case it is inactive)
ForAll(
Sequence(Value(TextInput.Text)),
Patch(
'Store',
Defaults('Store'),
{'Width': DataCardValue1.Text},
{'Height': DataCardValue2.Text},
{'SN': varSN+1}
)
Additionally, I would like to broadcast more numbers to this Item (e.g. 101, 102, 103, 104, ...)
I tried to make it through a variable
Set(varSN,Last('Store')).'SN'
The effect is that the first record is written well (last position + 1) while each subsequent record is written with the same number