cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alriabdu
Level: Powered On

Creating a file and editing it in one flow

Hello everyone, 

 

Here is the crack of my problem. I am working with Powerapps and Flow. I click one button in my powerapps and the scenario should go like:

 

  1. Copy an Excel file from one location, in my one drive, and past it with a new name in another (i.e. creating a new file).
  2. find a unique field (specific text in a cell) and replace it with a new one (obtained from Powerapps).

The problem I am facing: 

 

  • I can't use Powerapps functions, such as Patch, Substitute, and Replace, because I need a predefined-already-connected datasource, which is not the case. i.e. the datasource is being created in the process after the click of the button.
  • I created a flow, which allowed my to do the first step. I, however, got stuck in the second.
  • In the process of creating a flow, I need an existing file to operate on, which is something I don't have.

 

To sum up, how do I deal, using Flow, with a datasource/excel table/file that is being created in the process and not preexisted ? For your convenience, I am attaching a screenshot of my accomplishment so far. 

 

1.JPGPIC 1

 

2.JPGPIC 2

 Thank you for your time,

2 REPLIES 2
Highlighted
Community Support Team
Community Support Team

Re: Creating a file and editing it in one flow

Hi @alriabdu,

 

First of all, it is not possbile in PowerApps so far that you create the datasource in the process after the click of the button. Secondly, if you cannot specify the file when you create the flow in Update Row action, then this flow won't work. It has to be assigned with the correct file.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
alriabdu
Level: Powered On

Re: Creating a file and editing it in one flow

Hello Mona ( @v-monli-msft ), 

 

Thank you for your response. I am aware of the powerapps limitation in regard to datasource ceration. That's why I setup my button to take the game to Flow where I was hoping I can find a solution. As for your second point, if you notice in my screenshoot, Dynamics has an option of specifying the file name and path to be created. As long as the file creation is taking part in the flow, I can always call any dynamic content created in previous steps. If I can ask you for a favor, would you please provide an example of how to use the "update row" action ? I am only confused with how the "Row ID" should look like. 

 

Thank you, 

 

AJ

 

Helpful resources

Announcements
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

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 76 members 4,529 guests
Please welcome our newest community members: