Unable to open any documents in SharePoint

You cannot open documents via the Office WebAccess (OWA). The documents are fine and downloading them and the opening them works just fine. If there is no other errors and you are not trying to open documents, while loggin in as a system account, assume that the OWA install works fine. You are most likely experiencing problems with workflows as well. If you try and publish workflows in SharePoint 2013 you might get errors

DateDif in SharePoint

The function for calculating the difference between two dates in a calculated column in SharePoint, without counting the weekends: =(DATEDIF([Start Date];[End Date];”D”))-INT(DATEDIF([Start Date];[End Date];”D”)/7)*2-IF((WEEKDAY([End Date])-WEEKDAY([Start Date]))<0;2;0)+1

Pop-up modal window SP2010

Code for adding pop-up links to list items and to Library items. Full Code For a List Item:  Full Code for a Library Item:  Source: http://erikswenson.blogspot.dk/2010/09/how-to-create-hyperlink-to-modal-pop-up.htm

Create link to new folder and item actions in modal window in SharePoint 2013

Create link to “New Item” <a href=”javascript:OpenPopUpPageWithTitle(‘</site/library>/_layouts/15/Upload.aspx?List={<List-GUID>}&RootFolder=&IsDlg=1′,RefreshOnDialogClose,null,null,'<Title>’);”>Add item</a> Create link to “New Folder” <a href=”javascript:OpenPopUpPageWithTitle(‘</site/library>/Forms/Upload.aspx?RootFolder=&Type=1&IsDlg=1′,RefreshOnDialogClose,null,null,'<Title>’);” >New Folder</a>

Pop-up modal window SP2013

Simple javascript command to open the dialog modal form function OpenPopUpPage(url, callback, width, height) function OpenPopUpPageWithTitle(url, callback, width, height, title) function OpenPopUpPageWithDialogOptions(dialogOptions) DialogOptions supports: Options Property Description title A string that …

Read morePop-up modal window SP2013

PowerShell – Create MySites for all users

I found this script to be the most effective for creating MySites in advance for all users. Source: http://gallery.technet.microsoft.com/office/Pre-Provision-SharePoint-ec781ee9