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'm using Client Object model of SharePoint 2010. What is the property CustomXmlScheme in list creation? MSDN say nothing about it. It seems not working. I'm using this code:

string xml = @"
<?xml version=""1.0"" encoding=""utf-8""?>
<List xmlns:ows=""Microsoft SharePoint"" Name=""t100"" Title=""t100"" Direction=""0"" BaseType=""1"">
var list = site.Lists.Add(new ListCreationInformation
                                  CustomSchemaXml = xml, 
                                  Title = "t035", 
                                  TemplateType = (int)ListTemplateType.Links

How to make this code work? And that kind of properties i can use in CustomXmlScheme? Thanks.

share|improve this question
What is happening other than not working? What are you trying to accomplish? – Sam Sussman Jan 22 '13 at 13:42
sharepoint give me an error "Invalid list template". I'm trying set list properties like AllowDeletion and Flags, which is have't static typed field in client model. It possible to do from server OM, but is not appropriate for me :( – ulex Jan 22 '13 at 14:38

Your Answer


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

Browse other questions tagged or ask your own question.