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

Notifications

Announcements

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:
I have the same question (0)
  • 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
    113 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard