I have a canvas app that I have created from a SP list. The idea of this list is used to track IT property.
Currently I have a scan button for the Porperty Number field (Singleline)
Scan button "OnScan"
Set(varScan,PropertyScan.Value)
Text Field for the button
If(varScan = "",varScan,Parent.Default)
I have tried - If(varScan = "",Parent.Default,varScan) - in which case it will retain but not allow you to scan and overwrite.
The Code that I have works great and allows the button to scan the barcode and prefill the text area, however on following edits the "asset" the fields are then blank. How do I modify the code on the text field to retain the previous information unless it is cleared? I am sure that this is a simple fix, I just can't seem to formulate the right question to find the right answer.
Thank you,

Report
All responses (
Answers (