Hi Experts,
I have multiple collections of images being taken at different stages of the app, the new collection is named ColCameraImages and I need to add this collection to the code I already have OnSubmit (see below trimmed down code) to send an email, how can I add this new collection (ColCameraImages) as well as the existing (colImages) collection please?
ClearCollect(
colImages,
AddColumns(
RenameColumns(
'AttachmentControl-1'.Attachments,
"Value",
"ContentBytes"
),
"@odata.type",
""
),
{
Name: "Signature.jpg",
ContentBytes: 'Signature-1'.Image
}
);
Office365Outlook.SendEmailV2('Lbl-AllEmailAddresses' , 'Result-Job-Number'.Text , "Hi,<br><br>
Please see completed form below and attached photos<br><br>
<b>Classification: </b>"&'Dropdown-Classification'.Selected.Value&"<br>
<b>Date Identified: </b>"&'Date-Created'.SelectedDate&"<br>
<b>Status: </b>"&'Dropdown-Status'.Selected.Value&"<br>
<b>Date Closed: </b>"&'Date-Closed'.SelectedDate&"<br>
<b>Time Identified: </b>"&'Result-TimeIdentified'&"<br><br>
<b>Notes: </b>"&'Notes-1'&"<br><br>
<b>Unique ID: </b>"&'UniqueRefNum-1'&"<br><br>
Regards<br><br>
Company<br></br>",
{Attachments: colImages}
);
Thanks in advance!