I have multiple person or group field in an application as follows:
In this i wanted to send an email to the field "Employee details" Currently I m using the Onselect property of a a submit button a form to Office365Outlook.SendEmail(sharepoint name. Employee details.Email, "Subject", Hi "& sharepoint name. Employee details.displayname&" Welcome onboard"). But this is giving me some error. can you help me to correct this and help me to use a send email function based on the employee details feild and also in the body in the opening of the email it must include the Display name of the employee details.
I see that currently you have a gallery. Will the same process work even if I dont use a gallery? I dont have a gallery at this point.
I am sorry to ask you multiple questions I am very new to powerapps and hence asking you about it.
Hi @Priyasantra ,
I am using gallery , for Fill the data into Form.
But the solution I provided based on form.
so this solution surely works for you. Coz you referencing the DataCardvalueName that is Part of Form.
Please Let me Know if still, any doubt is there. Or please explain in detail like if you are using form then how you filling data into it or other Code and Required details to understand your issue. (it would be gr8 if you provide video/Screen for reference).
I have tried this. Initially I do not get an error. But later when I try to make an entry and click on submit and then If I come back to the app it shows an error. I cant take a screen recording due to compliance However I am taking a screenshot of each page and sending you with highlighted texts.
Step1. Created a form, Connected to Data source, added Fields that are required screenshots as follows
Step2- Inserted a button and checked the datacard name of the Employee details
Step3- As per your advice I have set the formula to onselect property of the button
Just after entering the formula it was not showing me any error. But Later after that when I played the app and made an entry and clicked on submit and then when came back to the application edit form it had given me the error.
Your help is much appreciated.
Thanks a lot for taking time and helping me till this. I am looking for the rest of your help to sort this issue.
Hi @Priyasantra ,
I think you use using Sample App, Can you please share this app here,
So I can look into that ad suggest the solution.