I have a Sharepoint document library with word docs named "Test 1", "Test 2", "Test 3". I also have a Sharepoint list, within this list I have items named (in the Title column) "Test 1", "Test 2", "Test 3" (The same name as the file from the document library). I would like to build a flow that when triggered (Manually), will read the document library and attach the word documents to the corresponding sharepoint list items. I think I am close but when the items attach, they don't come in as word documents and I get this icon when I download it.
Any ideas? I have attached a copy of the flow for reference.
Hi @jhardin138 ,
In the FileContent please try to add the document extension .docx.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.
Like so?
Yes, please try now.
If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.
Getting this error now, and files did not successfully attach.
Could you please share the error action and details ?
If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.
My bad, Please remove the extension it should in FileName. In your case you are using the file name with externsion right ?
If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.
May I ask you this attachment is present in Library or you are just fetching it from another List attachment ?
Instead of Get File content could you please use Get file content using path if possible ?
If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.
That made it attach as a word doc but now I am getting this error when trying to open the attachment.