
Announcements
Hello All,
I am creating a PDF for the container in the Power Apps form using the PDF function. I am able to create a PDF successfully, but when I open it in the browser, it shows "Power Apps" as title in the browser tab.
Code which I am using to generate PDF:
UpdateContext({varFileName: "eDCF-" & 'Acc-DealerID-Hidden'.Text & ".pdf"});
Set(
varTest,
IsError(
Office365Outlook.SendEmailV2(
User().Email,
"eDCF form PDF file - Dealer ID - " & 'Acc-DealerID-Hidden'.Text,
"Hello, Please find eDCF PDF file attached for Dealer ID - " & 'Acc-DealerID-Hidden'.Text,
{
Attachments: Table(
{
Name: varFileName,
ContentBytes: PDF(
Container1,
{ExpandContainers: true}
)
}
)
}
)
)
);
If(
varTest,
Navigate(
'Error-Screen',
ScreenTransition.Fade
),
Navigate(
'PDF-Success-Scr',
ScreenTransition.Fade
)
)
The issue which I am facing -
Any suggestion would be appreciated.
Thank you!