In SharePoint 2010, there was a Chart Web Part that you could connect to another web part on the same page, to a list anywhere in the site collection, to an external content type, or to data from an Excel workbook. In SharePoint 2013, this does not exist OOB. However, if you copy and paste this code … Continue reading Chart Web Part – SharePoint 2013
Library
Mass Delete Empty Folders With PowerShell
If you don't feel like manually deleting empty folders, use this PowerShell script to query and delete all empty folders and subfolders. Make sure you change the $WebURL to your SharePoint site or subsite, and the $listName to your library.
Internal Column Names
Document Library Fields: Display Name Internal Name GUID Type ID ID {1d22ea11-1e32-424e-89ab-9fedbadb6ce1} Counter Content Type ID ContentTypeId {03e45e84-1992-4d42-9116-26f756012634} ContentTypeId Content Type ContentType {c042a256-787d-4a6f-8a8a-cf6ab767f12d} Text Created Created {8c06beca-0777-48f7-91c7-6da68bc07b69} DateTime Created By Author {1df5e554-ec7e-46a6-901d-d85a3881cb18} User Modified Modified {28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f} DateTime Modified By Editor {d31655d1-1d5b-4511-95a1-7a09e9b75bf2} User Has Copy Destinations _HasCopyDestinations {26d0756c-986a-48a7-af35-bf18ab85ff4a} Boolean Copy Source _CopySource {6b4e226d-3d88-4a36-808d-a129bf52bccf} Text Approval Status … Continue reading Internal Column Names
Update All List Items Using PowerShell
Scenario: You added a new column and need to update that column for every item in a list or library. Solution: Here is an example PowerShell script that can be used to update one or more columns for every single item in a list. Remember: change $WebURL to the URL of the site or subsite … Continue reading Update All List Items Using PowerShell
Hide Libraries From File Explore
Sometimes your users don't need to see every single SharePoint library when they're in file explorer. Here is a bit of PowerShell that will hide necessary libraries from file explorer. Make sure you change the URL to your SharePoint site's URL and the folder name to the library you want to hide.
Show Files & Library Tabs
Problem: You want the Files and Library tabs to be visible when you browse to a page with multiple web parts. Solution: JavaScript! Add this to a Script Editor web part on the same page. You may need to change "MSOZoneCell_WebPartWPQ2" to the web part ID of the web part you want to focus on. … Continue reading Show Files & Library Tabs
Disable Drag And Drop
This handy piece of JavaScript will disable the drag and drop function for all library web parts on a single page. Other upload options will still work. Just paste this into a Script Editor web part: