I have successfully created a flow that creates a file when a request is approved.
The problem is that the created file has no extension. It can be opened with Word, but the user has to select that application every time. I would like for the document to either open in Word or Acrobat every time without the user having to select an app to open it.
When I add .docx to the file name in the Create File action, the user gets a message that the file is corrupt and that Word cannot open it.
Thanks very much for your help on this!
Hi,
You could use an expression with the concat function.
Hi @kreed
could you find a solution to this Problem?
Would be really thankfull for a quick answer.
Best,
Hilal
That must be the issue. I don't have a premium plan and the company that I work for probably won't want to invest in one. Do you know if there is a workaround or another way?
I don't believe the File Content field within Create a File can be used to pipe in values like you have it set up. In my setup, I fill in a Word template, then use that. Is this a possibility in your use case?
When I add the extension as below, I get a new file in the OneDrive folder which looks good, but when I click on it, I get the error you see in the last two screenshots. I'm really scratching my head here--seems like I'm missing something really simple.
Seems like the issue is that you haven't included your file extension in the file name on the Create File action (easy miss!). Here's how one of my Flows looks, which generates a Word and PDF document:
Apologies--my scrolling capture is not working at the moment! Thanks very much for your help!
@kreed could you post a screenshot of your flow?
Actually, a PDF would be preferable, but I tried this and cannot open the PDF either.
Thank you--I will try it out!
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional