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 agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.