By default, workflows will not auto start for attachments sent to a library via email. To enable this functionality, run the following PowerShell script on your SharePoint server. Next, make sure your workflow is configured to start automatically when an item is created.
Custom XSL Web Part Error – Access Denied
Scenario: I created a custom XSL style sheet for a library web part that would intermittently throw an error for everyone except the admin account (me). Every morning users were complaining about an error on the web part. I would sign in and try to replicate, but it always worked for me. Then when I'd … Continue reading Custom XSL Web Part Error – Access Denied
Chart Web Part – SharePoint 2013
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
Working Around Low Disk Space During A Full Crawl
TIL that space is released when you pause a crawl! Backstory: We decided to re-index our SharePoint site due to spotty search results, and learned the hard way that we didn't have enough space to run a full crawl. Adding space wasn't an option and I had to get the search working again or else face … Continue reading Working Around Low Disk Space During A Full Crawl
Recent Crawl/Query Rates Incorrectly Show 0.00 Items Per Second
Problem: "Recent crawl rate" and "Recent query rate" statistics incorrectly show 0.00 items per second on the Search Administration page. Confirmed the crawl rate from the Crawl Health Reports page. Confirmed that the number of searchable items was increasing. Found a TON of update conflict errors (event ID 6398 and 6482) in the Application event … Continue reading Recent Crawl/Query Rates Incorrectly Show 0.00 Items Per Second
Link To New Item Form
Give users the ability to add items to a list without showing the entire list web part. In my example, I've added a "Submit Request" button to a Document Set Welcome Page. Clicking this will open the New Item form for my Tickets list. Steps: 1. Add a Script Editor web part to your page. 2. … Continue reading Link To New Item Form
Edit Form Popup – Drag And Drop
By default, the edit form does not pop up when you drag and drop documents into a library. This piece of JavaScript will force an edit form to pop up for as many documents you drag and drop. For example, if you drag 5 documents at the same time, 5 individual edit forms will pop … Continue reading Edit Form Popup – Drag And Drop
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.
Library Paging – First Page Button
Adding a "First Page" button is a simple work around for getting back to the first page when paging through documents. This is especially handy if you use document sets. Edit the page and add a Script Editor web part. Click EDIT SNIPPET. Embed the following code: I moved the Script Editor web part down below the … Continue reading Library Paging – First Page Button
Drop-Down Menu Of Links
To add a drop-down menu populated by links to other parts of your site, add a Script Editor Web Part and embed the following code: Make sure you replace the URL with your site's URL, and change the option values to the names of your pages. The text between the option tag is the title of the page … Continue reading Drop-Down Menu Of Links