cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Dudditz
Level 8

File System Connector with Powerapps

Does anyone know if we can use the File system connector in conjuction with the Gateway within Power Apps to create a folder on an on-prem file server?  These seems possible from within Flow however when I add the connector to Power apps, fill out the infromation such as gateway, etc. the next screen simply has a browse box to select an excel file, not sure what this means and or why it's asking for an excel file.  I simply have one goal, create a folder on an on-premise file server by selecting a button.  

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: File System Connector with Powerapps

@Dudditz 

I figured it might be the case of creating a temp file in an unmade folder would do the trick.

However, from PowerApps, I believe your best step is to call a Flow that will create the file/folder and you can call that from your App.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

3 REPLIES 3
Super User
Super User

Re: File System Connector with Powerapps

@Dudditz 

PowerApps is asking you for a DataSource.  Not what you want!

This would be best done in Flow...however, I'm not aware of any function on the FileSystem connector that would create a folder.  Did you use something to do this?

Another option would be to use Flow/PowerApps to trigger a PowerShell script to run on the FileSystem to create the folder.  Essentially, you would set up a watcher on the prem side to watch a file/folder, then when your PowerApp/Flow creates a file in that location, the PowerShell would kick off to actually create the folder you need.

 

I hope that provides some fuel for thought.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Dudditz
Level 8

Re: File System Connector with Powerapps

Thanks for the feedback, I could not get this to work with only powerapps however by calling a flow and using the create file function I used a placeholder.txt file and it will create the folders I have defined where placing the file.  So basically, you can't just create folders however by deleting the file with flow it should meet my requirements.

Super User
Super User

Re: File System Connector with Powerapps

@Dudditz 

I figured it might be the case of creating a temp file in an unmade folder would do the trick.

However, from PowerApps, I believe your best step is to call a Flow that will create the file/folder and you can call that from your App.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Helpful resources

Announcements
thirdimage

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,229)