cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
warsongg00
Advocate II
Advocate 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
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (4,228)