1
vote
1answer
921 views

Programmatically create a new document based on a content type template

As in the title, I need to programmatically create a new document based on a content type template. Does anyone know the best way to do this? Normally, to add files you use Web.Files.Add(), but all ...
0
votes
1answer
277 views

If properties.Afterproperties[“ContentType”] is null, is it safe to assume that the item is a document?

I need to add a specific behavior in the ItemAdding event when the item added is a document, but I noticed that when using the "Upload document" or the "Upload Multiple Documents" features in ...
0
votes
1answer
462 views

Deploy document library with multiple content type

I have a Document Library definition that I added to the solution. I want to include multiple content types for this Document Library: one that inherits from Folder and one that inherits from ...
1
vote
1answer
1k views

Creating a new ContentType with Document as base using Client Object Model

It would appear that the Client Object Model only retrieves user-defined content types as part of the ContentTypes property for a given web. I would like to create a new content type using Document as ...
0
votes
2answers
347 views

What to put onto sharepoint?

I am employed by a medium size company in financial the area with approx 10 areas.. Compliance, IT, Sales.. I've built around 14 subsites to allow document storage and each subsite has 6 indentical ...
2
votes
2answers
837 views

Best way to copy content from one SharePoint instance to another?

I need to migrate approximately 20k documents from one SharePoint instance to another. These documents are broken up into about 6 content types in the source instance and will be going into 4 ...