Skip to content

New and Fresh Private + Public Proxies Lists Everyday!

Get and Download New Proxies from NewProxyLists.com

development – Managing the metadata of Document Sets using C# and CSOM

How to manage the metadata of document sets using C#+CSOM. Any sample code is appreciated.
below is the code i tried for creating the document set.

       ....
         .....
     ContentType targetDocumentSetContentType = result.FirstOrDefault();
     ListItemCreationInformation newItemInfo = new 
     ListItemCreationInformation();
    newItemInfo.UnderlyingObjectType = 
       FileSystemObjectType.Folder;
     newItemInfo.LeafName = "Document Set1";
  //newItemInfo.FolderUrl = list.RootFolder.ServerRelativeUrl.ToString();
   ListItem newListItem = list.AddItem(newItemInfo);
     newListItem("ContentTypeId") = 
       targetDocumentSetContentType.Id.ToString();
        newListItem.Update();
        list.Update();
       clientContext.ExecuteQuery();

the above code for creation of document set, but i am stuck at how to modify the properties.

Author AdminPosted on February 21, 2021Tags csom, development, document, Managing, metadata, sets

Post navigation

Previous Previous post: Bitenix Ltd – Bitenix.io
Next Next post: ❓ASK – How can I Earn Money through my Content Creation? | NewProxyLists
New and Fresh Private + Public Proxies Lists Everyday! Proudly powered by WordPress

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123