Hi All,
I am trying to create a pdf from PowerApps data. I have created the html in an html editor and the output is as expected but when i use the flow to convert the html to pdf it gives a very different output. Can you guys tell me what am I doing wrong here?
Below is the image to how it looks in html format
Below is how it looks in pdf
Below is the code for html
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<style>
.textc {
display: inline-block;
}
.text1{
width: 48%;
display: inline-block;}
.text2{
width: 48%;
display: inline-block;}
.labelborder {
border : 1px solid black;
width: 150 px;
overflow: hidden;
display: inline-block;
}
</style>
</head>
<body>
<h1>
Customer, accounts & channels
</h1>
<div class="textc">
<div class="text1">
<p >Strong Hold Accounts </p>
<label class="labelborder"> Paragraphs are the building blocks of papers. Many students define paragraphs in terms of length: a paragraph is a group of at least five sentences, a paragraph is half a page long, etc. In reality, though, the unity and coherence of ideas among sentences is what constitutes a paragraph. A paragraph is defined as “a group of sentences or a single sentence that forms a unit” (Lunsford and Connors 116). Length and appearance do not determine whether a section in a paper is a paragraph. For instance, in some styles of writing, particularly journalistic styles, a paragraph can be just one sentence long. Ultimately, a paragraph is a sentence or group of sentences that support one main idea. In this handout, we will refer to this as the “controlling idea,” because it controls what happens in the rest of the paragraph.</label>
</div>
<div class="text2">
<p >Growth Actions </p>
<label class="labelborder"> Paragraphs are the building blocks of papers. Many students define paragraphs in terms of length: a paragraph is a group of at least five sentences, a paragraph is half a page long, etc. In reality, though, the unity and coherence of ideas among sentences is what constitutes a paragraph. A paragraph is defined as “a group of sentences or a single sentence that forms a unit” (Lunsford and Connors 116). Length and appearance do not determine whether a section in a paper is a paragraph. For instance, in some styles of writing, particularly journalistic styles, a paragraph can be just one sentence long. Ultimately, a paragraph is a sentence or group of sentences that support one main idea. In this handout, we will refer to this as the “controlling idea,” because it controls what happens in the rest of the paragraph.</label>
</div>
</div>
<hr>
</body>
</html>
What PDF action you are using to convert? It may not support all HTML tags. Are you referring to content stacking on top of each other instead of side by side?
@PrasadAthalye i am using convert to pdf action of one drive. I want to place content side by side each other with dynamic value from my labels in powerapps. It seems that html file getting created is fine but the pdf does not seem to apply the same styles. I even tried inline styles.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
70 | |
23 | |
17 | |
17 | |
13 |
User | Count |
---|---|
123 | |
34 | |
34 | |
28 | |
26 |