Author: techrevmarrell

SharePoint user with Full Control Permissions, can’t add Web Parts to Page on site

I had a user contact me about an issue where he was trying to add a web part to a page on the subsite that he was an owner on. When I mention Owner I mean he literally was in the owners group, and the owners group had full control permissions (literally all the check boxes selected in the Permissions Matrix). He was trying to get this to work on a subsite. Anytime the user went to add a web part the categories only showed 1 Folder (Apps) available. When I went to the page I could see a full listing of Folders Web parts etc. I was thinking it surely had to be an issue with his account. So I gave a test user the same access this user had then tested it on my machine, and sure enough I ran into the same issue.  It took a little digging and finally I realized that this user was an owner on a subsite, but a subsites web part gallery list is actually on the top level root site in the site collection. So to resolve this, you first need to Go to Site Settings, then click the “Go to top level site settings” link under the Site Collection Administration Section. Next click the “Web parts” link under the Web Designer Galleries section. The click the “Library Settings” Link...

Read More

PowerShell – Count Items in SharePoint Recycle Bin

This is a random script I put together due to a one off issue I have been having. I have a script that I use to clear items from a large list. Unfortunately it dumps these deleted items into the SharePoint Recycle bin for that site collection. Normally this wouldn’t be too big of an issue, but when I say this list is large, I really mean like it can get million items large. So what I do is use a script that deletes the items in 1000 item batches. Again, no problem until a site owner needs to find a random file that was deleted by a user and has to click through 15 pages to find it. Doesn’t make the easy task for them, so easy and quick anymore. That said I created couple lines in my batch delete script that will delete the items in the recycle bin based upon who deleted the item. And it works great, but since I had 80k items in my recycle bin, I needed a way to tell if things are really getting deleted. Since there doesn’t appear to be a item count in the UI for the recycle bin. Since I figured I may need this again, or someone somewhere may run into a similar situation, I’d just post it. So here ya go! <code> Add-PSSnapin Microsoft.SharePoint.PowerShell $spSite =...

Read More

Twitter Posts

Marrell Sanders @ MSIgnite