I'm trying to send emails with attachments from Power Apps using the attachment control. However, I'm getting the following error message:
"Missing column. Your formula is missing a column 'Attachments.ContentBytes' with a type of 'Blob'."
I've already tried the RenameColumns and addcolumns methods, but it hasn't resolved the issue.
Does anyone have any suggestions on how to fix this?
===================//===========================
Office365Outlook.SendEmailV2(
"email@example.com";// Endereço de email do destinatário
varAssunto;// Assunto do email
varConteudo;// Conteúdo do email
{
From: User().Email;
Importance: "normal";
Attachments:RenameColumns(ATTATCH.Attachments;"Value";"ContentBytes")
}
);;
==============================//===========================


"Missing column. Your formula is missing a column 'Attachments.ContentBytes' with a type of 'Blob'."