Posts

Showing posts with the label PowerApps

How to pass field values from a Canvas App to Power Automate(flow) - Part 1

Image
Let's see a simple example. I have a canvas app that has multiple input fields.  Once user submits the form, we need to send a confirmation email to the user with all submitted information. To do this, you need create a JSON object that contains all form values and pass it to Power Automate. Creating FormInfo Json Object First create a collection and add all inputs as string values. For Button1 OnSelect query, we need to first create this collection.  Collect(     FormInfo,     {         lname: lastname_input.Text,         fname: firstname_input.Text,         email: email_input.Text,         account: account_input.Text,         dob: Text(DatePicker1.SelectedDate)     } ); To further explain above step, I am creating five new variables (lname, fname, emil, account, dob) and ass...