Sunday, April 3, 2016

Another reason why WebDAV is just confusing

As you may know the WebDAV protocol is used when a SharePoint library is opened in explorer. I saw a strange behavior this week:

  • When a folder is created in the web view with a name starting with an underscore, the folder is hidden in explorer view.
  • When a folder is created in explorer with a name starting with an underscore, the folder is visible in explorer view.

This behavior is controlled through a small attribute in the folder property bag: vti_winfileattribs.

There is a JavaScript solution to change the attribute on my website here. I am sure there is a PowerShell solution for this problem too. Maybe someone of you guys can post this as an additional solution. I can imagine a script that scans all folders and change this attribute to avoid support requests.


by Kai Boschung via Everyone's Blog Posts - SharePoint Community

No comments:

Post a Comment