cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
warsongg00
Level: Powered On

only some data show on the PDF , sometimes all data and some times 0 data

 

 

am using this code on success edit form

Signature.Run(EditForm.LastSubmit.ID,varJson,"<!DOCTYPE html>
<html>
<body>
<img src="&JSON(logo.Image,JSONFormat.IgnoreBinaryData)&">
<h1>Consent information</h1>
<p>Date:"&DataCardValue3.SelectedDate&" </p>
<p>Employee name:"&DataCardValue1.Text&" </p>
<p>Employee ID:"&DataCardValue6.Text&" </p>
<p>Employee Email:"&DataCardValue15.Text&" </p>
<p>IP-PHONE MAC-ADDRESS:"&DataCardValue4.Text&" </p>
<p>IP-PHONE SERIAL:"&DataCardValue5.Text&" </p>
<p>Scanned by:"&DataCardValue7.Text&" </p>
<p>Signature:</p>
<img src="&JSON(PenInput1.Image,JSONFormat.IgnoreBinaryData)&">
</body>
</html>
")

for some reason only signature and scanned by data with logo image show up

 

submit button code:

Set(varJson,JSON(PenInput1.Image,JSONFormat.IncludeBinaryData));Set(varJson,Mid(varJson,24,Len(varJson)-24));SubmitForm(EditForm);Navigate(Success, ScreenTransition.Fade)

=====================================

nvm found the solution saved the datacard text values in variables and they started showing up again

instead 

<p>Employee name:"&DataCardValue1.Text&" </p>

used

empname is variable holder for datacardbvalue1.text

<p>Employee name:"&EmpName&" </p>

1 REPLY 1
Community Support Team
Community Support Team

Re: only some data show on the PDF , sometimes all data and some times 0 data

Hi @warsongg00 ,

Have you solved your problem?

 

If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 348 members 5,490 guests
Please welcome our newest community members: