web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Embed peninput signatu...
Power Automate
Answered

Embed peninput signature in pdf - Crosspost from original posting in powerapps

(0) ShareShare
ReportReport
Posted on by 237

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: 

 

bhanney2323_0-1644352195373.png

 

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

bhanney2323_1-1644352225582.png

 

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:

bhanney2323_2-1644352261887.png

 

Does anything seem off?

 

Here is what my usual output looks like: 

bhanney2323_3-1644352261801.png

 

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. 

Categories:
  • Verified answer
    bhanney2323 Profile Picture
    237 on at

    Found a solution to this on my original powerapps thread posting, thanks anyways!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard