cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,925)