Hello Community,
I m trying to make a Customized SharePoint Form that has a signature field.
I've watched some videos but I cant seem to make it work. I have the following things:
I added a custom datacard(that is not a sharepoint list column) , I put a PenInput field there and added 2 buttons - 1 for Sign(when you sign the field , this should submit the signature) and one to Clear the PenInput.
On the button to sign's OnSelect property :
Set(varSig, JSON(Sig.Image, IncludeBinaryData));Set(VarSigned, true)
On the Clear button's OnSelect Property I have variables that I have put in the PenInput reset property:
UpdateContext({clearPenInputFlag:true});UpdateContext({clearPenInputFlag:false})
I also have a column(Single line of text) called Image Update , that would (in my head) store the varSig binary code.
On the Default Property of the field in the Image Update column(the text field) I have:
varSig
Additionally , I have a Image control inserted into the DataCard where the PenInput control is.
On above mentioned Image control on the Image property I have:
Substitute(varSig,Char(34),"")
When I create an item in the SharePoint List , I sign it and submit the form. When I open a new Item, and sign again as another user* , The varSig value changes and it updates the image control of all the list items and I want to avoid that.
The outcome should be , every single signature is stored uniquely within the SharePoint List item.
Where am I going wrong with this?
Would appreciate the help!
Thank you!