Newly created Document library are not visible on sharepoint using webservices

Posted by Royson on Stack Overflow See other posts from Stack Overflow or by Royson
Published on 2010-04-16T07:40:57Z Indexed on 2010/04/16 7:43 UTC
Read the original article Hit count: 367

Filed under:
|
|
|
|

Hi,

I am able to create Document library.

Lists listService            = new Lists();
listService.PreAuthenticate  = true;
listService.Credentials      = new NetworkCredential(username,password,domain;
String url                   = "http://YourServer/SiteName/";           listService.Url              = url @ + /_vti_bin/lists.asmx";
XmlNode ndList               = listService.AddList(NewListName, "Description", 101);

It is working successfully. But Problem i am facing is:

New Document library are not visible in site. I tried with comparing Field Value of Both Visible and No-Visible Document library. Difference i found is : Visible Library (Created Manually) doesn't contain Version value. were as it it present in library which are created by this code.

Can you help me out in this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about sharepoint