CHunky Universe of Vigourous Astonishing SHarepoint :)

Tag Archives: CA

Add links to Global Navigation in My Sites

Oliver Wirkus shows how to add links to Global Navigation in My Sites. Just go to:
Central Administration
Applicaiton Management
Manage Service Applications
User Profile Service Application
Configure Personalization Site

Shrink sharepoint database

A Sharepoint Database can become big and have unused spaces. To shrink database go to CA-> Health Analyzer:


See if there is a list item about unused space in db under the Availability. Click on Repair Automatically in the opened Modal Dialog:


Change CA port number

In order to change port number for the Central Administration site, run this cmdlet:

Set-SPCentralAdministration -Port 1337

You can set any number between 1023 and 32767 except 443.

Get all comments

If you try to get comments quantity for a url, you may wonder, why there is only quantity of the comments which the current user has posted:

public int GetNumberOfNewsPageComments
        (SPSite currentSite, string pageUrl, int max)
    var serviceContext = 
    var socialCommentManager = 
            new SocialCommentManager(serviceContext);
    var comments = socialCommentManager
            .GetComments(new Uri(pageUrl), max);            

    if (comments != null)
        return comments.Length;

    return -1;

The solution is to impersonate the SPSite object with an account who has the rights to manage social data. Give this permission to the account in CA – Application Management – Service Applications – User Profile Service.

Daniel Chronlund Cloud Tech Blog

News, tips and thoughts for Microsoft cloud fans

Вула Чăвашла

VulaCV - Чăвашла вулаттаракан сайт

Discovering SharePoint

And going crazy doing it

Bram de Jager - Architect, Speaker, Author

Microsoft 365, SharePoint and Azure

SharePoint Dragons

Nikander & Margriet on SharePoint

Mai Omar Desouki

PFE @ Microsoft

Cameron Dwyer

Office 365, SharePoint, Azure, OnePlace Solutions & Life's Other Little Wonders


Me and My doings!

Share SharePoint Points !

By Mohit Vashishtha

Jimmy Janlén "Den Scrummande Konsulten"

Erfarenheter, synpunkter och raljerande om Scrum från Jimmy Janlén

Aryan Nava

DevOps, Cloud and Blockchain Consultant


SharePoint for everyone


Ryan Dennis is a SharePoint Solution Architect with a passion for SharePoint and PowerShell

SharePoint 2020

The Vision for a Future of Clarity

Aharoni in Unicode

Treacle tarts for great justice

... And All That JS

JavaScript, Web Apps and SharePoint


Mostly what I know and share about...