
Announcements
Hi,
I am building an app about request form and when the a user submit the from an email is sent to the manager for approval and signing
the problem is that when the manager click on the link and approve and sign, the image of the signature should be saved in a folder in sharepoint but the image is saved with name ".png" without ID.png because me I created a flow to save the signature of the manager as IDnumber.png.
this problem happened when using the link for approving and signing but when just selecting the item in the gallery it's working and the image saved in the sharepoint list.
after clicking on the link, the detail screen of the form showed up and there is a button for approve
the code I made in this button on select
Set(var, LookUp(OrdreDeMission, ID=Param("RefID"))
and after clicking on this button it redirect him to othere screen for signing and there is other bitton submit in which the code on select is
UpdateContext({showloading:true});
varempid.Run(varEmpID,Mid(JSON(PenInput2_1.Image, IncludeBinaryData),24,
Len(JSON(PenInput2_1.Image, IncludeBinaryData))-24));
Patch(OrdreDeMission, LookUp(OrdreDeMission, ID=varEmpID),{Statue:"Supervisor signed"});
Navigate(Screen4,Cover);
the varempid is the flow for creating the image in the sharepoint
you find attached the flow used
can you please help me how can solve it if you have any idea because I really need the solution
thanks