I am trying to embed a PenInput into a word template through automation. I am using this formula to convert the image to be accepted by automation, and then is being saved onto OneDrive properly. At the moment, I am trying to figure out how I can now add this to a word template automation flow, but seem to have issues inserting this peninput onto the signature box inside of word. I have attached pictures for clarification, as well as the formula I am using on the save signature automation.
Set(varJson,JSON(PenInput1.Image,IncludeBinaryData)); Set(varJson, Mid(varJson, 24, Len(varJson) -24)); PItoOneDrive_1.Run(varJson)
Hi @Anonymous
Yes. You will have to rewrite the function. You may refer this blog post here for more details: https://www.ais.com/newly-released-json-function-for-powerapps/
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Do I need to rewrite the function? I tried this but still not cigar it seems.
Hi @Anonymous
Instead of base64tostring, can you try dataUritoBinary function on the image value coming from Power Apps?
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
stampcoin
23
Pstork1
20
Most Valuable Professional
Gprior
19