web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps PDF functio...
Power Apps
Unanswered

Power Apps PDF function don't display all picture from gallery

(1) ShareShare
ReportReport
Posted on by

Hi everyone I have a problem with the PDF function which only displays certain photos from the gallery even though they are all visible on the screen. This seems random and not all users have the problem. This works particularly well for me. For some, it did not work via the web browser but rather via the Windows application. For others the problems are persistent
Thanks for the help.S


Code for email and PDF function 
Office365Outlook.SendEmailV2(
TextInput4.Text;
Label2_54.Text;
RichTextEditor1.HtmlText;
{
Cc: TextInput4_1.Text;
Attachments: Table(
{
Name: If(
Dropdown5.Selected.Value = "xxxxxxxxx";
Gallery2.Selected.Changen
) & "-" & "FORMULAIRE_RAPPORT_VISITE_"& Dropdown5_2.Selected.Value &"_" & If(
Dropdown5.Selected.Value = "Thomas & Piron Home";
"xxxxxx-" & Gallery2.Selected.DossierNom
) & ".pdf";
ContentBytes: PDF(
con_combined_2;
{
Orientation: PaperOrientation.Portrait;
Size: PaperSize.A4;
Margin: "20px";
ExpandContainers: true;
DPI: 50
//,DPI: 96 //Standard: 96
}
)
}
)
}
)

The gallery display a collection create by the following code
Clear(ColRemarques);;
ForAll(
Gallery3.AllItems;
Collect(
ColRemarques;
{ IntSupp: ThisRecord.Checkbox2.Value;
Photo: ThisRecord.Content;
CatRem: ThisRecord.Categorie;
TypeRem: ThisRecord.PointControle;
Commentaires: ThisRecord.TextInput3.Text;
Notes: PenInput1.Image;
Num:ThisRecord.IDcol;
Cotation: First(Filter(test;PTControle=PointControle;Categorie=Categorie)).cotation
}
)
)

JeanMichel_0-1696401662787.png

 

Categories:
  • Elke Profile Picture
    29 on at

    Hi Jean-Michel, were you able to resolve this issue? I currently have the same problem

  • JS-05080707-0 Profile Picture
    on at

    Unfortunately not.

    I have less of a problem with Chrome as my default browser but it's still not stable

    if you find something, i'm interested.

  • BerndW Profile Picture
    3 on at

    I have the same error - all mobile phones are configured the same and some images still disappear

  • Elke Profile Picture
    29 on at

    I ended up solving this issue by disabling APPLYEXIFOrientation.

    Hope this helps for you!

  • sami_harjunen Profile Picture
    115 on at
    Hello! I'm facing this same issue at the moment. Have you found any solution for this?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard