Hi, so I posted this the other day in the powerapps community, but it's becoming more of a flow issue than powerapps actually, so I figured I'd post it here. I will copy over the general summary here and my latest update:
Summary:
I cannot for the life of me get this image of a users peninput signature to appear in my pdf. I keep getting a blank image with an x in it. I am using flow for this and the way I'm making the pdf is to compose it in an html schema, create and html file and then convert it to pdf. Here is my current flow:
The field signed signature is a multitext column and gets sent this data from the following variable
Set(penInputEncodedImage, JSON(signature.Image,IncludeBinaryData))
And here is my usual output
Can someone tell me what's going wrong here? I feel like I've tried a bunch of different ways but none work or they don't really fit with the solution I'm trying to achieve
Update as of 2/7/22:
I am trying everything to get the extra " off but nothing seems to be working. Im starting to think my html is off somewhere
I am using this as the variable to send to the 'signed signature' multiline text column in sharepoint:
Set(
penInputEncodedImage,
With(
{
wJSON:
JSON(
signature.Image,
JSONFormat.IncludeBinaryData
)
},
Mid(
wJSON,
Find(
",",
wJSON
) + 1,
Len(wJSON) -
Find(
",",
wJSON
) - 1
)
)
)
And then I am using a compose action to get rid of any extra quotes:
replace(outputs('Get_item')?['body/Signed_x0020_Signature'],' " ','')
And here is the part of my html compose action where I want to add the image:
Does anything seem off?
Here is what my usual output looks like:
Latest Update: I watched the video Eddie E sent over and while that is my exact scenario, still doesn't work for me. I even tried changing the variable that stores the signature to what Reza uses in the video
Set(penInputEncodedImage, JSON(signature.Image,IncludeBinaryData))
But same result. The only difference Im finding is that he is triggering the flow from a powerapps trigger and I am triggering it from a sharepoint list created/modified trigger.


Report
All responses (
Answers (