New answers tagged document-set
DocumentSetTemplate.AllowedContentTypes property returns AllowedContentTypeCollection object: public class AllowedContentTypeCollection : IEnumerable<SPContentTypeId>, IEnumerable How to iterate through [DocumentSetTemplate.AllowedContentTypes]: var ctIds = ds.ContentTypeTemplate.AllowedContentTypes; //1 foreach (SPContentTypeId ctId in ...
I was able to do this by using a workflow that copies the Doc ID to a text column if the content type is a doc set, then adds it to a variable, then copies to yet another column. From there, I share that column in the doc set settings so that any documents added to a doc set get the value (the doc ID from the document set).
Your code should work from what I can see, haven't tested it. But you use i.BreakRoleInheritance(true); , meaning it will copy all the permissions it has before breaking the inheritance (from the parent). Are you sure it does not say "This folder has unique permissions." when you check the permission of the SubFolders in the GUI?
This can be fixed by adding to your HTML masterpage such block. You can hide it with css. <!--SPM:<SharePoint:AjaxDelta id="DeltaPlaceHolderPageTitleInTitleArea" runat="server">--> <!--SPM:<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server">--> <!--SPM:</asp:ContentPlaceHolder>--> ...
If you are using Nintex for your workflows then it will allow you to loop and make a call to the web service all within the workflow. Another approach may be to run a workflow every time a document is added or edited to check the status and update the parent item? You could also embed some jQuery on the Document Set page which checked all the contained ...
Top 50 recent answers are included