cancel
Showing results for 
Search instead for 
Did you mean: 

Support for Creating Documents Based on Content Type Through Create Item Action (SharePoint)

Creating a document based on a content type is an easy way to generate dynamic documents within a library.  Currently when I try to create a document in a library I get the following error:

 

"status": 502, "message": "To add an item to a document library, use SPFileCollection.Add()

 

This capability would be useful when wanting to create templatized documents with some parts of the document filled in based on the properties of the item.  Think NDAs, invoices, employment agreements etc...

Status: New