cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
madhu1
Level: Power Up

PDF attachment in power Apps flow

I have created a power apps with flow which converts html to pdf and attach in email and send mail. when i start  power apps flow in desktop, i don't face any issues but when i start power apps flow in mobile, i have issues in my PDF attachment. its not opening. can any one help me on this.

5 REPLIES 5
Community Support Team
Community Support Team

Re: PDF attachment in power Apps flow

Hi @madhu1 ,

 

Please share the related formulas here. 

Have you tested with other mobiles? Is it an Android or iOS phone? 

 

Regards,

Mona

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

Re: PDF attachment in power Apps flow

Thanks for posting in the community @madhu1 - can you review the above reply and update the thread with the requested information?

 

Thank you,

 

@TopShelf-MSFT 

madhu1
Level: Power Up

Re: PDF attachment in power Apps flow

I have tested on both Ios and android and even in ipad, I am facing same issuse.

Can you please suggest me.

Administrator
Administrator

Re: PDF attachment in power Apps flow

Thanks for the follow up @madhu1. Can you please share the formulas you are using so we can review?

 

@TopShelf-MSFT 

madhu1
Level: Power Up

Re: PDF attachment in power Apps flow

"<html>
<head>
<title>PACKING SLIP</title>

<meta charset='utf-8'>

<meta name='viewport' content='width=device-width, initial-scale=1'>

<style>

body{
font-family: sans-serif important;
padding:50px;
}
table{
border-collapse:collapse;
}
header:after {
content: '';
display: table;
clear: both;
}
.div{
padding-bottom:25px important;
padding-left:25px important;
}
div{
padding-bottom:2px;
}
.tbl{
text-align:center;
font-size: 12px important;
width:100%;

}
p{
text-align:center;
font-weight:500;
margin-top:0px;
}
.pad{
padding-bottom:2px;
}
.row{
width:65%;
}
.tblHeading{
font-weight:bold;
}
table td,table th
{
height: 100px important;
width: 100px important;
padding: 2px important;
}
td,input,textarea{
background-color:#e4f2fb;
}
input,textarea{
border:none;
}
td:focus,input:focus,textarea:focus{
background-color:white;
outline:none;
}

td,th{
border:1px solid ;
}
.tblStyle td{
border:1px solid black important;
}
.tblStyle td{
border-bottom-color:white important;
}
label{
vertical-align:top;
font-weight:bold;
font-size:13px;
}
.shipWidth
{
width:24% important;
}
.customerWidth{
width:24% important;
}
.rght{

float:right important;
}
.left{
float:left important;

}
.clear{
clear:both important;
}
.qtyWidth
{
width:18% important;
}
h2{
font-weight:550;
}
</style>

</head>
<body>
<header style='width:70%'>
<div class='div rght'>
<h2> PACKING SLIP </h2>
<table id='table' class='tbl'>

<tr>
<th class='tblHeading'>Date:</th>
<th class='tblHeading'>Page:</th>
</tr>

<tr>
<td contenteditable='true'>"&Text( Today(), "[$-en-US]mm/dd/yyyy" ) &"</td>
<td contenteditable='true'>1</td>
</tr>
<tr>
<th class='tblHeading'>Sales Rep</th>
<th class='tblHeading'>Order Number:</th>
</tr>
<tr>
<td contenteditable='true'>"&User().FullName&"</td>
<td contenteditable='true'>
"&
Concatenate(Left( User().FullName, 2 ),
Text( Now(), "[$-en-US]yymmddhmm"))
&"

</td>
</tr>
</table>



<br>
<br>
<div style='width:65%'>
<div class=' clear left'>
<label>Bill To:</label>
<textarea rows='6' cols='32' style='overflow:hidden' >
"& Concat(SalesOrder,first_name &" "& last_name ) &"
"& Concat(SalesOrder,name) &"
"& Concat(SalesOrder,mail_address1) &"
"& Concat(SalesOrder,mail_address2) &"
"& Concat(SalesOrder,mail_city &","& mail_state) &"
"& Concat(SalesOrder,phys_postal_code) &"
</textarea>
</div>
<br>
<br>
<div class='right'>
<label>Ship To:</label>
<textarea rows='6' cols='32'></textarea>
</div>
<br>
<br>


<label>Ordered by:</label>
<textarea rows='3' cols='25'> "& Concat(SalesOrder,first_name) &" </textarea>

<br>
</div>
</header>
<br>
<br>
<table class='tbl tblStyle'>
<br>
<br>
<tr>
<th class='tblHeading customerWidth'>Customer PO</th>
<th class='tblHeading'>Carrier</th>
<th class='tblHeading customerWidth'>Frt Terms</th>
<th class='tblHeading shipWidth'>Ship Date</th>
</tr>

<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>

<br>
<table class='tbl tblStyle'>
<br>
<tr>
<th class='tblHeading qtyWidth'>Item ID</th>
<th class='tblHeading '>Item Description</th>
<th class='tblHeading qtyWidth'>Request Quantity</th>
</tr>
"&Concat(ProdCart,"<tr><td>"& Item_ID &"</td><td>"& Item_Description &"</td><td>"& Requested_Qty &"</td></tr>")
&"
</table>

 

<br>
<p style='width:70%'><i>MTR’S WITH SHIPMENT</i></p>
</body>

</html>"

 

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: 182 members 5,253 guests
Please welcome our newest community members: