cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Need help with Flow and PowerApp for adding rows in Excel

I need some help trying to create very simple PowerApp form where a user enters info into fields, and these fields are then inserted as a row into an excel file. I currently have the following:

 

  • A PowerApp with a form containing fields (text input boxes)
  • A submit button on the form to submit the form
  • A Flow which upon activation from PowerApp inserts a new row into a defined Excel file in OneDrive for Business. I set up the flow to select the specific file and table I want, then set the data fields to "Ask in PowerApps"

I want to know two things:

 

  1. Where to run the Flow exactly...in the OnSuccess field of the form? Or within the submit button OnSelect?
  2. What the exact syntax for running the flow needs to be as it keeps returning an error "Invalid name". It's giving me the following instruction but I can't make sense of it: 

 

Capture.JPG

 

 

1 REPLY 1
Community Champion
Community Champion

Hi

 

Thanks for sharing and I only use Excel for OneDrive and Dropbox but not OneDrive for Business. Hope it makes no different.

If you are using FORM

- Display

- Edit

Then, with SubmitForm function, you do not have to use Flow. Submit form itself will append a row in excel and add new records.

If you are Creating App from Data, you can see exactly the actual 3-screens sample and it works instantly.

(My sharing was old edition which was using Patch and Context Variable. Apologizie for not updating after 28/Apr 2016).

 

Meantime, I tried using Flow (LogicF low and Now Microsoft Flow) but failed.

Anyway, if you can use Flow for certain action such as Ask PowerApps, Send Email, just look for Action Tab and you can add Flow into your apps and click on it, you will see Run....

 

Hope this helps.

 

TQ

hpkeong

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (57,349)