Hello all,
When I use the Manually trigger a flow button to get a file that should follow a approval process i cannot get the file extension (it gets lost) to save this file in any service (Sharepoint, google drive, gmail, outlook, etc). I found some workarounds when the file is loaded from sharepoint services but they didn't work when i get the file from "manually trigger a flow button". Does anyone know how to solve this?
Solved! Go to Solution.
The o365dude has a solution posted here:
https://www.o365dude.com/2017/10/15/new-flow-button-inputs-available/
Basically anywhere you need the file name (which is what I needed) of a Manual Triggered Flow Button, use this expression:
Hi @ adanl,
Could you please share a full screenshot with details of the configuration of your flow?
Have you add a text with the file name in the "Manually trigger a flow"?
What are you want to do with the file extension?
If you use the trigger "Manually trigger a flow" in your flow, you need to enter the file name with expression manually after you choose the file, please refer to screenshot below:
If you would like the "manually trigger a flow" trigger could return the file name automatically without enter the file name manually,
I afraid that there is no way to achieve your needs in Microsoft Flow currently.
If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Regards,
Alice Zhang
Thank you Alice!
The thing is that the name of the file is created and saved into googledrive and sharepoint depending on other variables (date + projectname + id, example: "20180323 Bridge Construction A34.pdf"), so what i need is to preserve the original extension of the file without asking explicit the file extension to the user. Can you help me with this? I've tried to put directly the name of the file attached as a name but i loose the extension. The extension seems to have to be added explicit.
Another question is why when i run my flow from the mobile i cannot upload other files than images (pdf, docx, etc). From PC i can upload any file. Is it restricted for some reason on mobiles?
The o365dude has a solution posted here:
https://www.o365dude.com/2017/10/15/new-flow-button-inputs-available/
Basically anywhere you need the file name (which is what I needed) of a Manual Triggered Flow Button, use this expression:
JSteige this was exactly what i needed. It worked excellent
Thank you so much!
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
15 | |
10 | |
3 | |
3 | |
3 |