
Announcements
So I have a Send PDF to email in my code. It works when I press OnSelect on my button.
I have a Rich Text Field that I want the contents from.
Code:
With(
{wPDF: PDF(MyScreen, {ExpandContainers: true})},
Office365Outlook.SendEmailV2(User().Email,
"My Subject",
"My Body text",
{
Attachments:
[
{
Name: Concatenate(Label1.Text,".pdf"),
ContentBytes: wPDF
}
]
}
)
);
This used to work fine by now I just get an Error message saying "PDF creation failed"
What am I missing?
EDIT: Works with Text Input / HTML control but not with RTF.