SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am creating a CRM online plugin using the SharePoint web services. Both of these sites are hosted in Office 365, so I am stuck with SharePoint web services. I am trying to create new asset libraries using an existing template. I am calling AddListFromFeature, which will create the library, but it is not populated with anything from the template. If I go inside SharePoint and create a new library using the template, it works great.

If anyone knows any magic surrounding AddListFromFeature, I would love to hear it.

Anyway, because AddListFromFeature isn't working right, I am trying to manually add content types to the new library I have created. The content types exist already and I just want to associate them with the libraries I am creating. I am experimenting with UpdateListItems, but I'm not getting very far. Is this possible to do with web services?


share|improve this question
Is your existing template a custom one? – user3470 Dec 28 '12 at 8:11
Yes it is custom. – user1913954 Dec 30 '12 at 23:57

I think you want to use the ApplyContentTypeToList operation. UpdateListItems is used to update individual items in the list, not the list itself.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.