The document library option is part of the Team Collaboration Lists feature, if it’s not showing, try activating the feature again.
Author: Admin
To debug a Sharepoint timer job
Deploy the timerjob.
Open Services and restart the Sharepoint Timer Service.
In Visual Studio, attach to OWSTimer.exe
Set break point and debug as usual
Change email to HTML
In Outlook, to change the formatting of email, in the ribbon go to “Format Text”, under “Format” click either “HTML”, “Plain Text” or “Rich Text”
Generate connection string
Extend a Sharepoint web app to another port
You can extend existing Sharepoint web application to another application on another port. A new IIS site will be created for the new web application.
Go to Central Admin, select manage web applications, select the web app you want to extend and click “Extend” on the ribbon.
Error Occurred in Deployment step ‘Recycle IIS Application Pool’
When a page cannot be edited in edit mode
add “?controlmode=edit” to the URL to resolve
scroll using pure javascript
To scroll down to an element in the page. The best way is to use function scrollIntoView
Pure javascript
var theElement = document.getElementById(‘yourElementId’);
theElement.scrollIntoView();
Using jquery to select element:
$(SELECTOR)[0].scrollIntoView();
Productivity tools
Kanban board
The offline tool I’m currently using http://greggigon.github.io/my-personal-kanban/ . Simple, fast and easy to use. Just create an IIS web application and put this inside. Make sure to export and backup data regularly.
Time tracking
Time tracker at http://0xff.net/site/index.php/timetracker/downloads/ seems to have a really great UI and easy to use with automatic tracking with reports and ability to export.
Check if a variable is undefined in javascript
if(typeof variable_here === 'undefined'){ // your code here. };