Tag Info

New answers tagged

0

By default each folder or SharePoint element (site, list, library etc..) will inherit permissions from its parent even if the parent broke the permissions from its own parent. So Level 2 will keep inherting permissions from Level 1, so you don't need to do any extra work for it. There is nothing wrong going in this approach. You might also consider document ...


0

Your Level 2 sub folders will automatically inherit from your Level 1 folder. It is up to you if you want to break the permission inheritance at each Level 2 subfolder. That is also possible. However, my general recommendation to clients is not to establish folder level permissions since it is very difficult to manage with the out-of-the-box interfaces in ...


2

The following method demonstrates how to resolve ClientContext by request Url: private static bool TryResolveClientContext(Uri requestUri, ref ClientContext context, ICredentials credentials) { var baseUrl = requestUri.GetLeftPart(UriPartial.Authority); for (int i = requestUri.Segments.Length; i >= 0; i--) { var path = ...


1

Ok, I solved it as follows (inspired by this post) - might be helpful for someone else... The idea is to start from the back, removing more and more tokens between '/' from the path until we find the lowest level site URL, which we then use to instantiate the correct ClientContext for the given folder url. The folder itself can then be referenced using ...


0

If someone has to validate these characters with a regex (js or C#), the following regex will work: /^([^\~|\#|\%|\&|\*|\{|\}|\\|\:|\<|\>|\?|\/|\||\"])+$/ That will be something like: "Match anything except for the following characters any number of times" (I am not very good at regexs so, please correct me if I'm wrong)


0

The folder and files are located in the Content Database. The view look similar to file system view but behind the scene there is complex interactions happening with different technologies to make documents which are not present in file systems to view-able using explorer. The data this get modified etc. will get saved back into the SharePoint Content ...


0

In the view filter properties, you can select property Folder Child Count and use that as Folder Child Count > 0



Top 50 recent answers are included