Hello,
I have been working with PowerApps for all most a month and I'm almost done with it. most of the time when I run into issues I've found the solution on this site. Anyways I have a screen in my app for reporting Maintenance issues with our etchers. I have a button that pulls the data from individual TextInputs and Dropdowns (I don't have them on a Card) and puts them in a excel sheet on OneDrive. Then it navigates to a Success Screen and Emails the data to a group of people.
Everything works in my formula the issue that I'm having is that the body of the email comes out as one line. I have been checking the site and cant find anything that doesn't use Cards or HTML. Is there a simple way to just add some spacing to my formula so that each item will be on its own line? ALso im not getting EtcherList_Dropdown, Common_Errors_Dropdown, or the Maintenance notes in the email.
Patch(
Etching_Maintenance_Reports,
Defaults(Etching_Maintenance_Reports),
{
'Tech ID': 'ID#_TextInput'.Text,
'Tech Name': Tech_Name_TextInput.Text,
Date: Enter_New_Task_DatePicker.SelectedDate,
'Etcher/Extractor': EtcherList_Maintenance_Dropdown.Selected.Value,
'Common Errors': Common_Errors_Dropdown.Selected.Value,
'Troubleshooting Notes': Maintenance_Notes_TextInput.Text
}
);
Reset(EtcherList_Maintenance_Dropdown);
Reset(Common_Errors_Dropdown);
Reset(Maintenance_Notes_TextInput);
Reset(Trouble_Shooting_Steps_Checkbox);
Navigate(
SuccessScreen,
Fade
);Office365Outlook.SendEmail(
"EmailAdrress1@Email.com,EmailAddress2@Email.com",
"Etcher Down",
"One of the Etcher has gone down. Details to Follow." & Enter_New_Task_DatePicker.SelectedDate & Tech_Name_TextInput.Text & 'ID#_TextInput'.Text & EtcherList_Maintenance_Dropdown.Selected.Value & Common_Errors_Dropdown.Selected.Value & Maintenance_Notes_TextInput.Text
)
These are the values I entered into the fields followed by the body of the email I got.
date
name
id
Etcher 1
bad Etch
this is the maintenance notes
Body of the email looks like this:
One of the Etcher has gone down. Details to Follow.1/14/2021NameID
Thanks for any help!