CHUVASH.eu

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

Advertisements

Shrink sharepoint database

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

<pre>http://takana:1337/Lists/HealthReports/AllItems.aspx</pre&gt;

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 = 
            SPServiceContext.GetContext(currentSite);
    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.

Вула Чăвашла

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

Discovering SharePoint

And going crazy doing it

Bram de Jager - Coder, Speaker, Author

Office 365, SharePoint and Azure

SharePoint Dragons

Nikander & Margriet on SharePoint

Paul J. Swider - RealActivity

RealActivity is a specialized healthcare services and solution advisory firm.

Mai Omar Desouki - Avid SharePointer

Egyptian & Vodafoner - Senior SharePoint Consultant

Cameron Dwyer | Office 365, SharePoint, Outlook, OnePlace Solutions

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

paul.tavares

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

| Blockchain | Serverless Architecture | Microservices Architecture | DevOps | AWS Lambda | Teraform |

SPJoel

SharePoint for everyone

SharePointRyan

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

blksthl

Mostly what I know about SharePoint - CommunicoCuspis