2

I am dynamically building up a file that I then want to upload to SharePoint 2013 using PowerShell.

I want to upload this file into the "Forms" folder of a Document Library - So not into the Document Library itself.

I am trying to do this without creating a WSP file - Because I am dynamically creating a file, I just want to upload the resulting file I've created, rather than deploy the file as a feature.

I already have everything to create the file, but I don't know how to upload into the Forms folder for a Document Library.

Is this possible?

  • Yes, maybe you should look for network path and do a simple copy of your file (if you have rights to do it). I'm searching a link I had for this – Nico Dec 10 '14 at 15:14
  • Please refer to the post I did, and links that are provided in. It must help you, for sure. sharepoint.stackexchange.com/q/121522/17814 Just don't forget, that when you get a library in PowerShell, all folders (even subfolders) are listed in the $library.Folders . Idk if I'm understandable. – Nico Dec 10 '14 at 15:16
  • Do you mean the Forms folder (The one containing the AllItems.aspx etc.) is available to add files to, once you have a reference to the library? – Dan Harris Dec 10 '14 at 15:21
  • I cannot try right now, but as it's a folder like others (look with SharePoint Designers - All Files), I don't see any problem. – Nico Dec 10 '14 at 15:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.