cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
r1cin
Level: Power Up

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
Super User
Super User

Re: Need help with Flow and PowerApp for adding rows in Excel

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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 382 members 4,926 guests
Please welcome our newest community members: