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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Top Solution Authors
Top Kudoed Authors
Users online (3,157)