Hi everyone,
I have a requirement to email 5 users, normally I would just reference the datacard like below:
Office365Outlook.SendEmailV2(VarPatchedRecord.IssuedTo.Email, "An application has been submitted by " & DataCardValue8.Selected.DisplayName, " Please review the application <br> <a href='https://apps.powerapps.com/play/--------------&PD=" & VarPatchedRecord.ID & "'> You can review and action the request here </a> "
& "<br><br> Kind regards, <br>
The problem is I don't have a field with the 5 users but I have on my App OnStart a table:
Set(MyApprovers,
Table({MyUser: "Email1.uk"},
{MyUser: "Email2.uk"},
{MyUser: "Email3.uk"},
{MyUser: "Email4.uk"},
{MyUser: "Email5.uk"}
));
But can't refer to that in my code.... any best practice how I achieve this please?