SharePoint 2013 move document with the versions between libraries in the same site collection.

Go to Site Settings => Content and structure => Select the document => Move

The document will be moved to the new locations with his all versions.

Advertisements
Posted in SharePoint 2013, Tips | Leave a comment

Missing values of managed metadata fields in SharePoint 2013 list email alerts.

There are missing Reader rights on the hidden list TaxonomyHiddenList.

To solve this problem just add Read rights for all authenticated users.

http://sitecollection/lists/TaxonomyHiddenList.

Posted in SharePoint 2013 | 1 Comment

Make the ribbon always visible in SharePoint 2013.

$SPWeb = Get-SPWeb http://mysharepoint/web

$SPWeb.AllProperties[“__DisplayShowHideRibbonActionId”] = $false.ToString()

$SPWeb.Update()

Posted in SharePoint 2013 | Leave a comment

Specifying WebDAV Server Url in Windows Explorer Address Bar

Using SSL   \\my.sharepoint.com@SSL\DavWWWRoot\path

Without SSL   \\my.sharepoint.com\DavWWWRoot\path

Connecting to WebDAV server on Microsoft Windows

For SharePoint 2016 on Windows 2016 enable WebDAV Publishing on the Front-end.

webdav_win_2016

Posted in SharePoint 2010, SharePoint 2013, SharePoint 2016, Tips | Leave a comment

SharePoint 2013 security trimming on pages

SharePoint 2013 security trimming on pages

Pages with webparts (XsltListViewWebPart), which are rendering libraries, are giving an error for users without access to the content they are rendering. Web Part Error: Access denied. You do not have permission to perform this action or access this resource. Correlation ID: c9d8129d-88f6-5035-3955-16a5262387ee

ErrorBrokenRights

Explanation:

Site with libraries, the libraries are with broken rights. A page is rendering those libraries with unique permissions. There are no audiences applied. In SharePoint 2010 (NTLM) the web parts were trimmed for the users without rights. In SharePoint 2013 (claims) there are showing an error.

HTML:

Error [1]

Web Part Error:
Access denied. You do not have permission to perform this action or access this resource.
Correlation ID: c364289d-d835-5035-0ea5-1e737d010f28.

First approach: create a CSS to hide the errors:

div[errorwebpart=”1″] { display:none !important; }
span[title~=”Error”]{ display:none !important; }

Second approach: create a JQuery script to hide the errors:

function hideError(){
var wikiInEditMode = document.forms[MSOWebPartPageFormName]._wikiPageMode.value;
if (wikiInEditMode != “Edit”){
$(“div[errorwebpart=’1′]”).hide();
$(“span:contains(‘Error’)”).hide();
}
}
_spBodyOnLoadFunctionNames.push(“hideError”);

Correct the apostrophes and the quotes in notepad or another editor!

Posted in SharePoint 2013 | Leave a comment