Hello Community.
In my Asset app, I have two fields for SignIn and Signout which work fine using pen input.
1) For permanent assets, the user signs for the item (Signout) and this works fine.
2)For temporary assets, the user has to sign for the item (Signout) and this fine as well. However when they return the asset, they are supposed to again sign against the item (SignIn). But when they sign in, the original sign out signature is removed.
The code to save both sign in and sign out signatures is embedded on the same Save button.
SignOut function: Set(varBlobOut,JSON(signout_Signiture.Image,JSONFormat.IncludeBinaryData))
SignIn function: Set(varBlobIn,JSON(signin_Signiture.Image,JSONFormat.IncludeBinaryData))
This the code on the save icon: OnSelect;
If(IsBlank('AssetTracker'.signed_out),Set(varBlobOut,JSON(signout_Signiture.Image,JSONFormat.IncludeBinaryData)),Set(varBlobIn,JSON(signin_Signiture.Image,JSONFormat.IncludeBinaryData)));SubmitForm(Form2_1)
what I want to happen when I Save.
if the signed-out column in SharePoint has data, the Signout function is ignored and only the SignIn function is executed.
I will appreciate assistance to have this working!
