
Announcements
Hello Everybody!
i've been trying to include multiple attachments in the SendEmailV2 function from Office365Users connector, however, the attachments are stored in a table, and the attachments property of this functions doesn't work with table data, is there any way i can make an array with these attachments and include them in the Email:
The code i'm using currently is this:
Office365Outlook.SendEmailV2(
varApprover;
varCurrentUser;
HtmlText1.HtmlText;
{
isHtml: true;
Attachments: |PLACEHOLDER TEXT|
}
)
I want to get multiple attachments from the Collection below and insert them into the |PLACEHOLDER TEXT|.
As of right now, i've tested ForAll(), RenameColumns() and Concat().
The tables i'm using to store the attachments are the following
And this is the child table marked in red:
Hi @Anonymous :
The value of the attachment parameter should be in this format:
Table(
{
Name:"",
ContentBytes:FileContent,
'@odata.type':""
}
)
I think this link will help you a lot:
Best Regards,
Bof