cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
warsongg00
Helper II
Helper II

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
v-xida-msft
Community Support
Community Support

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,282)