0

I am trying to set default view of Document Set programmatically using .NET CSOM but no luck. So far, I have tried below.

            var revSet = DocumentSetTemplate.GetDocumentSetTemplate(context, DocumentSetObj);

            revSet.WelcomePageFields.Add("Field1");
            revSet.AllowedContentTypes.Add(DocumentSetObj.Id);
            revSet.Update(true);
            //revSet.WelcomePageView = "View1" // I want something like this to set the view in WelcomePageView but I do not find it.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.