Tag: SharePoint 2013


  • SharePoint – Create a view that only shows Minor Versions

    In SharePoint it’s actually not that easy to create a view that gives you all the minor or major versions of a document library. Out of the box, it doesn’t seems like you can create a calculated field, which are using the “Version” column. But it is perfectly possible, it’s just hidden from the choice…

  • Standard SharePoint Timeout Values are set to 360 seconds (6 mins). But sometimes you can have a request for added timeout values. If for instance you have a need to upload large files on slow networks. You can set individual timeouts for all SharePoint application pages under the Layouts folder. You just need to edit…

  • I ran in to this error the other day. The reasons to why it started happening I don’t know. Symptoms 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…

  • Say you have a ton of subwebs in a sitecollection. Each web have unique permissions and unique groups. You would like to update alle membergroups to have Contribute permissions, instead of Edit permissions. If you need to update all ownergroups or visitorgroups, just change the script accordingly. You do it like this: Source: http://sharepoint.stackexchange.com/questions/70071/need-to-remove-permission-level-from-a-sharepoint-group-using-powershell

  • Insert this line at the topxmlns:ddwrt=”http://schemas.microsoft.com/WebParts/v2/DataView/runtime” That will give you a header looking like this: <xsl:stylesheet version="1.0" exclude-result-prefixes="x d xsl msxsl cmswrt" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:cmswrt="http://schemas.microsoft.com/WebParts/v3/Publishing/runtime" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt"> Then use the “ddwrt:FormatDate” to show the date i various ways: <xsl:value-of select=”ddwrt:FormatDate(@dato, 1030, 3)”/><xsl:value-of select=”ddwrt:FormatDateTime(string(@Publiceret), 1030, ‘dd. MMM. yyyy’)”/><xsl:value-of select=”ddwrt:FormatDate(string(@Dato), 1033, 7) “/> List of all…

  • I came across a need to change all existing documents in a Site Collection to another ContentType, but without changing data like, “modified by” or “modified date”. Why? I need to attach a column to all documents and it’s just not good practise to add columns to the default “Document” ContentType. I need to add…

  • If your workflows are working just fine, but you are unable to get UI-access to the workflows in SharePoint, because if this error: Sorry, something went wrong Method ‘StartWorkflowOnListItem’ in type ‘Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider’ from assembly ‘Microsoft.SharePoint.WorkflowServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ does not have an implementation. and your ULS logs gives your these errors: Application error when access…

  • [Update] I got an e-mail from Robert, who has refined the solution. Thank you for sharing Robert. Hi Ulrich,first I want to thank Ulrich for his great work and sharing it with us! I also don’t have the problem with more than 40 pictures in a picture gallery after using galleria-1.4.2.min.js and also galleria.classic.min.js from an…

  • 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>

  • To create a link manually that have the same features as the one where you click on SiteActions and then “Create New Page”, you need some Javascript and some ModalDialog functions. How to use the links the Site Actions menu, is not all that documented. I actually had to get some help in order to…

  • I’ve been messing around with the new Design Manager in SharePoint 2013 lately in an effort to see if I could brand SharePoint the way Microsoft tells me, is the new black. So I created a design package and then deployed that package onto my test site. That went well. Then I would see if…