SharePoint 2010 Tip of the day – stsadm command for activating the developer dashboard


Sharepoint2010-16-33-20

I don't think I'll be able to keep it in my memory since we only need to do it once per environment so here's the magic command as a reminder.

stsadm -o setproperty -pn developer-dashboard -pv OnDemand

Advertisements

SharePoint 2010 Tip of the day – New Profile Picture Storage (and retrieval) mechanism


Sharepoint2010-17-40-02

Unlike the 2007 edition where the picture was stored on each user "my site", they are now hosted in a central library "User Photos" under your mysite url

So in order to access this repository, just point your browser to :
http://sharepoint2010/my/User%20Photos/Forms/AllItems.aspx (adapting the computer name / domain to your needs obviously)

Like all pictures libraries, uploaded images are resized in 3 dimensions (large, medium, small) and you can access a specific picture by using the url above with something like

"http://sharepoint2010/my/User%20Photos/{0}_{1}_{2}Thumb.jpg"  where {0} is the domain name, {1} is the login name and {2} is the requested size (L, M or S).

Now I need to find a way to retrieve the my site application url (from a sandbox solution, that will be … fun !)

François

SharePoint 2010 Tip of the day : Don’t forget to do a full crawl to be able to search / find the freshly imported profiles (from your AD or other source)


People_search

I had a very hard time this morning configuring the profile synchronization in SharePoint 2010 (damn, that thing is really fragile) but now my profiles are imported correctly from Active Directory.
I used a People Core Search Result webpart in my site collection and I was unable to retrieve any profile regarding of the settings that I used … Turned out that a full crawl was needing to harvest all profiles

If someone can explain me what's behind SPS3 and the "site$$$people" stuff that have been found by the crawler, I would be more than glad to know !

Reminder : Auto logon in Windows 2008 Server


  • Click Start, and then click Run.
  • In the Open box, type Regedt32.exe, and then press ENTER.
  • Locate the following subkey in the registry:
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon
  • Double-click the DefaultUserName entry, type your user name, and then click OK.
  • Double-click the DefaultPassword entry, type your password, and then click OK.NOTE: If the DefaultPassword value does not exist, it must be added. To add the value, follow

    these steps:

    1. On the Edit menu, click New, and then point to String Value.
    2. Type DefaultPassword, and then

      press ENTER.

    3. Double-click DefaultPassword.
    4. In the Edit String dialog, type your password and then click OK.

    NOTE: If no DefaultPassword string is specified, Windows automatically

    changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), disabling the AutoAdminLogon

    feature.

  • On the Edit menu, click New, and then point to String Value.
  • Type AutoAdminLogon, and then press

    ENTER.

  • Double-click

    AutoAdminLogon.

  • In the Edit String dialog box, type 1 and then click OK.

SharePoint 2010 Tip of the day : What to do when you are unable to publish PowerPoint to a slide library ?


  • Go to Start->Administrative Tools->Server Manager
  • In Server manager Click on Features and the click Add Features
  • Select the Desktop Experience Feature and install it. Then Restart the Server (Required for installation of the feature)
  • Go to Start->Administrative Tools->Services
  • Select the Web Client Service and Start it.

Many thanks to Anshul who figured this out !